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.
2020WP/TOP-04_lovato_IMMERSE_BGC_interface (diff) – NEMO

Changes between Version 12 and Version 13 of 2020WP/TOP-04_lovato_IMMERSE_BGC_interface


Ignore:
Timestamp:
2021-02-09T17:04:14+01:00 (3 years ago)
Author:
lovato
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 2020WP/TOP-04_lovato_IMMERSE_BGC_interface

    v12 v13  
    6868== Tests 
    6969{{{ #!box width=50em  
    70 Here below the development details: 
     70'''Module development'''  
    7171- [http://forge.ipsl.jussieu.fr/nemo/browser/NEMO/branches/2020/dev_r12985_TOP-04_IMMERSE_BGC_interface/src/TOP/trcopt.F90 trcopt.F90] module created within src/TOP folder 
    7272- add to {{{namelist_top_ref}}} specific namelist [http://forge.ipsl.jussieu.fr/nemo/browser/NEMO/branches/2020/dev_r12985_TOP-04_IMMERSE_BGC_interface/cfgs/SHARED/namelist_top_ref#L102 nam__trcopt] 
    7373 
    74 The module allows to select the type of light computation to be passed to BGC coupled models by setting the {{{light_loc}}} option to \\ 
    75 -'center', light in the middle of the water cell \\ 
    76 -'integral', light integrated over the water cell thickness 
    7774 
    78 In this case SETTE tests won’t provide adequate info as the module needs to be plugged, so testing  was carried out by applying MY_SRC modifications to a new configuration based on ORCA2_ICE_PISCES to evaluate the module outcomes wrt existing code. 
     75The module allows to \\ 
     76- prescribe PAR conversion factor from external file\\ 
     77- set irradiance to PAR fixed conversion factor {{{parlux}}}\\ 
     78- select the type of light computation to be passed to BGC coupled models by setting the {{{light_loc}}} option to '''center''' (light in the middle of the water cell) and '''integral''' (light integrated over the water cell thickness) 
     79- provide diagnostics for euphotic layer depth {{{heup}}} and weighted broadband attenuation coefficient {{{xeps}}}. 
     80 
     81'''NOTE before merging it is necessary to add xeps to SHARED/field_def_nemo-oce.xml ''' 
     82 
     83'''Module testing''' 
     84 
     85In this case SETTE tests won’t provide adequate info as the module needs to be plugged to be active, so testing  was carried out by applying MY_SRC modifications to a new configuration based on ORCA2_ICE_PISCES to evaluate the module outcomes wrt existing code. 
    7986The following diff show changes to have to be done to plug the module within a BGC model: 
    8087 
     
    117124}}} 
    118125 
     126Here attached also the opt_ORCA2_ICE_PISCES.tgz archive with the complete configuration used for the verification (copy it to /cfgs and uncompress). 
     127'''Note that new fields are defined in the .xmls files contained in tgz archive.''' 
     128 
     129By using the default option {{{light_loc = 'center'}}} the difference in total PAR compared to the same PISCES parametrization after 1 year are close to the numerical rounding (~5.e-15). Differences are mainly due to a slightly difference sequence of math operations in the two schemes. 
     130 
     131[[Image(etot_1year_surface_center_option.png, width=100%)]] 
     132 
     133A comparison between the two options {{{light_loc = 'integral'}}}-{{{light_loc = 'center'}}} indicated that the light integration over the water cell thickness provides, as expected, slightly higher values. Clearly longer comparison will deviate due to the feedback loop between the light and chla from phytoplankton. 
     134 
     135[[Image(etot_surface_diff_integral-central.png, width=100%)]] 
    119136 
    120137 
    121138 
    122 Here attached also the opt_ORCA2_ICE_PISCES.tgz archive with the complete configuration used for the verification (copy it to /cfgs and uncompress). 
    123 '''Note that new fields are defined in the .xmls files contained in tgz archive.''' 
     139}}} 
    124140 
    125 By using the default option {{{light_loc = 'center'}}} the difference in total PAR compared to the same PISCES parametrization after 1 year are close to the numerical rounding (~5.e-15) 
    126141 
    127 [[Image(etot_1year_surface_center_option.png, width=100%)]] 
    128 }}} 
    129142 
    130143