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:
2 Comments
Spatial Data: Climate data from WorldClimSteven GrayNovember 5, 2015Data Category: Climate Data Data Description: WorldClim (also Bioclim) is a public resource that provides global climate data. Data Link: http://www.worldclim.org/ Data Use Policy: “This dataset is freely available for academic and other non-commercial use. Redistribution, or commercial use is not allowed without prior permission.” Use with R: WorldClim climate data can be downloaded directly by using several R packages. Here I will use the “raster” package, as shown below for annual precipitation, which I will subset for South Africa. For use with software other than R, browse “current” data here: http://www.worldclim.org/current
|
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
|