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.
Users/ModelInterfacing/BiogeochemistryCoarsening (diff) – NEMO

Changes between Version 19 and Version 20 of Users/ModelInterfacing/BiogeochemistryCoarsening


Ignore:
Timestamp:
2017-05-31T18:12:52+02:00 (7 years ago)
Author:
cbricaud
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Users/ModelInterfacing/BiogeochemistryCoarsening

    v19 v20  
    2020 
    2121 
    22 == How to ? == 
     22== How to activate coarsening ? == 
    2323 
    2424To activate the coarsening, key_crs should be added to list of cpp keys. This key will only activate the coarsening of dynamics. 
     
    6868To write variables on the coarsened grid, and in particular the passive tracers, a "nemo_crs" context should be defined in  [attachment:iodef.xml iodef.xml] and the associated variable are listed in [attachment:file_crs_def.xml file_crs_def.xml ]. 
    6969 
     70== Passive tracers tracers initial conditions   ==  
     71 
     72When initial conditions are provided in netcdf files, the field might be:[[BR]] 
     73 
     74 - on the coarsened grid [[BR]] 
     75 
     76 - or they can be on another grid and interpolated [browser:Users/SetupNewConfiguration/Weight-creator on-the-fly ]. 
     77   Example of namelist for PISCES : 
    7078 
    7179 
     80{{{ 
     81!----------------------------------------------------------------------- 
     82&namtrc_dta      !    Initialisation from data input file 
     83!----------------------------------------------------------------------- 
     84! 
     85   sn_trcdta(1)  = 'DIC_REG1'        ,        -12        ,  'DIC'     ,    .false.   , .true. , 'yearly'  , 'reshape_REG1toeORCA075_bilin.nc'       , ''   , '' 
     86   sn_trcdta(2)  = 'ALK_REG1'        ,        -12        ,  'ALK'     ,    .false.   , .true. , 'yearly'  , 'reshape_REG1toeORCA075_bilin.nc'       , ''   , '' 
     87   sn_trcdta(3)  = 'O2_REG1'         ,        -1         ,  'O2'      ,    .true.    , .true. , 'yearly'  , 'reshape_REG1toeORCA075_bilin.nc'       , ''   , '' 
     88   sn_trcdta(5)  = 'PO4_REG1'        ,        -1         ,  'PO4'     ,    .true.    , .true. , 'yearly'  , 'reshape_REG1toeORCA075_bilin.nc'       , ''   , '' 
     89   sn_trcdta(7)  = 'Si_REG1'         ,        -1         ,  'Si'      ,    .true.    , .true. , 'yearly'  , 'reshape_REG1toeORCA075_bilin.nc'       , ''   , '' 
     90   sn_trcdta(10) = 'DOC_REG1'        ,        -12        ,  'DOC'     ,    .false.   , .true. , 'yearly'  , 'reshape_REG1toeORCA075_bilin.nc'       , ''   , '' 
     91   sn_trcdta(14) = 'Fe_REG1'         ,        -12        ,  'Fe'      ,    .false.   , .true. , 'yearly'  , 'reshape_REG1toeORCA075_bilin.nc'       , ''   , '' 
     92   sn_trcdta(23) = 'NO3_REG1'        ,        -1         ,  'NO3'     ,    .true.    , .true. , 'yearly'  , 'reshape_REG1toeORCA075_bilin.nc'       , ''   , '' 
     93   rn_trfac(1)   =   1.0e-06  !  multiplicative factor 
     94   rn_trfac(2)   =   1.0e-06  !  -      -      -     - 
     95   rn_trfac(3)   =  44.6e-06  !  -      -      -     - 
     96   rn_trfac(5)   = 122.0e-06  !  -      -      -     - 
     97   rn_trfac(7)   =   1.0e-06  !  -      -      -     - 
     98   rn_trfac(10)  =   1.0e-06  !  -      -      -     - 
     99   rn_trfac(14)  =   1.0e-06  !  -      -      -     - 
     100   rn_trfac(23)  =   7.6e-06  !  -      -      -     - 
    72101 
     102   cn_dir        =  './'      !  root directory for the location of the data files 
     103}}} 
     104 
     105== PISCES forcing files  ==  
     106