knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

MODISSnow

Travis-CI Build Status CRAN_Status_Badge

MODISSnow allows to download MODIS snow data from The National Snow & Ice Data Center.

Quick start

Install

Stable version von CRAN.

install.packages("MODISSnow")

Or the dev version from GitHub.

devtools::install_github("jmsigner/MODISSnow")

Authentication

As of February 1st 2017, authentication via earthdata is requried. Free registration is possible at the earthdata portal.

Workflow

library(MODISSnow)
# Download MODIS snow data for a central Europe h = 18 and v = 5 for the 1 of January 2016
dat <- modissnow_get_data(lubridate::ymd("2016-01-01"), h = 18, v = 5, 
                          user = "username", passwd = "password", sat = "MYD10A1")
class(dat)
raster::plot(dat)

Meta



jmsigner/MODISSnow documentation built on May 19, 2019, 1:56 p.m.