Skip to content

Commit

Permalink
Merge pull request #65 from ACCESS-NRI/59-historical-add-nc-conversion
Browse files Browse the repository at this point in the history
Add netcdf conversion script to historical config
  • Loading branch information
blimlim authored Aug 23, 2024
2 parents 110e2bc + 73f7253 commit 0f5fed4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
15 changes: 15 additions & 0 deletions scripts/NetCDF-conversion/UM_conversion_job.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0f5fed4

Please sign in to comment.