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 5 and Version 6 of 2014WP/2014_SystemSimplification_hard_coding


Ignore:
Timestamp:
2015-10-22T09:59:51+02:00 (8 years ago)
Author:
gm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 2014WP/2014_SystemSimplification_hard_coding

    v5 v6  
    1717[[BR]] '''cla.F90, domzgr.F90, dynspg_flt.F90'''         : 
    1818 
    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'''        :  
     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              [[BR]]'''DONE in '''   [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF] 
    2120 
    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 
     21'''closea.F90'''        : 
    2322 
    24 [[BR]] '''diafwb.F90'''        :  
     23  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 
    2524 
    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 
     25[[BR]] '''diafwb.F90'''        : 
     26 
     27  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 
    2728 
    2829[[BR]] '''diaptr.F90'''        : 
    2930 
    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... 
     31  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... 
    3132 
    32 [[BR]] '''domhgr.F90'''        :   
     33[[BR]] '''domhgr.F90'''        : 
    3334 
    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] 
     35  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             [[BR]]'''DONE in '''     [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF] 
    3536 
    36 [[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) 
     37[[BR]] '''dommsk.F90'''        :  
    3738 
    38   '''      ===>>>  remove hard coded part ''' 
     39  hard coded increase of lateral friction at the coast in some straits. [[BR]]Add a external file to be read that contains the specification of lateral friction [[BR]](+ add in TOOLS a fortran program as an example of how to specify the input file)[[BR]]'''===>>>  remove hard coded part''' 
    3940 
    40 [[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. 
     41[[BR]] '''domvvl.F90'''        :  
    4142 
    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] 
     43  modifications associated with the reduction of scale factors in some straits. No more needed: [[BR]]addition of unaltered surface (e1e2u, e1e2v) in coordinates.nc when scale factors are reduced in some straits.[[BR]]===>>>  remove hard coded part, modify coordinates.nc   [[BR]]'''DONE in '''     [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF] 
    4344 
    44 [[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. 
     45[[BR]] '''dtatsd, dtauvd.F90'''        : 
    4546 
    46   '''      ===>>>  remove hard coded part ''' 
     47   in ORCA_R2 case, some hand made alterations in Red and Med Seas as well as changes associated with cross-land advection. [[BR]]Can be removed. If someone wants similar things, he has to modify the T-S data file.[[BR]]'''===>>>  remove hard coded part''' 
    4748 
    48 [[BR]] '''istate.F90'''        :  analytical initial state for EEL and GYRE 
     49[[BR]] '''istate.F90'''        :  
    4950 
    50   '''      ===>>> to be kept''' 
     51  analytical initial state for EEL and GYRE[[BR]]'''===>>> to be kept util USER defined modules are introduced''' 
    5152 
    52 [[BR]] '''ldfslp.F90'''        :  alteration of the slope for ORCA 4° only. No more necessary 
     53[[BR]] '''ldfslp.F90'''        :  
    5354 
    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] 
     55  alteration of the slope for ORCA 4° only. No more needed.[[BR]]===>>>  remove hard coded part   [[BR]]'''DONE in '''     [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF] 
    5556 
    56 [[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 
     57[[BR]] '''ldftra.F90 (ldf_eiv)''' :  
    5758 
    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] 
     59  hard coded alteration of the eiv coef. in orca2 case. [[BR]]Now the eiv coef.  can be provided in a file[[BR]]===>>>  remove hard coded part   [[BR]]'''DONE in '''     [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF] 
    5960 
    60 [[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° 
     61[[BR]] '''p4zsbc.F90'''        :  
    6162 
    62   '''      ===>>>  remove hard coded part ''' 
     63  hard coded enhance coastal supply of iron for ORCA2. [[BR]]Since a file is provided that can contains the specificity of ORCA 2°[[BR]]'''===>>>  remove hard coded part''' 
    6364 
    64 [[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! 
     65[[BR]] '''sbcrnf.F90'''        :  
    6566 
    66   '''      ===>>>  remove hard coded part ''' 
     67  hard coded runoff reduction only associated to the ORCA2_LIM. [[BR]]It is associated with an old runoff file may lead to bug! [[BR]]===>>> remove hard coded part[[BR]]'''DONE in '''2015/dev_r5721_CNRS9_NOC3_ZDF 
    6768 
    68 [[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. 
     69[[BR]] '''traadv_cen2.F90''' :  
    6970 
    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) 
     71  hard coded upstream in vicinity of river mouth and freezing point. [[BR]]As cen2 is no more used in ORCA configuration, [[BR]]just remove everything and keep a standard 2nd order centered scheme.[[BR]]===>>>  remove hard coded part   [[BR]]'''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) 
    7172 
    72 [[BR]] trabbl.F90        :  ORCA 4° & 2°, regional enhancement of ah_bbl 
     73'''trabbl.F90''' :  
    7374 
    74   '''      ===>>>  to be suppress ''' 
     75  ORCA 4° & 2°, regional enhancement of ah_bbl [[BR]]===>>> to be suppress           [[BR]]'''DONE in '''2015/dev_r5721_CNRS9_NOC3_ZDF 
    7576 
    76 '''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) 
     77'''ldfdyn.F90''' :  
    7778 
    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] 
     79  specific viscosity in ORCA 2° and ORCA 1°. Read them in an input file[[BR]](+ add in TOOLS a fortran program as an example of how generate the input file)[[BR]]===>>>  remove hard coded part   [[BR]]'''DONE in '''     [https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/dev_r5721_CNRS9_NOC3_LDF 2015/dev_r5721_CNRS9_NOC3_LDF] 
    7980 
    80 [[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) 
     81'''tradmp.F90 ; trcdmp.F90''' :  
    8182 
    82   '''      ===>>>  remove hard coded part ''' 
     83   
     84   hard coded definition of damping area for ORCA 2°, 1°, 0.5°. Read them in an input file [[BR]](+ add in TOOLS a fortran program as an example of how generate the input file)[[BR]]===>>> remove hard coded part[[BR]]'''DONE in''' nemo_v3_6_STABLE     
    8385 
    84 ---- 
     86'''trcdmp.F90''' :  
     87 
     88 
     89 
     90     hard coded definition of damping in closed seas for ORCA 2°, 1°, 0.5°. [[BR]]'''===>>>      Find a solution''' similar to what will be done for closed seas in OPA (close.F90)