fetch_var: Fetch the trimmed data array according to the trimmed lat/lon...

Description Usage Arguments Value

Description

Fetch the trimmed data array according to the trimmed lat/lon and the trimmed time interval

Usage

1
fetch_var(nc_file, var_name, lat_lon_ind, time_ind)

Arguments

nc_file

Opened ncdf file

var_name

The name of the variable that should be read. If NULL the first variable is selected

lat_lon_ind

The indices of the in x/y dimensions to extract only the extent of the data array that covers the shape extent

time_ind

The indices in the time dimension to only extract the data for the time period of interest

Value

Returns the variable's data as a list of matrices.


chrisschuerz/aRastoCAT documentation built on May 16, 2020, 1:33 a.m.