binlatlon | R Documentation |
This creates a dataframe containing the bin number, longitude, and latitudes for the full globe, for a given resolution, using the Integerized Sinusoidal Binning Scheme used by NASA OBPG for their level-3 binned satellite files (e.g. MODIS-Aqua). More info here: https://oceancolor.gsfc.nasa.gov/docs/format/l3bins/
binlatlon(
resolution = "4",
lonlim = c(-180, 180),
latlim = c(-90, 90),
max_bins = 5e+07
)
resolution |
String indicating spatial resolution, see ?gen_nrows for list of accepted strings |
lonlim |
Minimum and maximum longitude of the area of interest |
latlim |
Minimum and maximum latitude of the area of interest |
max_bins |
Maximum number of bins that can be generated between the selected latitudes. This is to prevent overloading memory with the higher-resolution grids (e.g. 250m, 1km) |
WARNING: This retrieves ALL bins, over both land and water. The pre-made bin vectors for pancan/nwa/nep/gosl regions that are retrieved by the get_bins() function only include bins over water.
LATITUDE AND LONGITUDE ARE AT THE CENTER OF THE BIN.
Dataframe with 3 columns: bin number, longitude, latitude
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.