Saving velocities and forces for a subset of the trajectory

GROMACS version: 2021
GROMACS modification: No

I am trying to run a simulation of a polymer in water and to save disk space, I would like to write the positions, velocities, and forces of only the polymer atoms. i.e. I don’t want to save the information for the water molecules.

I know that I can define a group in my index file and use “compressed-x-grps” to output the coordinates of a subset of the atoms to the xtc file. Is there an equivalent command to select what to output to the trr?

The obvious workaround is to write the full trr and then use trjconv to remove the water. However I would like to avoid this to avoid writing enormous trajectories at all, if possible.

There is no analogous feature for .trr files.