- Timestamp:
- 2020-09-29T12:41:06+02:00 (4 years ago)
- Location:
- NEMO/branches/2020/r12377_ticket2386
- Files:
-
- 9 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/r12377_ticket2386
- Property svn:externals
-
old new 3 3 ^/utils/build/mk@HEAD mk 4 4 ^/utils/tools@HEAD tools 5 ^/vendors/AGRIF/dev @HEADext/AGRIF5 ^/vendors/AGRIF/dev_r12970_AGRIF_CMEMS ext/AGRIF 6 6 ^/vendors/FCM@HEAD ext/FCM 7 7 ^/vendors/IOIPSL@HEAD ext/IOIPSL 8 8 9 9 # SETTE 10 ^/utils/CI/sette@ HEADsette10 ^/utils/CI/sette@13507 sette
-
- Property svn:externals
-
NEMO/branches/2020/r12377_ticket2386/tests/STATION_ASF/EXPREF/file_def_nemo-oce.xml
r11930 r13540 28 28 <field field_ref="empmr" name="empmr" /> 29 29 <!-- --> 30 <field field_ref="taum" name="taum" /> 31 <field field_ref="wspd" name="windsp" /> 30 <field field_ref="taum" name="taum" /> 31 <field field_ref="wspd" name="windsp" /> 32 <!-- --> 33 <field field_ref="Cd_oce" name="Cd_oce" /> 34 <field field_ref="Ce_oce" name="Ce_oce" /> 35 <field field_ref="Ch_oce" name="Ch_oce" /> 36 <field field_ref="theta_zt" name="theta_zt" /> 37 <field field_ref="q_zt" name="q_zt" /> 38 <field field_ref="theta_zu" name="theta_zu" /> 39 <field field_ref="q_zu" name="q_zu" /> 40 <field field_ref="ssq" name="ssq" /> 41 <field field_ref="wspd_blk" name="wspd_blk" /> 32 42 </file> 33 43 -
NEMO/branches/2020/r12377_ticket2386/tests/STATION_ASF/EXPREF/launch_sasf.sh
r11996 r13540 1 1 #!/bin/bash 2 2 3 # NEMO directory where to fetch compiled STATION_ASF nemo.exe + setup: 4 NEMO_DIR="${HOME}/NEMO/NEMOvdev_r11085_ASINTER-05_Brodeau_Advanced_Bulk" 3 ################################################################ 4 # 5 # Script to launch a set of STATION_ASF simulations 6 # 7 # L. Brodeau, 2020 8 # 9 ################################################################ 10 11 # What directory inside "tests" actually contains the compiled "nemo.exe" for STATION_ASF ? 12 TC_DIR="STATION_ASF2" 13 14 expdir=`basename ${PWD}`; # we expect "EXPREF" or "EXP00" normally... 15 16 # NEMOGCM root directory: 17 NEMO_ROOT_DIR=`pwd | sed -e "s|/tests/STATION_ASF/${expdir}||g"` 18 19 # NEMOGCM root directory where to fetch compiled STATION_ASF nemo.exe: 20 SASF_WRK_DIR="${NEMO_ROOT_DIR}/tests/${TC_DIR}" 5 21 6 22 # Directory where to run the simulation: 7 WORK_DIR="${HOME}/tmp/STATION_ASF"23 PROD_DIR="${HOME}/tmp/STATION_ASF" 8 24 9 25 10 # FORC_DIR => Directory containing sea-surface + atmospheric forcings 11 # (get it there https://drive.google.com/file/d/1MxNvjhRHmMrL54y6RX7WIaM9-LGl--ZP/): 12 if [ `hostname` = "merlat" ]; then 13 FORC_DIR="/MEDIA/data/STATION_ASF/input_data_STATION_ASF_2016-2018" 14 elif [ `hostname` = "luitel" ]; then 15 FORC_DIR="/data/gcm_setup/STATION_ASF/input_data_STATION_ASF_2016-2018" 16 elif [ `hostname` = "ige-meom-cal1" ]; then 17 FORC_DIR="/mnt/meom/workdir/brodeau/STATION_ASF/input_data_STATION_ASF_2016-2018" 18 elif [ `hostname` = "salvelinus" ]; then 19 FORC_DIR="/opt/data/STATION_ASF/input_data_STATION_ASF_2016-2018" 20 else 21 echo "Boo!"; exit 22 fi 23 #====================== 24 mkdir -p ${WORK_DIR} 26 ####### End of normal user configurable section ####### 25 27 26 NEMO_EXE="${NEMO_DIR}/tests/STATION_ASF/BLD/bin/nemo.exe" 27 if [ ! -f ${NEMO_EXE} ]; then echo " Mhhh, no compiled nemo.exe found into ${NEMO_DIR}/tests/STATION_ASF/BLD/bin !"; exit; fi 28 #================================================================================ 28 29 29 NEMO_EXPREF="${NEMO_DIR}/tests/STATION_ASF/EXPREF"30 if [ ! -d ${ NEMO_EXPREF} ]; then echo " Mhhh, no EXPREF directory ${NEMO_EXPREF} !"; exit; fi30 SASF_REF_DIR="${NEMO_ROOT_DIR}/tests/STATION_ASF" 31 if [ ! -d ${SASF_REF_DIR} ]; then echo " Mhhh, no EXPREF directory ${SASF_REF_DIR} !"; exit; fi 31 32 32 rsync -avP ${NEMO_EXE} ${WORK_DIR}/ 33 # NEMO executable to use is: 34 NEMO_EXE="${SASF_WRK_DIR}/BLD/bin/nemo.exe" 35 if [ ! -f ${NEMO_EXE} ]; then echo " Mhhh, no compiled 'nemo.exe' found into `dirname ${NEMO_EXE}` !"; exit; fi 36 37 DATA_IN_DIR="${SASF_REF_DIR}/input_data" ; # Directory containing sea-surface + atmospheric input data 38 if [ ! -d ${DATA_IN_DIR} ]; then echo "PROBLEM!!! => did not find directory 'input_data' with input forcing..."; exit; fi 39 40 SASF_EXPREF=${SASF_REF_DIR}/${expdir} ; # STATION_ASF EXPREF directory from which to use namelists and XIOS xml files... 41 if [ ! -d ${SASF_EXPREF} ]; then echo " Mhhh, no ${expdir} directory ${SASF_EXPREF} !"; exit; fi 42 43 44 echo "###########################################################" 45 echo "# S T A T I O N A i r - S e a F l u x #" 46 echo "###########################################################" 47 echo 48 echo " * NEMO reference root directory is: ${NEMO_ROOT_DIR}" 49 echo " * STATION_ASF work directory is: ${SASF_WRK_DIR}" 50 echo " ==> NEMO EXE to use: ${NEMO_EXE}" 51 echo 52 echo " * Input forcing data into: ${DATA_IN_DIR}" 53 echo " * Production will be done into: ${PROD_DIR}" 54 echo " * Directory in which namelists and xml files are fetched:" 55 echo " ==> ${SASF_EXPREF}" 56 echo 57 58 mkdir -p ${PROD_DIR} 59 60 rsync -avP ${NEMO_EXE} ${PROD_DIR}/ 33 61 34 62 for ff in "context_nemo.xml" "domain_def_nemo.xml" "field_def_nemo-oce.xml" "file_def_nemo-oce.xml" "grid_def_nemo.xml" "iodef.xml" "namelist_ref"; do 35 if [ ! -f ${ NEMO_EXPREF}/${ff} ]; then echo " Mhhh, ${ff} not found into ${NEMO_EXPREF} !"; exit; fi36 rsync -avPL ${ NEMO_EXPREF}/${ff} ${WORK_DIR}/63 if [ ! -f ${SASF_EXPREF}/${ff} ]; then echo " Mhhh, ${ff} not found into ${SASF_EXPREF} !"; exit; fi 64 rsync -avPL ${SASF_EXPREF}/${ff} ${PROD_DIR}/ 37 65 done 38 66 39 67 # Copy forcing to work directory: 40 rsync -avP ${ FORC_DIR}/Station_PAPA_50N-145W*.nc ${WORK_DIR}/68 rsync -avP ${DATA_IN_DIR}/Station_PAPA_50N-145W*.nc ${PROD_DIR}/ 41 69 42 for CASE in "ECMWF -noskin" "COARE3p6-noskin" "ECMWF" "COARE3p6" "NCAR"; do70 for CASE in "ECMWF" "COARE3p6" "NCAR" "ECMWF-noskin" "COARE3p6-noskin"; do 43 71 44 72 echo ; echo … … 50 78 scase=`echo "${CASE}" | tr '[:upper:]' '[:lower:]'` 51 79 52 rm -f ${ WORK_DIR}/namelist_cfg53 rsync -avPL ${ NEMO_EXPREF}/namelist_${scase}_cfg ${WORK_DIR}/namelist_cfg80 rm -f ${PROD_DIR}/namelist_cfg 81 rsync -avPL ${SASF_EXPREF}/namelist_${scase}_cfg ${PROD_DIR}/namelist_cfg 54 82 55 cd ${ WORK_DIR}/83 cd ${PROD_DIR}/ 56 84 echo 57 85 echo "Launching NEMO !" 58 ./nemo.exe 1> 86 ./nemo.exe 1>out_nemo.out 2>err_nemo.err 59 87 echo "Done!" 60 88 echo -
NEMO/branches/2020/r12377_ticket2386/tests/STATION_ASF/EXPREF/namelist_coare3p6-noskin_cfg
r12511 r13540 29 29 cn_exp = 'STATION_ASF-COARE3p6-noskin' ! experience name 30 30 nn_it000 = 1 ! first time step 31 nn_itend = 26280 ! last time step (std 5840) 32 nn_date0 = 20160101 ! date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 31 !!! nn_itend = 26304 ! last time step => 3 years (including 1 leap!) at dt=3600s 32 !!! nn_date0 = 20160101 ! date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 33 nn_itend = 8760 ! last time step => 3 years (including 1 leap!) at dt=3600s 34 nn_date0 = 20180101 ! date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 33 35 nn_time0 = 0 ! initial time of day in hhmm 34 nn_leapy = 0! Leap year calendar (1) or not (0)35 ln_rstart = 36 nn_euler = 1 ! = 0 : start with forward time step if ln_rstart=T36 nn_leapy = 1 ! Leap year calendar (1) or not (0) 37 ln_rstart = .false. ! start from rest (F) or from a restart file (T) 38 ln_1st_euler = .false. ! =T force a start with forward time step (ln_rstart=T) 37 39 nn_rstctl = 2 ! restart control ==> activated only if ln_rstart=T 38 40 ! ! = 0 nn_date0 read in namelist ; nn_it000 : read in namelist … … 45 47 nn_istate = 0 ! output the initial state (1) or not (0) 46 48 ln_rst_list = .false. ! output restarts at list of times using nn_stocklist (T) or at set frequency with nn_stock (F) 47 nn_stock = 26280 ! 1year @ dt=3600 s / frequency of creation of a restart file (modulo referenced to 1) 48 nn_write = 26280 ! 1year @ dt=3600 s / frequency of write in the output file (modulo referenced to nn_it000) 49 !! 50 !!! nn_stock = 26304 ! 3 years (including 1 leap!) at dt=3600s / frequency of creation of a restart file (modulo referenced to 1) 51 !!! nn_write = 26304 ! 3 years (including 1 leap!) at dt=3600s / frequency of write in the output file (modulo referenced to nn_it000) 52 nn_stock = 8760 ! 1 year at dt=3600s / frequency of creation of a restart file (modulo referenced to 1) 53 nn_write = 8760 ! 1 year at dt=3600s / frequency of write in the output file (modulo referenced to nn_it000) 54 !! 49 55 ln_mskland = .false. ! mask land points in NetCDF outputs (costly: + ~15%) 50 56 ln_cfmeta = .false. ! output additional data to netCDF files required for compliance with the CF metadata standard … … 195 201 !! !! 196 202 !! namdrg top/bottom drag coefficient (default: NO selection) 197 !! namdrg_top top friction (ln_ OFF=F & ln_isfcav=T)198 !! namdrg_bot bottom friction (ln_ OFF=F)203 !! namdrg_top top friction (ln_drg_OFF=F & ln_isfcav=T) 204 !! namdrg_bot bottom friction (ln_drg_OFF=F) 199 205 !! nambbc bottom temperature boundary condition (default: OFF) 200 206 !! nambbl bottom boundary layer scheme (default: OFF) -
NEMO/branches/2020/r12377_ticket2386/tests/STATION_ASF/EXPREF/namelist_coare3p6_cfg
r12511 r13540 29 29 cn_exp = 'STATION_ASF-COARE3p6' ! experience name 30 30 nn_it000 = 1 ! first time step 31 nn_itend = 26280 ! last time step (std 5840) 32 nn_date0 = 20160101 ! date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 31 !!! nn_itend = 26304 ! last time step => 3 years (including 1 leap!) at dt=3600s 32 !!! nn_date0 = 20160101 ! date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 33 nn_itend = 8760 ! last time step => 3 years (including 1 leap!) at dt=3600s 34 nn_date0 = 20180101 ! date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 33 35 nn_time0 = 0 ! initial time of day in hhmm 34 nn_leapy = 0! Leap year calendar (1) or not (0)35 ln_rstart = 36 nn_euler = 1 ! = 0 : start with forward time step if ln_rstart=T36 nn_leapy = 1 ! Leap year calendar (1) or not (0) 37 ln_rstart = .false. ! start from rest (F) or from a restart file (T) 38 ln_1st_euler = .false. ! =T force a start with forward time step (ln_rstart=T) 37 39 nn_rstctl = 2 ! restart control ==> activated only if ln_rstart=T 38 40 ! ! = 0 nn_date0 read in namelist ; nn_it000 : read in namelist … … 45 47 nn_istate = 0 ! output the initial state (1) or not (0) 46 48 ln_rst_list = .false. ! output restarts at list of times using nn_stocklist (T) or at set frequency with nn_stock (F) 47 nn_stock = 26280 ! 1year @ dt=3600 s / frequency of creation of a restart file (modulo referenced to 1) 48 nn_write = 26280 ! 1year @ dt=3600 s / frequency of write in the output file (modulo referenced to nn_it000) 49 !! 50 !!! nn_stock = 26304 ! 3 years (including 1 leap!) at dt=3600s / frequency of creation of a restart file (modulo referenced to 1) 51 !!! nn_write = 26304 ! 3 years (including 1 leap!) at dt=3600s / frequency of write in the output file (modulo referenced to nn_it000) 52 nn_stock = 8760 ! 1 year at dt=3600s / frequency of creation of a restart file (modulo referenced to 1) 53 nn_write = 8760 ! 1 year at dt=3600s / frequency of write in the output file (modulo referenced to nn_it000) 54 !! 49 55 ln_mskland = .false. ! mask land points in NetCDF outputs (costly: + ~15%) 50 56 ln_cfmeta = .false. ! output additional data to netCDF files required for compliance with the CF metadata standard … … 134 140 ln_humi_rlh = .true. ! humidity specified below in "sn_humi" is relative humidity [%] if .true. 135 141 ! 136 cn_dir = './'! root directory for the bulk data location142 cn_dir = './' ! root directory for the bulk data location 137 143 !___________!_________________________!___________________!___________!_____________!________!___________!______________________________________!__________!_______________! 138 144 ! ! file name ! frequency (hours) ! variable ! time interp.! clim ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! … … 163 169 ln_read_frq = .false. ! specify whether we must read frq or not 164 170 165 cn_dir = './' 171 cn_dir = './' ! root directory for the ocean data location 166 172 !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 167 173 ! ! file name ! frequency (hours) ! variable ! time interp.! clim ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! … … 195 201 !! !! 196 202 !! namdrg top/bottom drag coefficient (default: NO selection) 197 !! namdrg_top top friction (ln_ OFF=F & ln_isfcav=T)198 !! namdrg_bot bottom friction (ln_ OFF=F)203 !! namdrg_top top friction (ln_drg_OFF=F & ln_isfcav=T) 204 !! namdrg_bot bottom friction (ln_drg_OFF=F) 199 205 !! nambbc bottom temperature boundary condition (default: OFF) 200 206 !! nambbl bottom boundary layer scheme (default: OFF) … … 215 221 &nameos ! ocean Equation Of Seawater (default: NO selection) 216 222 !----------------------------------------------------------------------- 217 ln_eos80 = .true. ! = Use EOS80223 ln_eos80 = .true. ! = Use EOS80 218 224 / 219 225 !!====================================================================== -
NEMO/branches/2020/r12377_ticket2386/tests/STATION_ASF/EXPREF/namelist_ecmwf-noskin_cfg
r12511 r13540 29 29 cn_exp = 'STATION_ASF-ECMWF-noskin' ! experience name 30 30 nn_it000 = 1 ! first time step 31 nn_itend = 26280 ! last time step (std 5840) 32 nn_date0 = 20160101 ! date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 31 !!! nn_itend = 26304 ! last time step => 3 years (including 1 leap!) at dt=3600s 32 !!! nn_date0 = 20160101 ! date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 33 nn_itend = 8760 ! last time step => 3 years (including 1 leap!) at dt=3600s 34 nn_date0 = 20180101 ! date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 33 35 nn_time0 = 0 ! initial time of day in hhmm 34 nn_leapy = 0! Leap year calendar (1) or not (0)35 ln_rstart = 36 nn_euler = 1 ! = 0 : start with forward time step if ln_rstart=T36 nn_leapy = 1 ! Leap year calendar (1) or not (0) 37 ln_rstart = .false. ! start from rest (F) or from a restart file (T) 38 ln_1st_euler = .false. ! =T force a start with forward time step (ln_rstart=T) 37 39 nn_rstctl = 2 ! restart control ==> activated only if ln_rstart=T 38 40 ! ! = 0 nn_date0 read in namelist ; nn_it000 : read in namelist … … 45 47 nn_istate = 0 ! output the initial state (1) or not (0) 46 48 ln_rst_list = .false. ! output restarts at list of times using nn_stocklist (T) or at set frequency with nn_stock (F) 47 nn_stock = 26280 ! 1year @ dt=3600 s / frequency of creation of a restart file (modulo referenced to 1) 48 nn_write = 26280 ! 1year @ dt=3600 s / frequency of write in the output file (modulo referenced to nn_it000) 49 !! 50 !!! nn_stock = 26304 ! 3 years (including 1 leap!) at dt=3600s / frequency of creation of a restart file (modulo referenced to 1) 51 !!! nn_write = 26304 ! 3 years (including 1 leap!) at dt=3600s / frequency of write in the output file (modulo referenced to nn_it000) 52 nn_stock = 8760 ! 1 year at dt=3600s / frequency of creation of a restart file (modulo referenced to 1) 53 nn_write = 8760 ! 1 year at dt=3600s / frequency of write in the output file (modulo referenced to nn_it000) 54 !! 49 55 ln_mskland = .false. ! mask land points in NetCDF outputs (costly: + ~15%) 50 56 ln_cfmeta = .false. ! output additional data to netCDF files required for compliance with the CF metadata standard … … 195 201 !! !! 196 202 !! namdrg top/bottom drag coefficient (default: NO selection) 197 !! namdrg_top top friction (ln_ OFF=F & ln_isfcav=T)198 !! namdrg_bot bottom friction (ln_ OFF=F)203 !! namdrg_top top friction (ln_drg_OFF=F & ln_isfcav=T) 204 !! namdrg_bot bottom friction (ln_drg_OFF=F) 199 205 !! nambbc bottom temperature boundary condition (default: OFF) 200 206 !! nambbl bottom boundary layer scheme (default: OFF) -
NEMO/branches/2020/r12377_ticket2386/tests/STATION_ASF/EXPREF/namelist_ecmwf_cfg
r12511 r13540 29 29 cn_exp = 'STATION_ASF-ECMWF' ! experience name 30 30 nn_it000 = 1 ! first time step 31 nn_itend = 26280 ! last time step (std 5840) 32 nn_date0 = 20160101 ! date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 31 !!! nn_itend = 26304 ! last time step => 3 years (including 1 leap!) at dt=3600s 32 !!! nn_date0 = 20160101 ! date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 33 nn_itend = 8760 ! last time step => 3 years (including 1 leap!) at dt=3600s 34 nn_date0 = 20180101 ! date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 33 35 nn_time0 = 0 ! initial time of day in hhmm 34 nn_leapy = 0! Leap year calendar (1) or not (0)35 ln_rstart = 36 nn_euler = 1 ! = 0 : start with forward time step if ln_rstart=T36 nn_leapy = 1 ! Leap year calendar (1) or not (0) 37 ln_rstart = .false. ! start from rest (F) or from a restart file (T) 38 ln_1st_euler = .false. ! =T force a start with forward time step (ln_rstart=T) 37 39 nn_rstctl = 2 ! restart control ==> activated only if ln_rstart=T 38 40 ! ! = 0 nn_date0 read in namelist ; nn_it000 : read in namelist … … 45 47 nn_istate = 0 ! output the initial state (1) or not (0) 46 48 ln_rst_list = .false. ! output restarts at list of times using nn_stocklist (T) or at set frequency with nn_stock (F) 47 nn_stock = 26280 ! 1year @ dt=3600 s / frequency of creation of a restart file (modulo referenced to 1) 48 nn_write = 26280 ! 1year @ dt=3600 s / frequency of write in the output file (modulo referenced to nn_it000) 49 !! 50 !!! nn_stock = 26304 ! 3 years (including 1 leap!) at dt=3600s / frequency of creation of a restart file (modulo referenced to 1) 51 !!! nn_write = 26304 ! 3 years (including 1 leap!) at dt=3600s / frequency of write in the output file (modulo referenced to nn_it000) 52 nn_stock = 8760 ! 1 year at dt=3600s / frequency of creation of a restart file (modulo referenced to 1) 53 nn_write = 8760 ! 1 year at dt=3600s / frequency of write in the output file (modulo referenced to nn_it000) 54 !! 49 55 ln_mskland = .false. ! mask land points in NetCDF outputs (costly: + ~15%) 50 56 ln_cfmeta = .false. ! output additional data to netCDF files required for compliance with the CF metadata standard … … 134 140 ln_humi_rlh = .true. ! humidity specified below in "sn_humi" is relative humidity [%] if .true. 135 141 ! 136 cn_dir = './'! root directory for the bulk data location142 cn_dir = './' ! root directory for the bulk data location 137 143 !___________!_________________________!___________________!___________!_____________!________!___________!______________________________________!__________!_______________! 138 144 ! ! file name ! frequency (hours) ! variable ! time interp.! clim ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! … … 163 169 ln_read_frq = .false. ! specify whether we must read frq or not 164 170 165 cn_dir = './' 171 cn_dir = './' ! root directory for the ocean data location 166 172 !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 167 173 ! ! file name ! frequency (hours) ! variable ! time interp.! clim ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! … … 195 201 !! !! 196 202 !! namdrg top/bottom drag coefficient (default: NO selection) 197 !! namdrg_top top friction (ln_ OFF=F & ln_isfcav=T)198 !! namdrg_bot bottom friction (ln_ OFF=F)203 !! namdrg_top top friction (ln_drg_OFF=F & ln_isfcav=T) 204 !! namdrg_bot bottom friction (ln_drg_OFF=F) 199 205 !! nambbc bottom temperature boundary condition (default: OFF) 200 206 !! nambbl bottom boundary layer scheme (default: OFF) … … 215 221 &nameos ! ocean Equation Of Seawater (default: NO selection) 216 222 !----------------------------------------------------------------------- 217 ln_eos80 = .true. ! = Use EOS80223 ln_eos80 = .true. ! = Use EOS80 218 224 / 219 225 !!====================================================================== -
NEMO/branches/2020/r12377_ticket2386/tests/STATION_ASF/EXPREF/namelist_ncar_cfg
r12511 r13540 29 29 cn_exp = 'STATION_ASF-NCAR' ! experience name 30 30 nn_it000 = 1 ! first time step 31 nn_itend = 26280 ! last time step (std 5840) 32 nn_date0 = 20160101 ! date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 31 !!! nn_itend = 26304 ! last time step => 3 years (including 1 leap!) at dt=3600s 32 !!! nn_date0 = 20160101 ! date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 33 nn_itend = 8760 ! last time step => 3 years (including 1 leap!) at dt=3600s 34 nn_date0 = 20180101 ! date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 33 35 nn_time0 = 0 ! initial time of day in hhmm 34 nn_leapy = 0! Leap year calendar (1) or not (0)35 ln_rstart = 36 nn_euler = 1 ! = 0 : start with forward time step if ln_rstart=T36 nn_leapy = 1 ! Leap year calendar (1) or not (0) 37 ln_rstart = .false. ! start from rest (F) or from a restart file (T) 38 ln_1st_euler = .false. ! =T force a start with forward time step (ln_rstart=T) 37 39 nn_rstctl = 2 ! restart control ==> activated only if ln_rstart=T 38 40 ! ! = 0 nn_date0 read in namelist ; nn_it000 : read in namelist … … 45 47 nn_istate = 0 ! output the initial state (1) or not (0) 46 48 ln_rst_list = .false. ! output restarts at list of times using nn_stocklist (T) or at set frequency with nn_stock (F) 47 nn_stock = 26280 ! 1year @ dt=3600 s / frequency of creation of a restart file (modulo referenced to 1) 48 nn_write = 26280 ! 1year @ dt=3600 s / frequency of write in the output file (modulo referenced to nn_it000) 49 !! 50 !!! nn_stock = 26304 ! 3 years (including 1 leap!) at dt=3600s / frequency of creation of a restart file (modulo referenced to 1) 51 !!! nn_write = 26304 ! 3 years (including 1 leap!) at dt=3600s / frequency of write in the output file (modulo referenced to nn_it000) 52 nn_stock = 8760 ! 1 year at dt=3600s / frequency of creation of a restart file (modulo referenced to 1) 53 nn_write = 8760 ! 1 year at dt=3600s / frequency of write in the output file (modulo referenced to nn_it000) 54 !! 49 55 ln_mskland = .false. ! mask land points in NetCDF outputs (costly: + ~15%) 50 56 ln_cfmeta = .false. ! output additional data to netCDF files required for compliance with the CF metadata standard … … 134 140 ln_humi_rlh = .true. ! humidity specified below in "sn_humi" is relative humidity [%] if .true. 135 141 ! 136 cn_dir = './'! root directory for the bulk data location142 cn_dir = './' ! root directory for the bulk data location 137 143 !___________!_________________________!___________________!___________!_____________!________!___________!______________________________________!__________!_______________! 138 144 ! ! file name ! frequency (hours) ! variable ! time interp.! clim ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! … … 163 169 ln_read_frq = .false. ! specify whether we must read frq or not 164 170 165 cn_dir = './' 171 cn_dir = './' ! root directory for the ocean data location 166 172 !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 167 173 ! ! file name ! frequency (hours) ! variable ! time interp.! clim ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! … … 195 201 !! !! 196 202 !! namdrg top/bottom drag coefficient (default: NO selection) 197 !! namdrg_top top friction (ln_ OFF=F & ln_isfcav=T)198 !! namdrg_bot bottom friction (ln_ OFF=F)203 !! namdrg_top top friction (ln_drg_OFF=F & ln_isfcav=T) 204 !! namdrg_bot bottom friction (ln_drg_OFF=F) 199 205 !! nambbc bottom temperature boundary condition (default: OFF) 200 206 !! nambbl bottom boundary layer scheme (default: OFF) … … 215 221 &nameos ! ocean Equation Of Seawater (default: NO selection) 216 222 !----------------------------------------------------------------------- 217 ln_eos80 = .true. ! = Use EOS80223 ln_eos80 = .true. ! = Use EOS80 218 224 / 219 225 !!====================================================================== -
NEMO/branches/2020/r12377_ticket2386/tests/STATION_ASF/EXPREF/plot_station_asf.py
r12031 r13540 1 #!/usr/bin/env python 1 #!/usr/bin/env python3 2 2 # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- 3 3 4 # Post-diagnostic of STATION_ASF / L. Brodeau, 20 194 # Post-diagnostic of STATION_ASF / L. Brodeau, 2020 5 5 6 6 import sys 7 7 from os import path as path 8 #from string import replace9 8 import math 10 9 import numpy as nmp 11 #import scipy.signal as signal12 10 from netCDF4 import Dataset 13 11 import matplotlib as mpl … … 15 13 import matplotlib.pyplot as plt 16 14 import matplotlib.dates as mdates 17 #from string import find 18 #import warnings 19 #warnings.filterwarnings("ignore") 20 #import time 21 22 #import barakuda_plot as bp 23 #import barakuda_tool as bt 24 25 reload(sys) 26 sys.setdefaultencoding('utf8') 27 28 cy1 = '2016' ; # First year 15 16 cy1 = '2018' ; # First year 29 17 cy2 = '2018' ; # Last year 30 31 jt0 = 032 jt0 = 1751933 34 18 35 19 dir_figs='.' … … 53 37 L_VARL = [ r'$Q_{lat}$', r'$Q_{sens}$' , r'$Q_{net}$' , r'$Q_{lw}$' , r'$|\tau|$' , r'$\Delta T_{skin}$' ] ; # name of variable in latex mode 54 38 L_VUNT = [ r'$W/m^2$' , r'$W/m^2$' , r'$W/m^2$' , r'$W/m^2$' , r'$N/m^2$' , 'K' ] 55 L_VMAX = [ 75. , 75. , 800. , 25. , 1.2 , -0.7 ]56 L_VMIN = [ -250. , -125. , -400. , -150. , 0. , 39 L_VMAX = [ 75. , 75. , 800. , 25. , 1.2 , 0.7 ] 40 L_VMIN = [ -250. , -125. , -400. , -150. , 0. , -0.7 ] 57 41 L_ANOM = [ True , True , True , True , True , False ] 58 42 … … 72 56 narg = len(sys.argv) 73 57 if narg != 2: 74 print 'Usage: '+sys.argv[0]+' <DIR_OUT_SASF>'; sys.exit(0)58 print('Usage: '+sys.argv[0]+' <DIR_OUT_SASF>'); sys.exit(0) 75 59 cdir_data = sys.argv[1] 76 60 … … 82 66 def chck4f(cf): 83 67 cmesg = 'ERROR: File '+cf+' does not exist !!!' 84 if not path.exists(cf): print cmesg; sys.exit(0)68 if not path.exists(cf): print(cmesg); sys.exit(0) 85 69 86 70 ###cf_in = nmp.empty((), dtype="S10") … … 104 88 # Getting time array from the first file: 105 89 id_in = Dataset(cf_in[0]) 106 vt = id_in.variables['time_counter'][ jt0:]90 vt = id_in.variables['time_counter'][:] 107 91 cunit_t = id_in.variables['time_counter'].units ; print(' "time_counter" is in "'+cunit_t+'"') 108 92 id_in.close() … … 138 122 if ctest == 'skin': id_in = Dataset(cf_in[ja]) 139 123 if ctest == 'noskin': id_in = Dataset(cf_in_ns[ja]) 140 xF[:,ja] = id_in.variables[L_VNEM[jv]][ jt0:,1,1] # only the center point of the 3x3 spatial domain!124 xF[:,ja] = id_in.variables[L_VNEM[jv]][:,1,1] # only the center point of the 3x3 spatial domain! 141 125 if ja == 0: cvar_lnm = id_in.variables[L_VNEM[jv]].long_name 142 126 id_in.close() … … 180 164 rmlt = 10.**(int(romagn)) / 2. 181 165 yrng = math.copysign( math.ceil(abs(rmax)/rmlt)*rmlt , rmax) 182 #print 'yrng = ', yrng ; #sys.exit(0)183 166 184 167 fig = plt.figure(num = 10+jv, figsize=size_fig, facecolor='w', edgecolor='k') … … 211 194 for ja in range(nb_algos-1): 212 195 id_in = Dataset(cf_in[ja]) 213 xF[:,ja] = id_in.variables[L_VNEM[jv]][ jt0:,1,1] # only the center point of the 3x3 spatial domain!196 xF[:,ja] = id_in.variables[L_VNEM[jv]][:,1,1] # only the center point of the 3x3 spatial domain! 214 197 if ja == 0: cvar_lnm = id_in.variables[L_VNEM[jv]].long_name 215 198 id_in.close() 216 199 # 217 200 id_in = Dataset(cf_in_ns[ja]) 218 xFns[:,ja] = id_in.variables[L_VNEM[jv]][ jt0:,1,1] # only the center point of the 3x3 spatial domain!201 xFns[:,ja] = id_in.variables[L_VNEM[jv]][:,1,1] # only the center point of the 3x3 spatial domain! 219 202 if ja == 0: cvar_lnm = id_in.variables[L_VNEM[jv]].long_name 220 203 id_in.close() … … 229 212 rmlt = 10.**(int(romagn)) / 2. 230 213 yrng = math.copysign( math.ceil(abs(rmax)/rmlt)*rmlt , rmax) 231 print 'yrng = ', yrng ; #sys.exit(0) 232 233 234 235 214 215 236 216 for ja in range(nb_algos-1): 237 217
Note: See TracChangeset
for help on using the changeset viewer.