From 11949b5d178f51993f4c963d7abf1f5709f59553 Mon Sep 17 00:00:00 2001 From: jpolton <jelt@noc.ac.uk> Date: Fri, 26 Apr 2019 20:51:04 +0100 Subject: [PATCH] update/add SBC scripts --- SCRIPTS/make_SBC.sh | 22 ++++++++++++++++++++++ SCRIPTS/make_SBC_weights.sh | 16 ++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100755 SCRIPTS/make_SBC.sh create mode 100755 SCRIPTS/make_SBC_weights.sh diff --git a/SCRIPTS/make_SBC.sh b/SCRIPTS/make_SBC.sh new file mode 100755 index 0000000..5c16c77 --- /dev/null +++ b/SCRIPTS/make_SBC.sh @@ -0,0 +1,22 @@ +module load anaconda/2.1.0 +module load nco/gcc/4.4.2.ncwa + +echo " nco/gcc/4.4.2.ncwa ?" +echo " anaconda/2.1.0 ? " + +echo "Have a quick check to see if the modules which preceed this message" +echo "are in the list given subsequent to this message" + +module list + + +. cut_mask.sh + + + +python Generate_NEMO_Forcing.py +python python_mask.py + + + +mv ERA5_LSM.nc FORCING diff --git a/SCRIPTS/make_SBC_weights.sh b/SCRIPTS/make_SBC_weights.sh new file mode 100755 index 0000000..d1574ae --- /dev/null +++ b/SCRIPTS/make_SBC_weights.sh @@ -0,0 +1,16 @@ +cd $SBC/FORCING + +cp $GFILE/SURFACE_FORCING/namelist_reshape_bicubic_atmos . +cp $GFILE/SURFACE_FORCING/namelist_reshape_bilin_atmos . +cp $DOMAIN/coordinates.nc . + + +$TDIR/WEIGHTS/scripgrid.exe namelist_reshape_bilin_atmos +$TDIR/WEIGHTS/scrip.exe namelist_reshape_bilin_atmos +$TDIR/WEIGHTS/scripshape.exe namelist_reshape_bilin_atmos + +$TDIR/WEIGHTS/scripgrid.exe namelist_reshape_bicubic_atmos +$TDIR/WEIGHTS/scrip.exe namelist_reshape_bicubic_atmos +$TDIR/WEIGHTS/scripshape.exe namelist_reshape_bicubic_atmos + +cd $WDIR -- GitLab