I’ve run into this issue with both ACCESS-AM3 (although this was some months ago now- using a prototype suite Is there an ACCESS-AM3 prototype available?) and ACCESS-AM2, where the retrieve_ozone and redistribute_ozone steps fail when cycling to a new year, so thought I would make a post about it.
Currently I’m doing AM2 runs with suite u-dr943, and at retrieve_ozone I got this error from not being able to access these python scripts:
I did find scripts (um_fields_subset.py and um2netcdf_iris.py) in the access directory here /g/data/access/projects/access/apps/pythonlib/umfile_utils/cmip6/, (which I assume are the same?) and so i changed retrieve_ozone.sh to match these file paths. This has fixed the permission error, but now I have an issue with the retrieve_ozone step.
I found that um_fields_subset.py successfully creates a subset of the monthly outputs of tropopause and density data. However the .nc files moved into the output directory byum2netcdf_iris.py appear empty.
I’ve tried to use a different script I have which converts UM output files to netcdf using '/g/data/access/projects/access/apps/pythonlib/umfile_utils/cmip6/um2netcdf4.py', and using those files for the next cylc task redistribute_ozone, but so far haven’t been successful (errors tracing back to redistribute_ozone.py).
So I guess my main question is whether I am using the right files ('/g/data/access/projects/access/apps/pythonlib/umfile_utils/cmip6/um_fields_subset.py' and '/g/data/access/projects/access/apps/pythonlib/umfile_utils/cmip6/um2netcdf_iris.py' for the retrieve_ozone task); and whether anyone else has come across this/has any ideas.
Just giving an update - I was able to get the OZONE task to succeed, but not very elegantly.
I manually created .nc monthly output files with tropopause and density variables from the last year (the retrieve_ozone task succeeded but created empty files..)
adjusted the metadata for the variables
edited the redistribute_ozone.py script in redistribute_ozone task to be able to load the files I made without metadata throwing errors (iris)
Thanks Paul!
I’ll see if retrieve_ozone works with the python files from https://github.com/ACCESS-NRI/umfile_utils