modify_netcdf_metadata taskImportant: This script was written to fix the specific diagnostics being written by the EPOC workflows, and it is not applicable to other configurations. Any changes to the model setup, resolution, diagnostic output etc could require rewriting this code.
Sometimes the modify_netcdf_metadata task will fail with a timeout or out-of-memory error.
You need to check what state the task left the files in, and possibly take some action. Do not just re-trigger.
It fixes the metadata for netCDF files written by XIOS.
The code is contained in the suite under app/modify_netcdf_metadata/bin.
Loops over files, using filename pattern matching to categorise (modify_netcdf.py)
ice.py)ocean.py)heights.py):
_being_worked_on)_TESTZ)Try to work out what was happening when the code stopped, by looking at the code and job.out file.
In particular look out for backup files.
_being_worked_on a full and complete copy of the original?
diff <(ncdump -c dw850a_mon_u_197101-197101.nc_being_worked_on) <(ncdump -c ../19720101T0000Z/dw850a_mon_u_197201-197201.nc)