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
6 Comments
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).
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.
|
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
|