Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Tutorial

Effective Tutorial Notebooks for Cloud Computing Workflows using Remote Sensing Datasets

Authors
Affiliations
Colorado School of Mines
University of Maryland
NASA Goddard Space Flight Center
Colorado School of Mines

Overview

In this tutorial, we will compare NASA/CNES’s Surface Water and Ocean Topography (SWOT) Low Rate raster elevations to NASA’s Ice, Cloud, and Land Elevation Satellite-2 (ICESat-2) ATL06 land ice elevations over the Bach Ice Shelf (Antarctic Peninsula), verifying correct application of geophysical corrections.

Package imports and data paths needed to get started

Compare SWOT and ICESat-2 elevations on Bach Ice Shelf

From the figure made in the SWOT HR data access tutorial, we can see that there is HR coverage over Bach Ice Shelf so we will compare SWOT heights there to ICESat-2.

SWOT Availability over Antarctica

SWOT Availability over Antarctica

ICESat-2 is a photon-counting green laser altimeter. We can make this comparison because when measuring snow and ice surface heights, both SWOT (Ka band radar) and ICESat-2 (photon counting green laser) are considered surface sensing instruments. They penetrate to nearly equivalent depths into snow and ice, though Ka band radar likely penetrates millimeters to a few centimeters deeper into dry snow than ICESat-2 does. They are likely more indistinguishable for wet snow. More information about ICEsat-2 data products, mission, and tutorials is available in the ICESat-2 Cookbook.

ICESat-2 laser configuration (from Smith and others, 2019)

ICESat-2 laser configuration (from Smith and others, 2019)

We will use what we learned in the SWOT HR data access tutorial to compare the SWOT_L2_HR_Raster_100m product to ICESat-2’s Land Ice Height, Version 7 (ATL06) over a rift on Bach Ice Shelf.

To demonstrate different earthaccess search methods, we search for a specific granule of SWOT data found using Earthdata search and we search for all ICESat-2 tracks in a specified bounding box and manually pick one ICESat-2 track that intersects the SWOT swath at our region of interest.

Imports, paths, and constants to get started

WARNING:rasterio._env:CPLE_AppDefined in The definition of geographic CRS EPSG:4326 got from GeoTIFF keys is not the same as the one from the EPSG registry, which may cause issues during reprojection operations. Set GTIFF_SRS_SOURCE configuration option to EPSG to use official parameters (overriding the ones from GeoTIFF keys), or to GEOKEYS to use custom values from GeoTIFF keys and drop the EPSG code.
/home/zkatz/Research/USRSE26_Notebook/.venv/lib/python3.11/site-packages/earthaccess/results.py:343: FutureWarning: As of version 1.0, `DataGranule.size` will be accessed as an attribute; e.g. use `DataCollection.size` **not** `DataCollection.size()`
  self["size"] = self.size()
/home/zkatz/Research/USRSE26_Notebook/.venv/lib/python3.11/site-packages/earthaccess/store.py:516: FutureWarning: As of version 1.0, `DataGranule.size` will be accessed as an attribute; e.g. use `DataCollection.size` **not** `DataCollection.size()`
  total_size = round(sum([granule.size() for granule in granules]) / 1024, 2)
Loading...
Loading...
Loading...
/home/zkatz/Research/USRSE26_Notebook/.venv/lib/python3.11/site-packages/earthaccess/results.py:343: FutureWarning: As of version 1.0, `DataGranule.size` will be accessed as an attribute; e.g. use `DataCollection.size` **not** `DataCollection.size()`
  self["size"] = self.size()
/home/zkatz/Research/USRSE26_Notebook/.venv/lib/python3.11/site-packages/earthaccess/store.py:516: FutureWarning: As of version 1.0, `DataGranule.size` will be accessed as an attribute; e.g. use `DataCollection.size` **not** `DataCollection.size()`
  total_size = round(sum([granule.size() for granule in granules]) / 1024, 2)
Loading...
Loading...
Loading...
3 files found in time window in RIFT_BBOX
/home/zkatz/Research/USRSE26_Notebook/.venv/lib/python3.11/site-packages/earthaccess/results.py:343: FutureWarning: As of version 1.0, `DataGranule.size` will be accessed as an attribute; e.g. use `DataCollection.size` **not** `DataCollection.size()`
  self["size"] = self.size()
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
18 beams loaded

Preview and choose ATL06 tracks to compare with SWOT

We’ll plot the atl06 candidates on top of the SWOT swath and the MOA background map.

Use the is2_start/is2_end indices to step through candidates until you find a track that best crosses your area of interest (e.g., the crevasse field). The cell prints the granule filename and beam for each plotted candidate so you can note the one you want to use in the next step.

Previewing ATL06 candidates [0:18] out of total 18
gt1l  ATL06_20250515130244_09102710_007_01.h5
gt1r  ATL06_20250515130244_09102710_007_01.h5
gt2l  ATL06_20250515130244_09102710_007_01.h5
gt2r  ATL06_20250515130244_09102710_007_01.h5
gt3l  ATL06_20250515130244_09102710_007_01.h5
gt3r  ATL06_20250515130244_09102710_007_01.h5
gt1l  ATL06_20250520014201_09792712_007_01.h5
gt1r  ATL06_20250520014201_09792712_007_01.h5
gt2l  ATL06_20250520014201_09792712_007_01.h5
gt2r  ATL06_20250520014201_09792712_007_01.h5
gt3l  ATL06_20250520014201_09792712_007_01.h5
gt3r  ATL06_20250520014201_09792712_007_01.h5
gt1l  ATL06_20250524013336_10402712_007_01.h5
gt1r  ATL06_20250524013336_10402712_007_01.h5
gt2l  ATL06_20250524013336_10402712_007_01.h5
gt2r  ATL06_20250524013336_10402712_007_01.h5
gt3l  ATL06_20250524013336_10402712_007_01.h5
gt3r  ATL06_20250524013336_10402712_007_01.h5
<Figure size 800x800 with 5 Axes>

Apply comparable geophysics & interpolate SWOT along-track

We bring heights to a consistent reference, then interpolate the SWOT corrected elevations to the advected ICESat-2 points

1.78 GB
https://tds-odatis.aviso.altimetry.fr/thredds/fileServer/dataset-auxiliary-dynamic-atmospheric-correction/2025/dac_dif_27537_00.nc
<Figure size 800x1200 with 7 Axes>
References
  1. Smith, B., Fricker, H. A., Holschuh, N., Gardner, A. S., Adusumilli, S., Brunt, K. M., Csatho, B., Harbeck, K., Huth, A., Neumann, T., Nilsson, J., & Siegfried, M. R. (2019). Land ice height-retrieval algorithm for NASA’s ICESat-2 photon-counting laser altimeter. Remote Sensing of Environment, 233, 111352. 10.1016/j.rse.2019.111352
  2. Erofeeva, S., Greene, C. A., Howard, S. L., Padman, L., & Sutterley, T. (2024). CATS2008_v2023: Circum-Antarctic Tidal Simulation 2008, version 2023. U.S. Antarctic Program (USAP) Data Center. 10.15784/601772
  3. LEGOS/CNRS/CLS. (1992). Dynamic Atmospheric Correction. CNES. 10.24400/527896/A01-2022.001