- Timestamp:
- 2020-11-06T11:58:31+01:00 (4 years ago)
- Location:
- NEMO/branches/2020/dev_r13648_ASINTER-04_laurent_bulk_ice/tests/STATION_ASF
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r13648_ASINTER-04_laurent_bulk_ice/tests/STATION_ASF/EXPREF/analyze_output.py
r13686 r13733 258 258 259 259 # Conclusion: 260 clist='' 261 for cc in l_var_ot: clist=clist+cc+', ' 262 cbla = ' Test performed on the following NEMO prognostic variables:\n ==> '+clist[:-2]+'\n' 263 print(ccol+cbla+fclrs.ENDC ) ; f.write(cbla+'\n') 260 264 261 265 cbla = ' ####################################\n' +\ -
NEMO/branches/2020/dev_r13648_ASINTER-04_laurent_bulk_ice/tests/STATION_ASF/EXPREF/launch_sasf.sh
r13719 r13733 18 18 # => i_sea_ice: whether to compute fluxes over sea-ice as well 19 19 # => SFORC: string sufficient to copy relevant files as in "*${SFORC}*.nc" 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 computation20 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 22 22 #FORCING="ERA5_arctic" ; i_sea_ice=0 ; SFORC="ERA5_arctic_surface_81N_36p75E_1h" ; # "ERA5_arctic" WITHOUT ice/air flux computation 23 23 … … 35 35 PROD_DIR="${HOME}/tmp/${CONFIG}" 36 36 37 38 39 40 41 37 # MPI launch command for your system 38 # Even though we are running on 1 proc, NEMO has been compiled with MPI, so fill the following: 39 MPI_LAUNCH="mpirun -n 1" 42 40 43 41 ####### End of normal user configurable section ####### … … 45 43 #================================================================================ 46 44 45 iconv_1d=1 47 46 if [ "`which ncks`" = "" ]; then 48 47 echo 49 48 echo "WARNING: you do not seem to have NCO installed here... You should!" 50 echo " => anyway! will do without, output fields will remaine 3x3 in space :( "49 echo " => anyway! will do without, but output netCDF files will remaine 3x3 in space :( " 51 50 echo 52 sleep 4 51 iconv_1d=0 52 sleep 3 53 53 fi 54 54 … … 195 195 rsync -avPL ${CFGS_SHARED}/namelist_ice_ref ${PROD_DIR}/namelist_ice_ref 196 196 fi 197 197 198 198 cd ${PROD_DIR}/ 199 199 echo 200 echo "Launching NEMO ! "201 ./nemo.exe 1>out_nemo.out 2>err_nemo.err200 echo "Launching NEMO ! (==> ${MPI_LAUNCH} ./nemo.exe)" 201 ${MPI_LAUNCH} ./nemo.exe 1>out_nemo.out 2>err_nemo.err 202 202 echo "Done!" 203 203 echo … … 212 212 mv -f *.out *.err ocean.output output.namelist.dyn ${CASE}_${FORCING}_log/ 213 213 214 if [ ${iconv_1d} -eq 1 ]; then 214 215 # Making 3x3 to 1 ! 215 216 cd output/ … … 222 223 echo 223 224 done 225 fi 224 226 225 227 done -
NEMO/branches/2020/dev_r13648_ASINTER-04_laurent_bulk_ice/tests/STATION_ASF/EXPREF/sanity_check_SBCBLK.sh
r13732 r13733 15 15 # fluxes over open water. 16 16 # 17 #18 #19 #20 #21 17 ################################################################ 22 18 … … 38 34 39 35 # Directory where to run the simulation: 40 PROD_DIR="${HOME}/tmp/${CONFIG}" 41 42 43 44 36 PROD_DIR="${HOME}/tmp/${CONFIG}_test" 37 38 # MPI launch command for your system 39 # Even though we are running on 1 proc here, NEMO has likely been compiled with MPI, 40 # if it's not the case then just leave "MPI_LAUNCH" void... 41 MPI_LAUNCH="mpirun -n 1" 45 42 46 43 ####### End of normal user configurable section ####### 47 48 44 #================================================================================ 45 46 49 47 50 48 # Should the `analyze_output.py` script provide more output ??? … … 58 56 fi 59 57 fi 60 61 62 58 63 59 rm -f SBCBLK.success SBCBLK.fail … … 180 176 cd ${PROD_DIR}/ 181 177 echo 182 echo "Launching NEMO ! "183 ./nemo.exe 1>out_nemo.out 2>err_nemo.err178 echo "Launching NEMO ! (==> ${MPI_LAUNCH} ./nemo.exe)" 179 ${MPI_LAUNCH} ./nemo.exe 1>out_nemo.out 2>err_nemo.err 184 180 echo "Done!" 185 181 echo -
NEMO/branches/2020/dev_r13648_ASINTER-04_laurent_bulk_ice/tests/STATION_ASF/README.md
r13682 r13733 96 96 Move to: ```tests/STATION_ASF/EXPREF/``` 97 97 98 There, in script ``s bcblk_sanity_check.sh``, double check that the variables given a value in the first lines are consistent with your setup (it should).98 There, in script ``sanity_check_SBCBLK.sh``, double check that the variables given a value in the first lines are consistent with your setup (it should). 99 99 100 100 Launch the script: 101 101 102 $ ./s bcblk_sanity_check.sh102 $ ./sanity_check_SBCBLK.sh 103 103 104 104 … … 108 108 - `SBCBLK.fail` the test failed :( 109 109 110 In case of failure, read the rapport to know which algorithm/computed variables did not pass the test... You should also re-run the script ` `sbcblk_sanity_check.sh`` with the "more" argument:110 In case of failure, read the rapport to know which algorithm/computed variables did not pass the test... You should also re-run the script `sanity_check_SBCBLK.sh` with the "more" argument: 111 111 112 $ ./s bcblk_sanity_check.sh more112 $ ./sanity_check_SBCBLK.sh more 113 113 114 114 This will generate more output such as figure of time series for the tested variables.
Note: See TracChangeset
for help on using the changeset viewer.