Skip to main content

easysnowdata

PyPI conda-forge DOI CI

A Python package to easily retrieve data relevant to snow science.

easysnowdata unifies access to a wide range of snow-relevant geospatial datasets — weather stations, satellite imagery, climate reanalysis, DEMs, and more — under a consistent API that returns xarray objects. The emphasis is on minimising downloads and local computation by leveraging cloud-optimised data formats wherever possible.

Gallery

easysnowdata

Data Source Status

Last updated: 2026-08-24 08:17 UTC
⚠️ = skipped (credentials not available in this run)

Data Source Latest (Aug 24) Aug 17 Aug 10 Aug 3
SNOTEL/CCSS station list (GitHub)
SNOTEL/CCSS station CSV (GitHub)
HydroATLAS basins (figshare)
GRDC major river basins (World Bank)
GRDC WMO basins
Köppen-Geiger classification (figshare)
Sturm & Liston snow classification (Azure)
Forest cover fraction (Zenodo)
Mountain snow mask (Zenodo)
ARCO-ERA5 (GCS anonymous)
Copernicus DEM (Planetary Computer)
ESA WorldCover (Planetary Computer)
HUC geometries (GEE/USGS WBD)
SNODAS (GEE/Climate Engine)
ERA5 (Google Earth Engine)
CHILI (GEE/CSP ERGo)
NLCD (GEE/USGS)
UCLA Snow Reanalysis (NASA NSIDC) ⚠️ ⚠️ ⚠️ ⚠️

Installation

pip install easysnowdata
conda install -c conda-forge easysnowdata
mamba install -c conda-forge easysnowdata

Development install (with pixi)

git clone https://github.com/egagli/easysnowdata.git
cd easysnowdata
pixi install          # sets up the environment
pixi run test-fast    # run credential-free tests
pixi run test         # run all tests (requires API secrets)
pixi run docs-serve   # preview the docs locally

Services that require account setup

Some data sources need free accounts and credentials passed as environment variables:

Service Env vars Sign-up
Google Earth Engine EARTHENGINE_TOKEN earthengine.google.com
NASA EarthData EARTHDATA_USERNAME, EARTHDATA_PASSWORD urs.earthengine.nasa.gov

Planetary Computer and anonymous GCS access require no credentials.

Modules

Module What it provides
automatic_weather_stations SNOTEL & CCSS station metadata + time-series data
hydroclimatology ERA5, SNODAS, UCLA snow reanalysis, HUC boundaries, HydroATLAS, GRDC basins, Köppen-Geiger
remote_sensing Sentinel-1, Sentinel-2, HLS, MODIS snow, ESA WorldCover, forest cover, snow classification
topography Copernicus DEM (30 m / 90 m), CHILI topographic index
utils Shared helpers: bbox conversion, water-year utilities, STAC config

Quick Start

import easysnowdata

# ── Automatic weather stations ─────────────────────────────────────────────
sc = easysnowdata.automatic_weather_stations.StationCollection()
sc.get_data(stations="679_WA_SNTL", variables=["WTEQ", "SNWD"],
            start_date="2023-10-01", end_date="2024-06-30")
sc.data.plot()                        # pandas DataFrame for one station

# ── Topography ─────────────────────────────────────────────────────────────
bbox = (-121.94, 46.72, -121.54, 46.99)   # Mount Rainier, WA
dem = easysnowdata.topography.get_copernicus_dem(bbox_input=bbox, resolution=30)
dem.plot()                               # xarray DataArray

# ── Hydroclimatology ───────────────────────────────────────────────────────
era5 = easysnowdata.hydroclimatology.get_era5(
    bbox_input=bbox, source="GCS",
    start_date="2023-01-01", end_date="2023-01-31"
)
era5["2m_temperature"].mean("time").plot()

# ── Remote sensing ─────────────────────────────────────────────────────────
snow_class = easysnowdata.remote_sensing.get_seasonal_snow_classification(bbox)
snow_class.attrs["example_plot"](snow_class)

Documentation

Full API reference and example notebooks: https://egagli.github.io/easysnowdata

Contributing

Contributions welcome! See CONTRIBUTING for guidelines.

Citing

If you use easysnowdata in your research, please cite the Zenodo archive:

DOI

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easysnowdata-0.0.25.tar.gz (46.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

easysnowdata-0.0.25-py3-none-any.whl (58.4 kB view details)

Uploaded Python 3

File details

Details for the file easysnowdata-0.0.25.tar.gz.

File metadata

  • Download URL: easysnowdata-0.0.25.tar.gz
  • Upload date:
  • Size: 46.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.14

File hashes

Hashes for easysnowdata-0.0.25.tar.gz
Algorithm Hash digest
SHA256 d743cc75abd3c5648cbd7de57c60242a20d290762d61e2755075a089459d48a2
MD5 2bc3a346e772b35bce6d33858b35b96f
BLAKE2b-256 41182a84d4e948ef145661c0a28eace3d96a3a340034167f6d87dd168c0b89eb

See more details on using hashes here.

File details

Details for the file easysnowdata-0.0.25-py3-none-any.whl.

File metadata

  • Download URL: easysnowdata-0.0.25-py3-none-any.whl
  • Upload date:
  • Size: 58.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.14

File hashes

Hashes for easysnowdata-0.0.25-py3-none-any.whl
Algorithm Hash digest
SHA256 c70178cd0e595390f03e80ff3e657c504250d4b4f0dc09d768faa6de566637cb
MD5 947d17bf64f9ffae24184ed5969d41e3
BLAKE2b-256 dcc67c2ca424b23997c07024326dd1444c9763382f715682e33f94a02a0e7948

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.0

2 files

This release

0.0.25 This release

2 files

0.0.24

2 files

0.0.22

2 files

0.0.20

2 files

0.0.19

2 files

0.0.18

2 files

0.0.17

2 files

0.0.16

2 files

0.0.15

2 files

0.0.14

2 files

0.0.13

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page