Skip to content

Update snowex access #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 35 commits into from
Jul 31, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
3be6c09
updated access, download and reading
Jul 2, 2025
40ca8af
update and refactor tutorial
Jul 10, 2025
35d65f5
change name to make more consistent
Jul 10, 2025
7002255
add image to tracking
Jul 17, 2025
0f9fa02
make earthaccess monospace
Jul 17, 2025
d3d65a9
update and reorganize text box explaining roi-bbox
Jul 17, 2025
648f59b
remove comment about umm-?
Jul 17, 2025
4286ff8
update data access tool screenshot
Jul 17, 2025
1a128b7
update text in Search for Data
Jul 17, 2025
9b319ac
fix typos, add lengend
Jul 17, 2025
e15fb6b
add warning about gdal drivers
Jul 17, 2025
ab82f31
remove snotel from aso and gpr plot, use constrating color ramps
Jul 17, 2025
8121dfa
add justification for bilinear interpolation method
Jul 17, 2025
b32877f
remove confusing text
Jul 17, 2025
22341f3
update MODIS GPR plot
Jul 17, 2025
3ff1e39
add explanatory text to MODIS extraction
Jul 17, 2025
02f3230
fix shapefile writing
Jul 18, 2025
8b58167
update non-rendered notebook and final save
Jul 18, 2025
689742d
more cleanup
Jul 18, 2025
8ccf3ed
update README
Jul 18, 2025
4d8c0e6
change table heading to doi
Jul 21, 2025
9a9e36d
add warnings filter to suppress warnings
Jul 22, 2025
8beb094
add cell to check versions
Jul 22, 2025
4b17271
add shapefile and snowex download
Jul 29, 2025
6afcc18
modify date rendering
Jul 29, 2025
65c1967
add cell to clean up directory
Jul 29, 2025
d27aad9
remove unnecessary dependencies, bump python version
Jul 29, 2025
34d6bbf
add setip instructions
Jul 29, 2025
ca50d96
update unrendered version. step 1
Jul 30, 2025
ab55856
copy rendered to unrendered version
Jul 30, 2025
11e56da
remove outpus
Jul 30, 2025
a5ac8d2
remove unnecessary import
Jul 30, 2025
7f6b860
change Data to data
Jul 30, 2025
c6e70fe
add images directory
Jul 31, 2025
3571341
remove cloud_hosted from modis search
Jul 31, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,13 @@ package-lock.json
geckodriver.log
*.iml

# For SnowEx_ASO_MODIS_Snow
notebooks/SnowEx_ASO_MODIS_Snow/download

# Shape files
*.cpg
*.dbf
*.prj
*.shp
*.shx

Binary file not shown.
37 changes: 29 additions & 8 deletions notebooks/SnowEx_ASO_MODIS_Snow/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,38 @@
# Snow Depth and Snow Cover Data Exploration

## Summary
## Overview

This tutorial demonstrates how to access and compare coincident snow data from the National Snow and Ice Data Center Distributed Active Archive Center (NSIDC DAAC) across in-situ, airborne, and satellite platforms from NASA's SnowEx, ASO, and MODIS data sets, respectively.
This tutorial demonstrates how to access and compare coincident snow data from in-situ Ground Pentrating Radar (GPR) measurements, and airborne and satellite platforms from NASA's SnowEx, ASO, and MODIS data sets. All data are available from the NASA National Snow and Ice Data Center Distributed Active Archive Center (NSIDC DAAC).

## Key Learning Objectives
## What you will learn in this tutorial

1. Learn about the coverage, resolution, and structure of snow data sets from NASA's SnowEx, ASO, and MODIS data sets.
In this tutorial you will learn:

2. Learn how to find and download spatiotemporally coincident data across in-situ, airborne, and satellite observations.
1. what snow data and information is available from NSIDC and the resources available to search and access this data;
2. how to search and access spatiotemporally coincident data across in-situ, airborne, and satellite observations.
3. how to read SnowEx GPR data into a Geopandas GeoDataFrame;
4. how to read ASO snow depth data from GeoTIFF files using xarray;
5. how to read MODIS Snow Cover data from HDF-EOS files using xarray;
6. how to subset gridded data using a bounding box;
5. how to extract and visualize raster values at point locations;
6. how to save output as shapefile.

3. Learn how to read data into Python from CSV and GeoTIFF formats.
## Setup

4. Learn how to subset data based on a buffered area.
We recommend creating a virtual environment to run this notebook. This can be with `mamba` or `conda`. We recommend `mamba`.

5. Learn how to extract and visualize raster values at point locations.
```
mamba env update -f environment/environment.yml
```

This will create an environment called `nsidc-tutorials-snowex`. You can activate the environment with the command:

```
mamba activate nsidc-tutorials-snowex
```

You will now have a virtual environment with all the required packages. You can start a `jupyter lab` with

```
jupyter lab
```
791 changes: 0 additions & 791 deletions notebooks/SnowEx_ASO_MODIS_Snow/Snow-tutorial.ipynb

This file was deleted.

1,812 changes: 0 additions & 1,812 deletions notebooks/SnowEx_ASO_MODIS_Snow/Snow-tutorial_rendered.ipynb

This file was deleted.

27 changes: 16 additions & 11 deletions notebooks/SnowEx_ASO_MODIS_Snow/environment/environment.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
name: nsidc-tutorials
name: nsidc-tutorials-snowex
channels:
- conda-forge
dependencies:
- python=3.9
- pangeo-notebook
- xarray
- python=3.12

- jupyterlab
- jupyter_contrib_nbextensions

- earthaccess
- matplotlib-base
- shapely
- geopandas

- xarray
- rioxarray
- dask
- bottleneck
- h5py
- pyresample
- fiona
- descartes
- rasterio
- libgdal-hdf4

- geopandas

- matplotlib
- cartopy
platforms:
- linux-64
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading