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 13682 for NEMO/branches/2020/dev_r13648_ASINTER-04_laurent_bulk_ice/tests/STATION_ASF/EXPREF/sbcblk_sanity_check.sh – NEMO

Ignore:
Timestamp:
2020-10-27T17:12:39+01:00 (3 years ago)
Author:
laurent
Message:

Still improving the oce+ice capable STATION_ASF...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r13648_ASINTER-04_laurent_bulk_ice/tests/STATION_ASF/EXPREF/sbcblk_sanity_check.sh

    r13676 r13682  
    2525 
    2626# Root directory NEMOGCM reference depository where to fetch compiled STATION_ASF nemo.exe + default namelists: 
    27 NEMO_REF_DIR="/home/laurent/DEV/NEMO/NEMOGCM_dev_r13648_ASINTER-04_laurent_bulk_ice" 
     27NEMO_REF_DIR="`dirname ${PWD} | sed -e 's|/tests/STATION_ASF||g'`" ; # that should normally do the trick! 
    2828 
    2929# NEMOGCM root directory where to fetch compiled STATION_ASF nemo.exe: 
     
    4141############################################################################################# 
    4242i_sea_ice=0 ; # default does not compute fluxes over sea-ice 
    43 NFORC="IDEALIZED" ; i_sea_ice=0 ; FORC="input_output_VALIDATION_IDEALIZED.nc" 
     43NFORC="IDEALIZED" ; i_sea_ice=0 ; FORC="input_output_VALIDATION_IDEALIZED.nc" ; # for now the sanity test does not test ice-atmo bulk parameterizations 
    4444 
    4545 
     
    4747 
    4848#================================================================================ 
     49 
     50# Should the `analyze_output.py` script provide more output ??? 
     51cmore="" 
     52if [ "$1" != "" ]; then 
     53    if [ "$1" = "more" ]; then 
     54        cmore="m" 
     55    else 
     56        echo "Only 'more' is accepted as argument for script `basename $0` !" 
     57        exit 
     58    fi 
     59fi 
     60 
     61 
    4962 
    5063rm -f SBCBLK.success SBCBLK.fail 
     
    191204 
    192205cd ${HERE} 
    193 python3 ./analyze_output.py ${DATA_IN_DIR}/${FORC} ${PROD_DIR}/output 
    194  
    195  
     206python3 ./analyze_output.py ${DATA_IN_DIR}/${FORC} ${PROD_DIR}/output ${cmore} 
     207 
     208 
Note: See TracChangeset for help on using the changeset viewer.