Skip to content

nasa/gesdisc-tutorials

Repository files navigation

DOI

GES DISC Tutorials

A place to find tutorials on how to use GES DISC tools, services, and data.

Most tutorials in this repository take the form of python notebooks. Jupyter is a very popular version of python notebooks, and is used extensively by the GES DISC team.

Notebook Summary Services, Tools, Data Types Actions
How to Access GES DISC Data Using Python This notebook demonstrates basic methods for accessing GES DISC Data using Python Python, OPeNDAP, THREDDS Access, Subset
How to Generate Earthdata Prerequisite Files This notebook demonstrates how to generate three Earthdata prerequisite files (.netrc, .urs_cookies, .dodsrc) or an Earthdata Login token needed to access the GES DISC archives manually, or through Python. Python Access
How to Access MERRA2 Using OPeNDAP with Python3 and Calculate Weekly from Hourly Data This notebook is based on Python3 and demonstrates how to remotely access the Modern-Era Retrospective analysis for Research and Applications, Version 2 (MERRA-2) hourly files via OPeNDAP and analyze data such as resample hourly files into daily, weekly, and monthly files and calculate their corresponding statistics, e.g., mean, sum, maximum, and minimum. Python, OPeNDAP, NetCDF Access, Subset, Plot, Compute
How to Download a Spatial and Variable Subset of Level 1B Data using OPeNDAP This notebook describes how to access Level 1B OCO granules in a region of interest and read just the Longitude and Latitude from the file to find the indices for the desired geographic region, using OPeNDAP and Python Python, OPeNDAP, HDF Access, Subset
How to Access M2T1NXSLV Cloud OPeNDAP Granules using Python This demonstrates how to search and download MERRA-2 M2T1NXSLV.5.12.4 hourly files via Cloud OPeNDAP using Python Requests and the Content Metadata Repository. It then resamples and calculates the mean of the downloaded 2-meter temperature data using Xarray, and plots its values using Cartopy and Matplotlib. Python, OPeNDAP, NetCDF Access, Subset, Plot, Compute
How to Read IMERG Data Using Python This notebook shows how to read data from the Global Precipitation Measurement (GPM) mission's IMERG dataset using Python. Python, HDF Access, Subset, Plot
How to Read and Plot NetCDF MERRA-2 Data in Python This How-To shows how to read and plot NetCDF4 data from the Modern-Era Retrospective analysis for Research and Applications version 2 (MERRA-2) using Python. Python, NetCDF Access, Subset, Plot
How to Use the Web Services API for Dataset Searching This example code demonstrates how to use the API to search GES DISC data collections. Python, Web Services API Search, Access, Subset
How to Use the Web Services API for Subsetting This example code demonstrates how to use the API to subset GES DISC data collections. Python, Web Services API Access, Subset
How to Use the Web Services API for Subsetting MERRA-2 Data The example code provided below demonstrates three examples on how to use the API to submit an asynchronous request to the GES DISC Subsetting Service in order to obtain subsets of the Modern-Era Retropsective analysis for Research and Applications, Version 2 (MERRA-2). Python, Web Services API, HDF Access, Subset
How to Use the Web Services API to Validate Point Measurements This notebook demonstrates how to use the GES DISC API to retrieve Level 2 subsets of satellite data for the purpose of validation or comparison to ground-based measurements using Python. Python, Web Services API, HDF Access, Subset, Plot, Compute
How to Access the Hydrology Data Rods Time Series API Using Python This notebook describes accessing the Hydrology Data Rods Time Series API using Python. Python, Hydrology Data Rods Search, Subset, Plot
How to find the max precipitation value of a Region of Interest (ROI) using an ArcGIS image service This notebook demonstrates how to calculate and view the maximum precipitation rate value from the GPM IMERGHHE ArcGIS Image Service. Python, ArcGIS Image Service Search, Subset, Compute, Plot
How to Find and Plot Level 2 Data from Multiple Granules on a Map using Python This notebook demonstrates how to aggregate and plot Level 2 granules on a map using Python. Python, NetCDF Search, Access, Plot
How to Concatenate OCO Lite Files Using Python This notebook demonstrates how to search for OPeNDAP-hosted OCO Lite granules using the CMR, before loading and aggregating them into a single netCDF-4 dataset. Python, NetCDF Search, Access
How to Remotely Access MERRA-2 with Python3 and Calculate Monthly Average Surface PM2.5 for World Countries This notebook demonstrates how to access MERRA-2 from the THREDDS Data Server, before calculating monthly average surface PM2.5 values for various world countries. Python, NetCDF, GeoJSON, Shapefile Search, Access, Subset, Compute, Plot
How to Calculate and Plot Wind Speed using MERRA-2 Wind Component Data using Python This tutorial demonstrates how to calculate and plot hourly wind speed using the northward and eastward wind component variables with MERRA-2 data using Python. Python, NetCDF Compute, Plot
How to Plot Horizontal and Vertical Slices of Swath Data with Python Using GPM_2ADPR This notebook demonstrates how to use Python for plotting horizontal spatial maps and vertical cross sections (also known as curtain plots) of the Level 2 product GPM_2ADPR. Python, HDF Compute, Plot
How to Calculate Greenhouse Gas Growth Rates using Python This notebook demonstrates how to calculate the growth rate, also known as rate of change, for greenhouse gases using Giovanni and Python. Python, Giovanni, CSV Search, Access, Subset, Compute, Plot
How to Access the "Giovanni in the Cloud: Time Series" Service Using Python This notebook demonstrates how to access the "Giovanni in the Cloud: Time Series Service" using Python, before creating a sample plot of its returned values. Python, Giovanni, CSV Search, Access, Subset, Compute, Plot