knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
Support the NASA / GlobColour / CCI ISIN grid used for MODIS L3BIN satellite products. This package can be installed as follow:
devtools::install_github("PMassicotte/isin")
library(isin) ## Create test dataset bin_num = c(245535, 245536, 247290, 249046, 249047, 250809)
The bin2latlon()
function converts a MODIS bin index to longitude and latitude.
df <- bin2latlon(bin_num) df
The latlon2bin()
function converts a pair of longitude/latitude to a MODIS bin index.
latlon2bin(lat = df$latitude, lon = df$longitude)
The C/C++ code is almost entierly based on oceancolor algorithm. Credit should be given to them.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.