- 
                Notifications
    You must be signed in to change notification settings 
- Fork 28
Description
The NetCDF conversion script for ESM1.5 will be run as an archive stage userscript, where it is submitted to the queue as a PBS job to avoid holding up the simulation. If syncing is enabled in config.yaml, there's no guarantee that the conversion job will be finished by the time the syncing job is run. E.g. testing several month long simulations with syncing enabled, some month's NetCDF files were not all copied over to the syncing directory:
<sync-dir>/output000/atmosphere/NetCDF:
aiihca.paa1jan.nc  aiihca.pea1jan.nc  aiihca.pga1jan.nc
<sync-dir>/output005/atmosphere/NetCDF:
aiihca.pea1jun.nc
From what I can understand, the collation step gets around a similar issue by calling the sync step from within the collation job:
payu/payu/subcommands/collate_cmd.py
Lines 110 to 112 in 2391485
| expt = Experiment(lab) | |
| expt.collate() | |
| expt.postprocess() | 
and but a similar approach might not be possible with the external conversion userscript. Just flagging this now so that we can discuss ideas to handle this.