Changeset 6788 for TOOLS/AMIP/prepare_amip_original.sh
- Timestamp:
- 04/02/24 16:03:34 (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/AMIP/prepare_amip_original.sh
r6059 r6788 2 2 set -vx 3 3 4 # Script that prepares the PCMDI-AMIP-1-1- 7files to be read by ce0l in LMDZ.5 # These new files are stored in IGCM/ATM/LIMIT/AMIP.v202 20201/original4 # Script that prepares the PCMDI-AMIP-1-1-9 files to be read by ce0l in LMDZ. 5 # These new files are stored in IGCM/ATM/LIMIT/AMIP.v20230512/original 6 6 # and can be used to produce limit.nc files on model grid. 7 7 # The input files from input4MIPs should be copied before launching this script. See comments in section 0). 8 8 # 9 9 # Use previous revision 5011 of this script for preparing version PCMDI-AMIP-1-1-6 files. 10 # Use previous revision 6059 of this script for preparing version PCMDI-AMIP-1-1-7 files. 10 11 # Done by J. Ghattas, 2020/03/03 11 12 … … 14 15 15 16 # 0) Copy original files from ciclad Input4MIPS and save in $dirold 16 #/bdd/input4MIPs/CMIP6 /CMIP/PCMDI/PCMDI-AMIP-1-1-7/ocean/mon/tosbcs/gn/v20220201/tosbcs_input4MIPs_SSTsAndSeaIce_CMIP_PCMDI-AMIP-1-1-7_gn_187001-202106.nc17 #/bdd/input4MIPs/CMIP6 /CMIP/PCMDI/PCMDI-AMIP-1-1-7/seaIce/mon/siconcbcs/gn/v20220201/siconcbcs_input4MIPs_SSTsAndSeaIce_CMIP_PCMDI-AMIP-1-1-7_gn_187001-202106.nc17 #/bdd/input4MIPs/CMIP6Plus/CMIP/PCMDI/PCMDI-AMIP-1-1-9/ocean/mon/tosbcs/gn/v20230512/tosbcs_input4MIPs_SSTsAndSeaIce_CMIP_PCMDI-AMIP-1-1-9_gn_187001-202212.nc 18 #/bdd/input4MIPs/CMIP6Plus/CMIP/PCMDI/PCMDI-AMIP-1-1-9/seaIce/mon/siconcbcs/gn/v20230512/siconcbcs_input4MIPs_SSTsAndSeaIce_CMIP_PCMDI-AMIP-1-1-9_gn_187001-202212.nc 18 19 19 20 # 1) Split files to yearly files 20 21 cd $dirold 21 cdo splityear tosbcs_input4MIPs_SSTsAndSeaIce_CMIP_PCMDI-AMIP-1-1- 7_gn_187001-202106.nc amipbc_sst_360x180_22 cdo splityear siconcbcs_input4MIPs_SSTsAndSeaIce_CMIP_PCMDI-AMIP-1-1- 7_gn_187001-202106.nc amipbc_sic_360x180_22 cdo splityear tosbcs_input4MIPs_SSTsAndSeaIce_CMIP_PCMDI-AMIP-1-1-9_gn_187001-202212.nc amipbc_sst_360x180_ 23 cdo splityear siconcbcs_input4MIPs_SSTsAndSeaIce_CMIP_PCMDI-AMIP-1-1-9_gn_187001-202212.nc amipbc_sic_360x180_ 23 24 24 25 … … 28 29 29 30 Date_Begin=1870 30 Date_End=202 131 Date_End=2022 31 32 year=${Date_Begin} 32 33 while [ ${year} -le ${Date_End} ] ; do
Note: See TracChangeset
for help on using the changeset viewer.