sea_ice | R Documentation |
Get sea ice data.
sea_ice(year = NULL, month = NULL, pole = NULL, format = "shp", ...)
year |
(numeric) a year |
month |
(character) a month, as character abbrevation of a month |
pole |
(character) one of S (south) or N (north) |
format |
(character) one of shp (default), geotiff-extent (for geotiff extent data), or geotiff-conc (for geotiff concentration data) |
... |
Further arguments passed on to |
data.frame if format="shp"
(a fortified sp object);
raster::raster()
if not
See the "User Guide" pdf at https://nsidc.org/data/g02135
sea_ice_tabular()
## Not run:
if (requireNamespace("raster")) {
## one year, one moth, one pole
sea_ice(year = 1990, month = "Apr", pole = "N")
sea_ice(year = 1990, month = "Apr", pole = "N", format = "geotiff-extent")
sea_ice(year = 1990, month = "Apr", pole = "N", format = "geotiff-conc")
## one year, one month, many poles
sea_ice(year = 1990, month = "Apr")
## one year, many months, many poles
sea_ice(year = 1990, month = c("Apr", "Jun", "Oct"))
## many years, one month, one pole
sea_ice(year = 1990:1992, month = "Sep", pole = "N")
# get geotiff instead of shp data.
x <- sea_ice(year = 1990, month = "Apr", format = "geotiff-extent")
y <- sea_ice(year = 1990, month = "Apr", format = "geotiff-conc")
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.