Description Usage Arguments Value
Compute the elements for navigating ncfd4 array extraction
1 2 3 4 5 6 7 |
NC |
ncdf4 class object |
bb |
numeric, a 4 element vector specifing the bonding box in [left, right, bottom, top] order. |
level |
numeric vector or one or more contiguous level numbers. Since we are accessing surface data this is a bit of a red herring. Best to accept the default. |
layers |
numeric vector or one or more contiguous layer numbers. |
offset |
numeric the longitudinal offset need to translate between the typical [-180, 180] to the rtofs degrees east system. By default it is 360 which implies the input bb longitudes range form [-180, 180]. If the actual bb longitudes are [0,360] then set this to min(NC$dim$lon$vals) |
a list of navigation elements
start a three element vector of start indices
count a three elemen count of the indices after start
lon a vector of the offset-translated longitude coordinates for the subset
lat a vector of the latitude coordinates for the subset
time a vector of POSIXct datetime vakues for each layer
res a two element of x and y resolution in rtofs native coordinates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.