View source: R/functions_netCDF.R
read_crs_from_netCDF | R Documentation |
Read crs projection from a netCDF
read_crs_from_netCDF(x, nc_name_crs = "crs", nc_name_crs_wkt = "crs_wkt")
x |
An object identifying a netCDF file, i.e.,
a character string as file name or an object of class ncdf4 derived
from |
nc_name_crs |
A character string. The name of the crs variable
in the netCDF.
Function |
nc_name_crs_wkt |
A character string. The name of the attribute
that holds the WKT2 string of the crs variable
in the netCDF.
Function |
An object of the crs-class of package sf.
Example code is available in the documentation of
read_netCDF
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.