The trajectory history files (xxxxxxxx.iceberg_trajectories.nc.000x) are not combining because they do not have the "NumFilesInSet" attribute, which should equal the number of parallel i/o iceberg trajectory files that are written. This attribute needs to be added so that the recombine script (FRE-NC tools iceberg_comb.sh) detects the trajectory files as iceberg files that need recombining.
This issue was previously raised in the FRE-NC tools repository: NOAA-GFDL/FRE-NCtools#360, but it was determined that the easiest solution was to fix it within the icebergs component directly.
The trajectory history files (xxxxxxxx.iceberg_trajectories.nc.000x) are not combining because they do not have the "NumFilesInSet" attribute, which should equal the number of parallel i/o iceberg trajectory files that are written. This attribute needs to be added so that the recombine script (FRE-NC tools
iceberg_comb.sh) detects the trajectory files as iceberg files that need recombining.This issue was previously raised in the FRE-NC tools repository: NOAA-GFDL/FRE-NCtools#360, but it was determined that the easiest solution was to fix it within the icebergs component directly.