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/SetupNewConfiguration/cdo-interpolation (diff) – NEMO

Changes between Version 6 and Version 7 of Users/SetupNewConfiguration/cdo-interpolation


Ignore:
Timestamp:
2017-03-31T21:33:36+02:00 (7 years ago)
Author:
nicolasmartin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Users/SetupNewConfiguration/cdo-interpolation

    v6 v7  
    1818You need to prepare a netCDF grid description file for the ORCA curvilinear grid.[[BR]] 
    1919This file must contain: 
    20 - a longitude variable with exactly 2 dimensions and the attribute: units = "degrees_east" 
    21 - a latitude variable with exactly 2 dimensions and the attribute: units = "degrees_north" 
    22 - a dummy variable with the attribute: coordinates = "xxx yyy" where xxx and yyy are the name of the longitude and latitude variables mentioned just above 
     20- a longitude variable with exactly 2 dimensions and the attribute: `units = "degrees_east"` 
     21- a latitude variable with exactly 2 dimensions and the attribute: `units = "degrees_north"` 
     22- a dummy variable with the attribute: `coordinates = "xxx yyy"` where `xxx` and `yyy` are the name of the longitude and latitude variables mentioned just above 
    2323 
    2424There is an example of a [http://www.unidata.ucar.edu/software/netcdf/ netCDF] grid description file for the T grid of ORCA2: 
     
    3737}}} 
    3838 
    39 There is an example of nco commands to create this file from coordinates.nc (input file used by NEMO for its grid description) 
     39There is an example of nco commands to create this file from `coordinates.nc` (input file used by NEMO for its grid description) 
    4040{{{#!sh 
    4141# select glamt and gphit variables from the coordinates file 
     
    6363 
    6464For a curvilinear grid: 
    65 - you have to follow above spefication 
     65- you have to follow above specification 
    6666For a regular lon/lat grid: 
    6767- The coordinate variables must have the same name as the dimensions. You can chose any name. If you use the name x for the dimension then you have to use also x for the coordinate variable. 
    68 - The coordinate variable must also have the attribute units = "degrees_east" or "degrees_north" to identify the lon/lat variables: 
     68- The coordinate variable must also have the attribute `units = "degrees_east"` or `"degrees_north"` to identify the lon/lat variables: 
    6969{{{ 
    7070netcdf etopo5 {