isin.convert | R Documentation |
This function is used to convert information regarding the
ISIN grid information used by Globcolour as well as to construct
associated polygons for use in mapping.
The raw Globcolour .nc files come with column and row pointers
as to the the grid's location. For 4.63 km resolution data ("L3b"), this
translates to 4320 latitudinal rows with varying number of
associated longitudinal columns depending on the latitudinal
circumference.
Input must be either a vector of grid numbers, grd
, or a dataframe
with column and row identifiers, coord
. See Globcolour's "Product
User Guide" for fulther details of the ISIN grid
(http://www.globcolour.info/products_description.html).
isin.convert(grd = NULL, coord = NULL, polygons = FALSE)
grd |
numeric vector containing ISIN grid numbers needed for calculating lon/lat coordinates or polygons. |
coord |
data.frame containing ISIN grid coordinates (row and column
locations). Names of columns should be |
polygons |
Logical. Should grid polygon corner coordinates be returned. |
If "polygons = TRUE
", then returns grid information
as a dataframe, including lon / lat values of grid centers. If
"polygons = TRUE
", then returns a list with
polygon corners in a dataframe(longitudinal coordinates of corners (e.g.
[[i]]$x
) and latitudinal coordinates of corners (
[[i]]$y
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.