Changeset 13835 for NEMO/branches/2020/dev_r13648_ASINTER-04_laurent_bulk_ice/tests/STATION_ASF/EXPREF/launch_sasf.sh
- Timestamp:
- 2020-11-19T19:48:58+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r13648_ASINTER-04_laurent_bulk_ice/tests/STATION_ASF/EXPREF/launch_sasf.sh
r13830 r13835 19 19 # => SFORC: string sufficient to copy relevant files as in "*${SFORC}*.nc" 20 20 #FORCING="PAPA" ; i_sea_ice=0 ; SFORC="Station_PAPA_50N-145W" 21 FORCING="ERA5_arctic" ; i_sea_ice=1 ; SFORC="ERA5_arctic_surface_81N_36p75E_1h" ; # "ERA5_arctic" WITH ice/air flux computation 21 #FORCING="ERA5_arctic" ; i_sea_ice=1 ; SFORC="ERA5_arctic_surface_81N_36p75E_1h" ; # "ERA5_arctic" WITH ice/air flux computation 22 FORCING="ERA5_NorthGreenland" ; i_sea_ice=1 ; SFORC="ERA5_NorthGreenland_surface_84N_-36E_1h" ; # WITH ice/air flux computation 22 23 #FORCING="ERA5_arctic" ; i_sea_ice=0 ; SFORC="ERA5_arctic_surface_81N_36p75E_1h" ; # "ERA5_arctic" WITHOUT ice/air flux computation 23 24 … … 76 77 77 78 # Ok things are a bit different whether we compute fluxes over open ocean only or open ocean + sea-ice 79 80 DIR_F=`echo ${FORCING} | cut -d'_' -f1` ; # "ERA5_blabla" => "ERA5" ! 81 78 82 if [ ${i_sea_ice} -eq 1 ]; then 79 83 # OPEN-OCEAN/AIR + SEA-ICE/AIR flux computation … … 81 85 LIST_OA_ALGOS="ECMWF" ; # list of air-sea algorithms to test 82 86 LIST_IA_ALGOS="AN05 LG15 LU12 CSTC" ; # list of air-ice algorithms to test 83 DIR_NL=${ FORCING}/oce+ice ; # where to fetch the namelists from...87 DIR_NL=${DIR_F}/oce+ice ; # where to fetch the namelists from... 84 88 else 85 89 # Only OPEN-OCEAN/AIR flux computation 86 90 LIST_OA_ALGOS="NCAR ECMWF COARE3p6 ANDREAS"; # list of air-sea algorithms to test 87 91 LIST_IA_ALGOS="" 88 DIR_NL=${ FORCING}/oce ; # where to fetch the namelists from...89 fi 90 if [ ! -d ${DIR_NL} ]; then echo " Mhhh, seems like forcing ${FORCING} is not meant to be used with sea-ice/air flux computation!"; exit; fi92 DIR_NL=${DIR_F}/oce ; # where to fetch the namelists from... 93 fi 94 if [ ! -d ${DIR_NL} ]; then echo " Mhhh, ${DIR_NL} not found !"; exit; fi 91 95 92 96 … … 124 128 125 129 rsync -avP ${NEMO_EXE} ${PROD_DIR}/ 126 ln -sf ${NEMO_EXE} ${PROD_DIR}/nemo.exe.lnk130 ln -sf ${NEMO_EXE} ${PROD_DIR}/nemo.exe.lnk 127 131 128 132 … … 158 162 \ls -l ${DATA_IN_DIR}/*${SFORC}*.nc 159 163 echo 160 rsync -avP ${DATA_IN_DIR}/*${SFORC}*.nc ${PROD_DIR}/164 rsync -avPL ${DATA_IN_DIR}/*${SFORC}*.nc ${PROD_DIR}/ 161 165 echo; echo 162 166 … … 188 192 189 193 # The namelists: 190 rsync -avPL ${SASF_EXPREF}/${DIR_NL}/namelist_${scase}_cfg ${PROD_DIR}/namelist_cfg 194 #rsync -avPL ${fnml} ${PROD_DIR}/namelist_cfg 195 sed -e "s|<FORCING>|${FORCING}|g" -e "s|<SFORC>|${SFORC}|g" ${fnml} > ${PROD_DIR}/namelist_cfg 196 191 197 rsync -avPL ${CFGS_SHARED}/namelist_ref ${PROD_DIR}/namelist_ref 192 198 if [ ${i_sea_ice} -eq 1 ]; then
Note: See TracChangeset
for help on using the changeset viewer.