diff --git a/config.yaml b/config.yaml index 06483e0..fc3bb76 100644 --- a/config.yaml +++ b/config.yaml @@ -168,4 +168,4 @@ userscripts: # Apply land use changes after each run run: ./scripts/update_landuse_driver.sh -# postscript: +postscript: -v PAYU_CURRENT_OUTPUT_DIR,PROJECT -lstorage=${PBS_NCI_STORAGE} ./scripts/NetCDF-conversion/UM_conversion_job.sh diff --git a/scripts/NetCDF-conversion/UM_conversion_job.sh b/scripts/NetCDF-conversion/UM_conversion_job.sh new file mode 100755 index 0000000..2cae46a --- /dev/null +++ b/scripts/NetCDF-conversion/UM_conversion_job.sh @@ -0,0 +1,15 @@ +#!/bin/bash +#PBS -l ncpus=1 +#PBS -l mem=20GB +#PBS -l jobfs=0GB +#PBS -q normal +#PBS -l walltime=00:40:00 +#PBS -l wd + +module use /g/data/vk83/modules +module load payu + +# Command below calls https://github.com/ACCESS-NRI/um2nc-standalone/blob/main/umpost/conversion_driver_esm1p5.py +# By default UM atmosphere fields files are deleted after conversion to save space. +# Remove --delete-ff command line option to retain original files for testing purposes +esm1p5_convert_nc $PAYU_CURRENT_OUTPUT_DIR --delete-ff