Read a netCDF variable into a Gridded Time-Series.

read_gts(filename, varid = NULL, control = list(), ...)

Arguments

filename

The filename of the netCDF file.

varid

String with the name of the variable in the file to read the data from. If left unspecified, the function will determine if there is only one variable in the file and, if so, read from that. If left unspecified and there are multiple variables in the file, an error is generated.

control

A list with additional options, particularly the time units and origin when not specified in the file.

...

Additional arguments.

Value

A gts object