Running AMIP configuration without land use from pre-industrial restart
@RachelLaw following the stand up I’ve tried running the AMIP configuration from a pre-industrial restart, with land use change switched off.
Based on some earlier advice from @MartinDix, the following steps were needed to cut out the coupling fields and set the date from the PI restart, using /scratch/p66/jxs599/access-esm/archive/AprilSpinUp-AprilSpinUp-56aae814/restart942/
as an example.
Prepare the restart file:
cp -r /scratch/p66/jxs599/access-esm/archive/AprilSpinUp-AprilSpinUp-56aae814/restart942 <new-restart-location>
rm -r <new-restart-location>/ocean
rm -r <new-restart-location>/ice
rm -r <new-restart-location>/coupler
# Remove extra coupling fields from restart
module use ~access/modules
module load pythonlib/umfile_utils/access_cm2
python ~access/apps/pythonlib/umfile_utils/access_cm2/um_fields_subset.py -x 95,171,172,173,174,176,177,178,179,180,181,184,185,186,187,188,189,192,250,413,414,415,416,33001,33002 -i <new-restart-path>/atmosphere/restart_dump.astart -o <new-restart-path>/atmosphere/newrestart
rm <new-restart-path>/atmosphere/restart_dump.astart
mv <new-restart-path>/atmosphere/newrestart <new-restart-path>/atmosphere/restart_dump.astart
# Update the date in the restart file
python ~access/apps/pythonlib/umfile_utils/access_cm2/change_dump_date.py <new-restart-path>/atmosphere/restart_dump.astart <<< "1978 1 1"
# Update the date in the calendar file
sed -i "s/end_date:.*/end_date: 1978-01-01 00:00:00/" <new-restart-path>/atmosphere/um.res.yaml
Prepare the configuration:
payu clone https://github.com/ACCESS-NRI/access-esm1.6-configs -B dev-amip -b <new-branch-name> <control-directory>
In <control-directory>/config.yaml
replace the restart path with the path to <new-restart>
. Also switch off the land use change by commenting out the lines:
userscripts:
# Apply land use changes after each run
run: ./scripts/update_landuse_driver.sh
Would l_luc
also need to be set to false in the cable namelist?
Let me know if you run into any issues!