MEaSURes 25KM snow cover data downloadSean SultaireNovember 5, 2015Data category: Climate data Data Description: MEaSUReS 25km resolution snow cover data can be obtained daily for the entire northern hemisphere between 1999 and 2012. It contains 4 different model derived snow cover variables, one of which is used here. Data use policy: at Data link Use with R: The snow cover data is available on a NASA FTP server. The following script recursively downloads NETCDF files from the NASA ftp server (1 for each day) with package RCurl. It then processes the nc files using the packages ncdf and ncdf4 into a usable raster stack (raster package).
0 Comments
Spatial Data: Climate Data from PRISM Climate GroupData Category: Climate Data Data Description: PRISM Climate Group provides climate observations that has been gathered to show short and long term patterns. Most of the time this data is free except when data sets become large/complex. This data goes back to 1895 and up to present day. This data cover the contiguous United States. Data Link: http://www.prism.oregonstate.edu/ Data Use Policy: http://http://www.prism.oregonstate.edu/documents/PRISM_terms_of_use.pdf Use with R: For PRISM Climate Data, you need to manually download the file to you computer. You can do this by going to the PRISM website and downloading whatever data you want. http://www.prism.oregonstate.edu/normals/ Packages to Load:
Here I am doing the mean Minimum Temperature over the last 30 years. After you download the file, you will need to unzip the folder. Set up your working directory to where you unzipped your files.
Your next step is to create the raster.
Now you can plot your raster.
NCDC API: an R Interface with many NOAA Data SourcesRebecca L CainNovember 4, 2015Data Category: National Oceanic and Atmospheric Administration (NOAA) Climate Data Data Description: Climate Data Online (CDO) provides free access to NCDC’s archive of global historical weather and climate data in addition to station history information. These data include quality controlled daily, monthly, seasonal, and yearly measurements of temperature, precipitation, wind, and degree days as well as radar data and 30-year Climate Normals. Use with R: National Climatic Data Center (NCDC) data can be downloaded directly for certain species by using the R package “rnoaa”, as shown below for Ingham County, Michigan. The data for this example are DSNW from the Annual Summaries Dataset and PRCP from the Monthly Summaries Dataset. To explore the numerous datasets and datatypes available, explore the Climate Data Online Interface at http://www.ncdc.noaa.gov/cdo-web/datasets. The rnoaa() package has many more functions than the ones covered here. NOTE: To gain access to NCDC CDO Web Services, you must obtain a token using this link and following the directions given. http://www.ncdc.noaa.gov/cdo-web/token
Example 1Total Monthly Precipitation for one weather station in Ingham County, Michigan (2000-2010)
Example 2Total Number of Days with Snow Depth Greater than 1 inch in Ingham County, Michigan (2000-2010) This data came from the Annual Climatological Summaries Dataset.
More Potentially Helpful References:NOAA NCDC Attributes Information: NCDC workflow vignette: https://cran.r-project.org/web/packages/rnoaa/vignettes/ncdc_workflow.html Annual Climatological Summaries Documentation: rnooa() Tutorial: Getting Started with Web Services v2: |
Spatial Ecology @ MSUClick on "Category" below to search for R code compiled by the Zarnetske Spatial & Community Ecology Lab and students in MSU's Spatial Ecology graduate course (FOR870/FW870) Category
All
Archive
October 2016
|