nc_regrid: Regrid netCDF file

Description Usage Arguments

View source: R/utils-nc.R

Description

Regrid netCDF file

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
nc_regrid(
  filename,
  varid,
  timeid = NULL,
  latid = "lat",
  lonid = "lon",
  newgrid = c(0.5, 0.5),
  output_filename = paste0(filename, ".nc"),
  overwrite = TRUE
)

Arguments

filename

Filename for the netCDF input (relative or absolute path).

varid

String with the main variable identifier.

timeid

String with the time dimension identifier.

latid

String with the latitude dimension identifier.

lonid

String with the longitude dimension identifier.

output_filename

Output filename.

overwrite

Boolean flag to indicate if the output file should be overwritten (if it exists).


special-uor/codos documentation built on Jan. 7, 2022, 2:32 a.m.