Changes between Version 3 and Version 4 of ticket/1472_NOC2_JATTR


Ignore:
Timestamp:
2015-02-17T14:25:32+01:00 (6 years ago)
Author:
acc
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ticket/1472_NOC2_JATTR

    v3 v4  
    1010}}} 
    1111 
    12 Submit first stage changes (introduces option for bathymetry and coordinates only) 
     12Submitted first stage changes (introduces option for bathymetry and coordinates only). These changes have been preliminarily tested in an ORCA1 configuration using the extended grid bathymetry and coordinate files: 
     13 
     14{{{ 
     15eORCA1_bathymetry_v2.nc 
     16eORCA1_coordinates.nc 
     17}}} 
     18 
     19These files define a horizontal domain of 362x332. The first row with open ocean wet points in the non-isf bathymetry for this set is row 41 (Fortran indexing) so the formally correct setting for open_ocean_jstart would be 40. However this results in a 362x293 domain which is one row larger than the original ORCA1 domain. In order to test this configuration with all the old forcing fields, initial conditions and weights, I set the attribute to 41 instead. NEMO fills the first row with land anyway (and there are only a couple of wet points lost) so the resulting configuration is a valid test. Full instructions for configuring this test are: 
     20 
     211. Add the new attribute to any input files requiring a j-row offset, i.e: 
     22 
     23{{{ 
     24ncatted -h  -a open_ocean_jstart,global,m,d,41 eORCA1_coordinates.nc  
     25ncatted -h  -a open_ocean_jstart,global,m,d,41 eORCA1_bathymetry_v2.nc 
     26}}} 
     27 
     282. Add the logical switch to namcfg in the cfg namelist and set true: 
     29 
     30 
     31{{{ 
     32!----------------------------------------------------------------------- 
     33&namcfg        !   parameters of the configuration 
     34!----------------------------------------------------------------------- 
     35   cp_cfg      =  "orca"               !  name of the configuration 
     36   jp_cfg      =       1               !  resolution of the configuration 
     37   jpidta      =     362               !  1st lateral dimension ( >= jpi ) 
     38   jpjdta      =     292               !  2nd    "         "    ( >= jpj ) 
     39   jpkdta      =      75               !  number of levels      ( >= jpk ) 
     40   jpiglo      =     362               !  1st dimension of global domain --> i =jpidta 
     41   jpjglo      =     292               !  2nd    -                  -    --> j  =jpjdta 
     42   jperio      =       6               !  lateral cond. type (between 0 and 6) 
     43   ln_use_jattr = .true.               !  use (T) the file attribute: open_ocean_jstart if present 
     44}}} 
     45 
     46Note the j-size of the global domain is the (extended j-size minus open_ocean_jstart + 1 ) and this must match the size 
     47of all datasets other than bathymetry and coordinates currently. However the option can be extended to any global, 2D and 3D, netcdf, input field by adding the: 
     48 
     49 
     50{{{ 
     51lrowattr=ln_use_jattr 
     52}}} 
     53 
     54optional argument to the appropriate iom_get call and the open_ocean_jstart attribute to the input files. 
    1355 
    1456