import os
import glob
import s3fs
import requests
import numpy as np
import pandas as pd
import xarray as xr
import hvplot.xarray
import matplotlib.pyplot as plt
import cartopy.crs as ccrs
import cartopy
import csv
from datetime import datetime
from os.path import isfile, basename, abspath
From the PO.DAAC Cookbook, to access the GitHub version of the notebook, follow this link.*
Mississippi River Heights Exploration:
Working with In Situ Measurements and Satellite Hydrology Data in the Cloud
Learning Objectives
- Access data from the cloud (Pre-SWOT MEaSUREs river heights) and utilize in tandem with locally hosted dataset (USGS gauges)
- Search for products using Earthdata Search GUI
- Access datasets using xarray and visualize
This tutorial explores the relationships between satellite and in situ river heights in the Mississippi River using the data sets listed below. The notebook is designed to be executed in Amazon Web Services (AWS) (in us-west-2 region where the cloud data is located).
Datasets
The tutorial itself will use two different datasets:
1. PRESWOT_HYDRO_GRRATS_L2_DAILY_VIRTUAL_STATION_HEIGHTS_V2
The NASA Pre-SWOT Making Earth System Data Records for Use in Research Environments (MEaSUREs) Program virtual river height gauges from various altimeter satellites.
2. USGS Water Data for the Nations River Gauges
URL: https://dashboard.waterdata.usgs.gov/app/nwd/?region=lower48&aoi=default
River heights are obtained from the United States Geologic Survey (USGS) National Water Dashboard.