Data Intensive Tutorials
Tutorials
Tutorials that cover data intensive topics
Title in Single Quotes
DELETE THIS POST Please write 1-3 sentence exerpt summarizing the tutorial here.Using R and Python in the same Jupyter Notebook
About this tutorial...Running Parallel Jobs on JupyterHub in R
About this tutorial...Acquire and visualize USGS hydrology data in Python
About this tutorial...Open Science Data Intensive University Classroom Activity
A hands-on activity where students review a project for readability, organization, etc and identify key elements that would make it more usable and readily reproducible.Create RasterStacks from arrays with hdf5 files in R
The National Snow and Ice Data Center hosts soil moisture data (from the NASA Soil Moisture Active Passive project, described here, and hereafter referred to as SMAP) which is provided in .h5 format. HDF5 is a “hierarchical” data format, with multiple groups and datasets (further explained in Step 2) which are useful for storing and organizing large amounts of data. While this format is great for the large amount of data being collected, we often want to utilize a single dataset within the file.
HDF5 to Raster Tutorial with Python
The National Snow and Ice Data Center hosts soil moisture data (from the NASA Soil Moisture Active Passive project, described here, and hereafter referred to as SMAP) which is provided in .h5 format. HDF5 is a “hierarchical” data format, with multiple groups and datasets (further explained in Step 2) which are useful for storing and organizing large amounts of data. While this format is great for the large amount of data being collected, we often want to utilize a single dataset within the file.
Project SMAP data onto Landsat data in R
The National Snow and Ice Data Center hosts soil moisture data (from the NASA Soil Moisture Active Passive project, described here, and hereafter referred to as SMAP). An important skill for analyzing the SMAP data is the ability to re-project the spatial data to spatial data collected from seperate sources, and covering different spatial extents. One such data source is the joint U.S. Geological Services (USGS) and NASA Landsat Project.
Acquiring U.S. census data with Python and cenpy
There are several useful online sources for accessing census data provided both by the US census Bureau (American Factfinder), and outside sources. These sources, however, are not conducive to large scale data aquisition and analysis. The Cenpy python package allows for programmitic access of this data through the Census Bureau’s API.
Using R and Python in the Same Notebook
R and Python are both useful to retrieve, analyze, and manipulate data. While these two languages are both individually viable and powerful, sometimes it may be necessary to use the two in conjunction.
Calculating slope and aspect from a digital elevation model in Python
Digital elevation models (DEM) provide a representaion of surface topography (elevation) in two dimensional space. DEMs are a 3D representaion of a terrain’s surface such as the Earth. Typically, DEM data can be represented as a raster which is most easily expressed as being a 2D array with each individual cell having an elevation associated with it.
Acquiring tutorials from GitHub
The Analytics Hub develops tutorials and deploys them via the earthlab/tutorials repository on GitHub. Each tutorial appears in this web site as a blog post, but the tutorials begin as Jupyter Notebooks. In this post, we will cover some options for acquiring and executing the notebooks. Please note, the syntax of the code chunks in this document are written for bash, the syntax may be different and need adaptation if you are using a command-line different from bash.