extract_data: Extract data from netCDF file

Description Usage Arguments Value

View source: R/utils-nc.R

Description

Extract data from netCDF file

Usage

1
2
3
4
5
6
7
8
9
extract_data(
  filename,
  varid,
  s_year = NULL,
  e_year = NULL,
  timeid = "time",
  latid = "lat",
  lonid = "lon"
)

Arguments

filename

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

varid

String with the main variable identifier.

s_year

Numeric value with the start year.

e_year

Numeric value with the end year.

timeid

String with the time dimension identifier.

latid

String with the latitude dimension identifier.

lonid

String with the longitude dimension identifier.

Value

List with dimensions (latitude, longitude, and time) and selected variable (varid).


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