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.
2014WP/2014_SystemSimplification_hard_coding (diff) – NEMO

Changes between Version 4 and Version 5 of 2014WP/2014_SystemSimplification_hard_coding


Ignore:
Timestamp:
2015-10-22T09:44:28+02:00 (9 years ago)
Author:
gm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 2014WP/2014_SystemSimplification_hard_coding

    v4 v5  
    1515Here follows a brief description of "hard coding" associated to build in configuration (mostly ORCA configuration) and suggestion about what we plan to done with them 
    1616 
    17 [[BR]] '''cla.F90, domzgr.F90, dynspg_flt.F90'''         :  cross land advection only defined in ORCA2 case [[BR]].                     (gibraltar and Bad el Mendeb straits) and no more used[[BR]].                     ===>>>  module to be suppress              '''        DONE in '''  [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF] 
     17[[BR]] '''cla.F90, domzgr.F90, dynspg_flt.F90'''         : 
    1818 
    19 '''closea.F90'''        :  suppress closed seas in forced mode (typically Caspian Sea, Azov Sea…) [[BR]].                   or balance their fresh water budget in coupled mode …[[BR]].                   '''===>>>  How to deal with that ?'''  idea user_defined module for close.F90 
     19 cross land advection only defined in ORCA2 case [[BR]](gibraltar and Bad el Mendeb straits) and no more used[[BR]] ===>>>  module to be suppress              '''        DONE in '''  [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF] 
     20'''closea.F90'''        :  
    2021 
    21 [[BR]] '''diafwb.F90'''        :  only diagnostics of the global fresh water budget and of transport of mass salt and heat in some straits (Gibraltar, Red Sea, Baltic Sea etc. for ORCA 4°, 2° & 1°) 
     22  suppress closed seas in forced mode (typically Caspian Sea, Azov Sea…)[[BR]]or balance their fresh water budget in coupled mode …[[BR]]'''===>>>  How to deal with that ?'''  idea user_defined module for close.F90 
    2223 
    23   '''     ===>>>  module to be suppress  '''  idea user_defined module for that 
     24[[BR]] '''diafwb.F90'''        :  
    2425 
    25 [[BR]] '''diaptr.F90'''        :  Computes meridional transports and zonal means (of heat salt velocities). Inefficient on MPP as require global communication. Better to compute off line. Suppress the module and add the output of the vertical average of u.T , v.T , u.S, v.S from which exact poleward heat transport can be computed… 
     26   only diagnostics of the global fresh water budget and of transport of mass salt and heat in some straits:[[BR]]Gibraltar, Red Sea, Baltic Sea etc. for ORCA 4°, 2° & 1°[[BR]]'''===>>>  module to be suppress  '''    idea user_defined module for that 
    2627 
    27   '''    ===>>>  module to be suppress (?)''' 
     28[[BR]] '''diaptr.F90'''        : 
    2829 
    29 [[BR]] '''domhgr.F90'''        :  hard coded reduction of scale factors in some straits in ORCA configurations (typically straits of Gibraltar, Bab el Mandeb, Danish, Lombok, Sumba, etc).  The input coordinates.nc file have to contain the information (+ add in TOOLS a fortran program as an example of how to modify a coordinates.nc file) 
     30  Computes meridional transports and zonal means (of heat salt velocities). [[BR]]Inefficient on MPP as require global communication. Better to compute off line. [[BR]]Suppress the module and add the output of the vertical average of u.T , v.T , u.S, v.S [[BR]]from which exact poleward heat transport can be computed…[[BR]]'''===>>>  module to be suppress (?)  '''discussion still open as in ESM, they want those diags directly in the output... 
    3031 
    31   ===>>>  remove hard coded part  '''      DONE in '''  [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF] 
     32[[BR]] '''domhgr.F90'''        :   
     33 
     34  hard coded reduction of scale factors in some straits in ORCA configurations [[BR]](typically straits of Gibraltar, Bab el Mandeb, Danish, Lombok, Sumba, etc).  [[BR]]The input coordinates.nc file have to contain the information [[BR]](+ add in TOOLS a fortran program as an example of how to modify a coordinates.nc file)[[BR]]===>>>  remove hard coded part             '''DONE in '''    [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF] 
    3235 
    3336[[BR]] '''dommsk.F90'''        :  hard coded increase of lateral friction at the coast in some straits. Add a external file to be read that contains the specification of lateral friction (+ add in TOOLS a fortran program as an example of how to specify the input file) 
    3437 
    35   '''    ===>>>  remove hard coded part ''' 
     38  '''      ===>>>  remove hard coded part ''' 
    3639 
    3740[[BR]] '''domvvl.F90'''        :  modifications associated with the reduction of scale factors in some straits. No more necessary (addition of unaltered surface (e1e2u, e1e2v) in coordinates.nc when scale factors are reduced in some straits. 
    3841 
    39   ===>>>  remove hard coded part, modify coordinates.nc   '''     DONE in '''  [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF] 
     42  ===>>>  remove hard coded part, modify coordinates.nc   '''       DONE in '''    [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF] 
    4043 
    4144[[BR]] '''dtatsd, dtauvd.F90'''        :  in ORCA_R2 case, some hand made alterations in Red and Med Seas as well as changes associated with cross-land advection. Can be removed. If someone wants similar things, he has to modify the T-S data file. 
    4245 
    43   '''    ===>>>  remove hard coded part ''' 
     46  '''      ===>>>  remove hard coded part ''' 
    4447 
    4548[[BR]] '''istate.F90'''        :  analytical initial state for EEL and GYRE 
    4649 
    47   '''    ===>>> to be kept''' 
     50  '''      ===>>> to be kept''' 
    4851 
    4952[[BR]] '''ldfslp.F90'''        :  alteration of the slope for ORCA 4° only. No more necessary 
    5053 
    51   ===>>>  remove hard coded part   '''     DONE in '''  [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF] 
     54  ===>>>  remove hard coded part   '''       DONE in '''    [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF] 
    5255 
    5356[[BR]] '''ldftra.F90 (ldf_eiv)''' :  hard coded alteration of the eiv coef. in orca2 case. Now the eiv coef.  can be provided in a file 
    5457 
    55   ===>>>  remove hard coded part   '''     DONE in '''  [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF] 
     58  ===>>>  remove hard coded part   '''       DONE in '''    [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF] 
    5659 
    5760[[BR]] '''p4zsbc.F90'''        :  hard coded enhance coastal supply of iron for ORCA2. Since a file is provided that can contains the specificity of ORCA 2° 
    5861 
    59   '''    ===>>>  remove hard coded part ''' 
     62  '''      ===>>>  remove hard coded part ''' 
    6063 
    6164[[BR]] '''sbcrnf.F90'''        :  hard coded uunoff reduction only associated to the ORCA2_LIM. It is associated with an old runoff file may lead to bug! 
    6265 
    63   '''    ===>>>  remove hard coded part ''' 
     66  '''      ===>>>  remove hard coded part ''' 
    6467 
    6568[[BR]] '''traadv_cen2.F90''' :  hard coded upstream in vicinity of river mouth and freezing point. As cen2 is no more used in ORCA configuration, juste remove everything and keep a standard 2nd order centered scheme. 
    6669 
    67   ===>>>  remove hard coded part   '''     DONE in '''  [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF]  (now traadv_cen.F90) 
     70  ===>>>  remove hard coded part   '''       DONE in '''    [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF]    (now traadv_cen.F90) 
    6871 
    6972[[BR]] trabbl.F90        :  ORCA 4° & 2°, regional enhancement of ah_bbl 
    7073 
    71   '''    ===>>>  to be suppress ''' 
     74  '''      ===>>>  to be suppress ''' 
    7275 
    7376'''ldfdyn.F90''' :  specific viscosity in ORCA 2° and ORCA 1°. Read them in an input file (+ add in TOOLS a fortran program as an example of how generate the input file) 
    7477 
    75   ===>>>  remove hard coded part   '''     DONE in '''  [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF] 
     78  ===>>>  remove hard coded part   '''       DONE in '''    [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF] 
    7679 
    7780[[BR]] '''tradmp.F90 ; trcdmp.F90''' :   hard coded definition of damping area for ORCA 2°, 1°, 0.5°. Read them in an input file (+ add in TOOLS a fortran program as an example of how generate the input file) 
    7881 
    79   '''    ===>>>  remove hard coded part ''' 
     82  '''      ===>>>  remove hard coded part ''' 
    8083 
    8184----