Changes between Version 6 and Version 7 of Users/SetupNewConfiguration/cdo-interpolation
- Timestamp:
- 2017-03-31T21:33:36+02:00 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Users/SetupNewConfiguration/cdo-interpolation
v6 v7 18 18 You need to prepare a netCDF grid description file for the ORCA curvilinear grid.[[BR]] 19 19 This 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 yyyare the name of the longitude and latitude variables mentioned just above20 - 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 23 23 24 24 There is an example of a [http://www.unidata.ucar.edu/software/netcdf/ netCDF] grid description file for the T grid of ORCA2: … … 37 37 }}} 38 38 39 There is an example of nco commands to create this file from coordinates.nc(input file used by NEMO for its grid description)39 There is an example of nco commands to create this file from `coordinates.nc` (input file used by NEMO for its grid description) 40 40 {{{#!sh 41 41 # select glamt and gphit variables from the coordinates file … … 63 63 64 64 For a curvilinear grid: 65 - you have to follow above spe fication65 - you have to follow above specification 66 66 For a regular lon/lat grid: 67 67 - 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: 69 69 {{{ 70 70 netcdf etopo5 {