config_eORCA1_L75_v36_voima.sh 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. #!/bin/bash
  2. #==========================================================
  3. #
  4. # Configuration file for
  5. #
  6. # OCEAN MONITORING for NEMO v3.6 eORCA1 on 75 levels
  7. #
  8. # HPC: voima.fmi.fi
  9. #
  10. # L. Brodeau, 2015
  11. #
  12. #===========================================================
  13. l_clim_diag=true ; # should we try to perform climatology-related diagnostics? (clim must be built!)
  14. export CONF=eORCA1.L75 ; # horizontal global configuration
  15. export NBL=75 ; # number of levels
  16. # Root directory where NEMO output files are stored:
  17. export STORE_DIR="/lustre/tmp/$USER"
  18. # List of suffixed of files that have been saved by NEMO:
  19. export NEMO_SAVED_FILES="grid_T grid_U grid_V icemod"
  20. # Directory structure in which to find NEMO output file (use <ORCA> and <RUN>):
  21. export NEMO_OUT_STRCT="${STORE_DIR}/<ORCA>/<ORCA>-<RUN>-S"
  22. export TSTAMP="1m" ; # output time-frequency stamp as in NEMO output files...
  23. # How does the nemo files prefix looks like
  24. # Everything before "<year_related_info>_grid_<X>" or "<year_related_info>_icemod"
  25. # use <ORCA>, <RUN> and <TSTAMP>=> Ex: export NEMO_FILE_PREFIX="<ORCA>-<RUN>_<TSTAMP>_"
  26. export NEMO_FILE_PREFIX="<ORCA>-<RUN>_<TSTAMP>_"
  27. # => should get rid of TSTAMP actually...
  28. # Temporary file system (scratch) on which to perform the job you can use <JOB_ID> if scracth depends on JOB ID:
  29. export SCRATCH="/lustre/tmp/$USER/tmp/${PBS_JOBID}"
  30. # Python installation directory where bin lib include reside
  31. export PYTHON_HOME=/opt/Python/2.7
  32. # NETCDF binaries such as nccopy
  33. export NCDF_BIN=/opt/cray/netcdf/4.3.0/bin
  34. # If variables names in NEMO files are not the default...
  35. export NN_SST="tos"
  36. export NN_SSS="sos"
  37. export NN_SSH="zos"
  38. export NN_T="thetao"
  39. export NN_S="so"
  40. export NN_MLD="mldr10_1"
  41. export NN_U="uo"
  42. export NN_V="vo"
  43. #export NN_U_EIV="vozoeivu"
  44. #export NN_V_EIV="vomeeivv"
  45. export NN_U_EIV="0" ; # ignore
  46. export NN_V_EIV="0" ; # ignore
  47. export NN_TAUX="tauuo"
  48. export NN_TAUY="tauvo"
  49. export FILE_ICE_SUFFIX="icemod" ; # in what file to find ice fraction NN_ICEF? => "icemod" or "grid_T"
  50. export NN_ICEF="siconc" ; # name of ice fraction in "FILE_ICE_SUFFIX" file...
  51. export NN_ICET="sivolu" ; # ice thickness or rather volume...
  52. export FILE_FLX_SUFFIX="SBC" ; # in what file to find surface fluxes ?
  53. export NN_FWF="wfo" ; # name of net freshwater flux (E-P-R) in "FILE_FLX_SUFFIX" file...
  54. #export NN_FWF="empmr" ; # name of net freshwater flux (E-P-R) in "FILE_FLX_SUFFIX" file...
  55. export NN_EMP="emp_oce" ; # name of E-P in "FILE_FLX_SUFFIX" file...
  56. #export NN_EMP="emp" ; # name of E-P in "FILE_FLX_SUFFIX" file...
  57. export NN_P="precip" ; # name of P in "FILE_FLX_SUFFIX" file...
  58. export NN_RNF="runoffs" ; # name of continental runoffs in "FILE_FLX_SUFFIX" file...
  59. export NN_CLV="calving_cea" ; # calving from icebergs in "FILE_FLX_SUFFIX" file...
  60. export NN_E="evap" ; # evaporation in "FILE_FLX_SUFFIX" file...
  61. export L_CONV2NC3=false ; # Set to true if your NEMO output is in Netcdf4 and your NCO does not support netcdf4!
  62. export L_RENAME=false ; # set to true if your ORCA output has old name convention (ex: votemper instead of thetao)
  63. export EXTRA_CONF="NEMO v3.6 ${CONF} (L${NBL}) - LIM3 / ocean-only experiment"
  64. # Land-sea mask and basins files:
  65. export MM_FILE="/lustre/tmp/uotilap/SHACONEMO/INPUT/eORCA1L75/mesh_mask_eORCA1L75.nc"
  66. export BM_FILE="/lustre/tmp/uotilap/SHACONEMO/INPUT/eORCA1L75/basin_mask_eORCA1L75.nc"
  67. # 3D monthly climatologies of potential temperature and salinity (can be those you used for the NEMO run):
  68. export CDATDIR=/stornext/field/users/${USER}
  69. export F_T_CLIM_3D_12=${CDATDIR}/tiede/PHC/PHC3.0.eORCA1.L75.nc
  70. export F_S_CLIM_3D_12=${CDATDIR}/tiede/PHC/PHC3.0.eORCA1.L75.nc
  71. export SST_CLIM_12=${CDATDIR}/tiede/PHC/PHC3.0.eORCA1.L75.nc
  72. export NN_T_CLIM="T"
  73. export NN_S_CLIM="S"
  74. export NN_SST_CLIM="sst"
  75. export ICE_CLIM_12=${CDATDIR}/sidads.colorado.edu/pub/DATASETS/NOAA/G02202_v2/seaice_conc_ymonmean_1994-2013.eORCA1.nc
  76. export NN_ICEF_CLIM="seaice_conc_monthly_cdr"
  77. # A text file where the vertical hydraugraphical sections of interest are defined :
  78. #export TRANSPORT_SECTION_FILE="${BARAKUDA_ROOT}/data/transportiz_${CONF}_light.dat"
  79. export TRANSPORT_SECTION_FILE="${BARAKUDA_ROOT}/data/transportiz_eORCA1.dat"
  80. # For transport by sigma-class:
  81. export DENSITY_SECTION_FILE="${BARAKUDA_ROOT}/data/dens_section_eORCA1.dat"
  82. # In what directory of the local machine to save the diagnostics:
  83. export DIAG_DIR="/lustre/tmp/${USER}/barakuda/${CONF}"
  84. # Files with the list of rectangular boxes to look at more closely:
  85. export FILE_DEF_BOXES="${BARAKUDA_ROOT}/data/def_boxes_convection_eORCA1.txt"
  86. export FILE_DMV_BOXES="${BARAKUDA_ROOT}/data/def_boxes_convection_eORCA1.txt"
  87. # About remote HOST to install HTML pages to:
  88. ihttp=0 ; # do we export on a remote http server (1) or keep on the local machine (0)
  89. RHOST=misu228.misu.su.se ; # remote host to send diagnostic page to///
  90. RUSER=laurent ; # username associated to remote host (for file export)
  91. RWWWD=/data/www/barakuda/${CONF} ; # directory of the local or remote host to send the diagnostic page to
  92. #########################
  93. # Diags to be performed #
  94. #########################
  95. # In what format should figures be produced:
  96. export FIG_FORM="png"
  97. # Basic 3D and surface averages:
  98. i_do_mean=1
  99. # FreshWater fluxes at the surface spatially averaged over the ocean, E-P-R, E-P, R, P, ...
  100. #i_do_fwf=1
  101. # AMOC:
  102. i_do_amoc=1
  103. export LMOCLAT="20-23 30-33 40-43 45-48 50-53" ; # List of latitude bands to look in for max of AMOC
  104. # Transport of mass, heat and salt through specified sections (into TRANSPORT_SECTION_FILE):
  105. i_do_trsp=2 ; # transport of mass, heat and salt through specified sections
  106. # # i_do_trsp=2 => treat also different depths range!
  107. z1_trsp=100 ; # first depth: i_do_trsp must be set to 2
  108. z2_trsp=1000 ; # second depth: i_do_trsp must be set to 2
  109. # meridional heat/salt transport (advective)
  110. i_do_mht=1
  111. # Transport by sigma class
  112. i_do_sigt=1
  113. # sea-ice diags
  114. i_do_ice=1 ; # Sea-ice diags
  115. i_do_bb=1 ; # Budget and other stuffs on a given rectangular box!
  116. # # => needs file FILE_DEF_BOXES !!!
  117. # => produces time-series f(t) (mean of 2D fields)
  118. i_do_ssx_box=0 ; # zoom on given boxes (+spatially-averaged values) for surface properties
  119. # # boxes defined into barakuda_orca.py ...
  120. # Vertical profiles on of box-averaged as a function of time...
  121. i_do_box_TS_z=1 ; # do sigma vert. profiles on given boxes... # 1 => no figures, 2 => figures
  122. # # => needs file FILE_DEF_BOXES !!!
  123. # => produces time-series f(t,z)
  124. #
  125. # Deep Mixed volume in prescribed boxes:
  126. i_do_dmv=1
  127. export MLD_CRIT="1000,725,500"
  128. # Some nerdy stuffs about the critical depth in prescribed boxes:
  129. i_do_zcrit=0
  130. # BETA / TESTING:
  131. # Fresh-water transport associated to sea-ice transport
  132. # => must compile cdficeflux.x but depends on more recent CDFTOOLS module...
  133. i_do_icet=0 ; # treat sea-ice volume transport!
  134. export TRANSPORT_ICE_SECTION_FILE="${BARAKUDA_ROOT}/data/transportiz_eORCA1_ARCTIC.dat"
  135. i_do_flx=0 ; # surface fluxes diags
  136. i_do_amo=0 ; # buit a SST time serie usable to build Atlantic Multidecadal Oscilation index
  137. i_do_sect=0 ; # do sigma vert. profiles on given boxes...
  138. VSECT_NM=( "Indian_77p5_E" "Atlantic_21p5_W" )
  139. VSECT_JI=( "5,5" "266,266" ) ; # X range in C convention
  140. VSECT_JJ=( "25,170" "7,291" ) ; # Y range in C convention