read_grid.Rd
Read the grid from a file
read_grid(
filename,
varid = NULL,
mask = NULL,
create_mask = FALSE,
value = FALSE,
...
)
The filename of the netCDF file.
Variable used to create the mask, see details.
Variable with an actual mask for the grid, must be of dimension 2.
Should we create a new mask using the same algorithm as make_grid?
Additional arguments passed to the make_grid function, mainly 'n', 'thr' and 'hires'.
Return the grid associated to the variables in the file.
read_grid()
#> Error in read_grid(): argument "filename" is missing, with no default