get_grid.Rd
Returns a data.frame defining longitude value and longitude index for a given NetCDF file
get_grid(ncdf, lonnam, latnam)
Either a character string specifying the complete path to a
NetCDF file, or an object of class tidync::tidync
, or a list returned
by get_grid
.
The dimension name of longitude in the NetCDF files.
The dimension name of latitude in the NetCDF files.
A list specifying the grid. Contains elements lon_start
,
dlon
, len_ilon
, lat_start
, dlat
, and
len_ilat
.