New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 13835 for NEMO/branches/2020/dev_r13648_ASINTER-04_laurent_bulk_ice/tests/STATION_ASF/EXPREF/launch_sasf.sh – NEMO

Ignore:
Timestamp:
2020-11-19T19:48:58+01:00 (3 years ago)
Author:
laurent
Message:

Improvment of STATION_ASF over sea-ice...

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  
    1919#     => SFORC: string sufficient to copy relevant files as in "*${SFORC}*.nc" 
    2020#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 
     22FORCING="ERA5_NorthGreenland" ; i_sea_ice=1 ; SFORC="ERA5_NorthGreenland_surface_84N_-36E_1h" ; # WITH ice/air flux computation 
    2223#FORCING="ERA5_arctic" ; i_sea_ice=0 ; SFORC="ERA5_arctic_surface_81N_36p75E_1h" ; # "ERA5_arctic" WITHOUT ice/air flux computation 
    2324 
     
    7677 
    7778# Ok things are a bit different whether we compute fluxes over open ocean only or open ocean + sea-ice 
     79 
     80DIR_F=`echo ${FORCING} | cut -d'_' -f1` ; # "ERA5_blabla" => "ERA5" ! 
     81 
    7882if [ ${i_sea_ice} -eq 1 ]; then 
    7983    # OPEN-OCEAN/AIR + SEA-ICE/AIR flux computation 
     
    8185    LIST_OA_ALGOS="ECMWF" ;          # list of air-sea algorithms to test 
    8286    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... 
    8488else 
    8589    # Only OPEN-OCEAN/AIR flux computation 
    8690    LIST_OA_ALGOS="NCAR ECMWF COARE3p6 ANDREAS"; # list of air-sea algorithms to test 
    8791    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; fi 
     92    DIR_NL=${DIR_F}/oce ; # where to fetch the namelists from... 
     93fi 
     94if [ ! -d ${DIR_NL} ]; then echo " Mhhh, ${DIR_NL} not found !"; exit; fi 
    9195 
    9296 
     
    124128 
    125129rsync -avP ${NEMO_EXE}          ${PROD_DIR}/ 
    126 ln -sf     ${NEMO_EXE}          ${PROD_DIR}/nemo.exe.lnk 
     130ln -sf      ${NEMO_EXE}          ${PROD_DIR}/nemo.exe.lnk 
    127131 
    128132 
     
    158162\ls -l ${DATA_IN_DIR}/*${SFORC}*.nc 
    159163echo 
    160 rsync -avP ${DATA_IN_DIR}/*${SFORC}*.nc ${PROD_DIR}/ 
     164rsync -avPL ${DATA_IN_DIR}/*${SFORC}*.nc ${PROD_DIR}/ 
    161165echo; echo 
    162166 
     
    188192         
    189193        # 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 
    191197        rsync -avPL ${CFGS_SHARED}/namelist_ref                    ${PROD_DIR}/namelist_ref 
    192198        if [ ${i_sea_ice} -eq 1 ]; then 
Note: See TracChangeset for help on using the changeset viewer.