View source: R/addStandardSpatialAttributes.R
addStandardSpatialAttributes | R Documentation |
A very simple convenience function for filling the the standard Lon/Lat info when preparing a netCDF file
addStandardSpatialAttributes(nc.file)
nc.file |
The netcdf object to which the attributes should be added |
This function is mostly for internal use (by writeNetCDF), but is also useful for the DGVMData R package so it exported.
It expects the longitude dimension to be named one of lon/Lon/longitude/Longitude and latitude one of lat/Lat/latitude/Latitude. If the fucntion doesn't find one of these it will fail.
A netcdf object
Matthew Forrest matthew.forrest@senckenberg.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.