Description Usage Arguments Value References Examples
View source: R/loadSnowData24km.R
This function downloads 24km x 24km snow ice data from the NSIDS repository (ftp://sidads.colorado.edu/pub/DATASETS/NOAA/G02156/) and processes the data. An additonal function plotSnowData
conveniently maps the output.
1 2 3 4 5 6 7 8 9 10 |
plot |
whether to plot the map. |
northamerica |
whether to limit to North America |
water |
whether or not to include the open water category |
... |
additional arguments to pass to polygon function |
year, day |
of data to download |
filename, directory |
of the ascii raw snow file if raw data are already downloaded |
a data frame that contains:
snow coverage: 1 = open water, 2 = no snow, 3 = sea ice, 4 = snow
of grid cell, in km^2
longitude and latitude - midpoint of grid cell
longitudes of corners of grid cell
latitudes of corners of grid cell
National Ice Center. 2008, updated daily. IMS Daily Northern Hemisphere Snow and Ice Analysis at 1 km, 4 km, and 24 km Resolutions, Version 1. [Indicate subset used]. Boulder, Colorado USA. NSIDC: National Snow and Ice Data Center. doi: http://dx.doi.org/10.7265/N52R3PMC. [Date Accessed].
1 2 3 | # The output is equivalent to the saved examples in \code{\link{snow24km}}
snow.data <- loadSnowData24km(2011, 16)
plotSnowData(snow.data); title("Jan 16, 2011")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.