config_ORCA1_L46_v36_voima.sh 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. #!/bin/bash
  2. #==========================================================
  3. #
  4. # Configuration file for
  5. #
  6. # OCEAN MONITORING for NEMO v3.6 ORCA1 on 46 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=ORCA1.L46 ; # horizontal global configuration
  15. export NBL=46 ; # 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/<JOB_ID>"
  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 NN_ICEF="siconc" ; # name of ice fraction in "FILE_ICE_SUFFIX" file...
  50. export NN_ICET="sithic" ; # ice thickness but 'sit' is only in icemod file !!!
  51. export L_CONV2NC3=false ; # Set to true if your NEMO output is in Netcdf4 and your NCO does not support netcdf4!
  52. export L_RENAME=false ; # set to true if your ORCA output has old name convention (ex: votemper instead of thetao)
  53. export EXTRA_CONF="NEMO v3.6 ${CONF} (L${NBL}) - LIM3 / ocean-only experiment"
  54. # Land-sea mask and basins files:
  55. export MM_FILE="/lustre/tmp/uotilap/ecearth3/input/nemo/ORCA1L46/mesh_mask_ORCA1L46.nc"
  56. export BM_FILE="/lustre/tmp/uotilap/ecearth3/input/nemo/ORCA1L46/basin_mask_ORCA1L46.nc"
  57. # 3D monthly climatologies of potential temperature and salinity (can be those you used for the NEMO run):
  58. export CDATDIR=/stornext/field/users/${USER}
  59. export F_T_CLIM_3D_12=${CDATDIR}/tiede/PHC/PHC3.0.ORCA1.L46.nc
  60. export F_S_CLIM_3D_12=${CDATDIR}/tiede/PHC/PHC3.0.ORCA1.L46.nc
  61. export SST_CLIM_12=${CDATDIR}/tiede/PHC/PHC3.0.ORCA1.L46.nc
  62. export NN_T_CLIM="T"
  63. export NN_S_CLIM="S"
  64. export NN_SST_CLIM="sst"
  65. export ICE_CLIM_12=${CDATDIR}/sidads.colorado.edu/pub/DATASETS/NOAA/G02202_v2/seaice_conc_ymonmean_1994-2013.ORCA1.nc
  66. export NN_ICEF_CLIM="seaice_conc_monthly_cdr"
  67. # A text file where the vertical hydraugraphical sections of interest are defined :
  68. #export TRANSPORT_SECTION_FILE="${BARAKUDA_ROOT}/data/transportiz_${CONF}_light.dat"
  69. export TRANSPORT_SECTION_FILE="${BARAKUDA_ROOT}/data/transportiz_ORCA1.dat"
  70. # For transport by sigma-class:
  71. export DENSITY_SECTION_FILE="${BARAKUDA_ROOT}/data/dens_section_ORCA1.dat"
  72. # In what directory of the local machine to save the diagnostics:
  73. export DIAG_DIR="/lustre/tmp/${USER}/barakuda/${CONF}"
  74. # Files with the list of rectangular boxes to look at more closely:
  75. export FILE_DEF_BOXES="${BARAKUDA_ROOT}/data/def_boxes_convection_ORCA1.txt"
  76. # About remote HOST to install HTML pages to:
  77. ihttp=0 ; # do we export on a remote http server (1) or keep on the local machine (0)
  78. RHOST=misu228.misu.su.se ; # remote host to send diagnostic page to///
  79. RUSER=laurent ; # username associated to remote host (for file export)
  80. RWWWD=/data/www/barakuda/${CONF} ; # directory of the local or remote host to send the diagnostic page to
  81. #########################
  82. # Diags to be performed #
  83. #########################
  84. # Basic 3D and surface averages:
  85. i_do_mean=1
  86. # AMOC:
  87. i_do_amoc=1
  88. export LMOCLAT="20-23 30-33 40-43 45-48 50-53" ; # List of latitude bands to look in for max of AMOC
  89. # Transport of mass, heat and salt through specified sections (into TRANSPORT_SECTION_FILE):
  90. i_do_trsp=2 ; # transport of mass, heat and salt through specified sections
  91. # # i_do_trsp=2 => treat also different depths range!
  92. z1_trsp=100 ; # first depth: i_do_trsp must be set to 2
  93. z2_trsp=1000 ; # second depth: i_do_trsp must be set to 2
  94. # meridional heat/salt transport (advective)
  95. i_do_mht=1
  96. # Transport by sigma class
  97. i_do_sigt=1
  98. # sea-ice diags
  99. i_do_ice=1 ; # Sea-ice diags
  100. export FILE_ICE_SUFFIX="icemod" ; # in what file to find ice fraction NN_ICEF? => "icemod" or "grid_T"
  101. i_do_bb=1 ; # Budget and other stuffs on a given rectangular box!
  102. # # => needs file FILE_DEF_BOXES !!!
  103. # => produces time-series f(t) (mean of 2D fields)
  104. i_do_ssx_box=0 ; # zoom on given boxes (+spatially-averaged values) for surface properties
  105. # # boxes defined into barakuda_orca.py ...
  106. # Vertical profiles on of box-averaged as a function of time...
  107. i_do_box_TS_z=1 ; # do sigma vert. profiles on given boxes... # 1 => no figures, 2 => figures
  108. # # => needs file FILE_DEF_BOXES !!!
  109. # => produces time-series f(t,z)
  110. #
  111. # Deep Mixed volume in prescribed boxes:
  112. i_do_dmv=1
  113. export MLD_CRIT="1000,725,500"
  114. # Some nerdy stuffs about the critical depth in prescribed boxes:
  115. i_do_zcrit=0
  116. # BETA / TESTING:
  117. # Fresh-water transport associated to sea-ice transport
  118. # => must compile cdficeflux.x but depends on more recent CDFTOOLS module...
  119. i_do_icet=0 ; # treat sea-ice volume transport!
  120. export TRANSPORT_ICE_SECTION_FILE="${BARAKUDA_ROOT}/data/transportiz_ORCA1_ARCTIC.dat"
  121. i_do_flx=0 ; # surface fluxes diags
  122. i_do_amo=0 ; # buit a SST time serie usable to build Atlantic Multidecadal Oscilation index
  123. i_do_sect=0 ; # do sigma vert. profiles on given boxes...
  124. VSECT_NM=( "Indian_77p5_E" "Atlantic_21p5_W" )
  125. VSECT_JI=( "5,5" "266,266" ) ; # X range in C convention
  126. VSECT_JJ=( "25,170" "7,291" ) ; # Y range in C convention