Ignore:
Timestamp:
04/02/24 16:03:34 (3 months ago)
Author:
jgipsl
Message:

Updated script to be used for new version PCMDI-AMIP-1-1-9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/AMIP/prepare_amip_original.sh

    r6059 r6788  
    22set -vx 
    33 
    4 # Script that prepares the PCMDI-AMIP-1-1-7 files to be read by ce0l in LMDZ.  
    5 # These new files are stored in IGCM/ATM/LIMIT/AMIP.v20220201/original 
     4# 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 
    66# and can be used to produce limit.nc files on model grid. 
    77# The input files from input4MIPs should be copied before launching this script. See comments in section 0). 
    88# 
    99# 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. 
    1011# Done by J. Ghattas, 2020/03/03 
    1112 
     
    1415 
    1516# 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.nc 
    17 #/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.nc 
     17#/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 
    1819 
    1920# 1) Split files to yearly files 
    2021cd $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_ 
     22cdo splityear tosbcs_input4MIPs_SSTsAndSeaIce_CMIP_PCMDI-AMIP-1-1-9_gn_187001-202212.nc      amipbc_sst_360x180_ 
     23cdo splityear siconcbcs_input4MIPs_SSTsAndSeaIce_CMIP_PCMDI-AMIP-1-1-9_gn_187001-202212.nc   amipbc_sic_360x180_ 
    2324 
    2425 
     
    2829 
    2930Date_Begin=1870 
    30 Date_End=2021 
     31Date_End=2022 
    3132year=${Date_Begin} 
    3233while [ ${year} -le ${Date_End} ] ; do 
Note: See TracChangeset for help on using the changeset viewer.