Skip to main content

Snow depths calculation

Project description

asf-snow

Evaluation of Snow depths for the CRREL Arctic Trafficability with the spicy-snow python module (https://github.com/SnowEx/spicy-snow). The spicy-snow uses volumetric scattering at C-band to calculate snow depths from Sentinel-1 imagery using Lieven et al.'s 2021 technique.

The current pypi version is asf-snow-v0.1.20. It can be installed into a conda env with python version is 3.12.7.

With ib the env with python=3.12.7,

pip install asf-snow

List of Programs

sentinel1_snow.py, produces Sentinel1-derived snow depth product according to the spatial area and time range

compare_sentinel1_snow_depth_to_snex.py, calculate the statistic of sentinel1 and SNEX snow depth data

analyze_snex.py, includes codes to read different kinds of SNEX csv files

analyze_sentinel1_snow.py, include all kinds of draw plot functions

combine_multiple_statistic_results.py, combine multiple monthly statistic files, and draw the histogram plot

compare_sentinel1_snow_depth_to_snex_lidar.py, calculate the statistic of sentinel1 and Lidar snow depth data, and draw the scatter plot

compare_sentinel1_snow_depth_to_snotel.py, calculate statistic of Sentinel1 and SNOTEL snow depth time series

draw_s1_snotel_plot.py, draw Sentinel1-derived snow depth and SNOTEL snow depth curves, the difference curve, and histograms of s1 and SNOTEL snow depth

investigate_s1_snotel.py, analysze S1 and SNOTEL snow depth and draw plots

Example scripts

produce s1 snow depth product

python sentinel1_snow.py --username xxxxxxxx --password xxxxxxxx --area -147.76 64.85 -147.72 64.88 --daterange 2022-08-01 2023-07-31 --workdir /home/jiangzhu/data/crrel/SNOTEL/creamers/20220801_20230731 --jobname jz_creamers_20220801_20230731_n1 --existjobname jz_creamers_20220801_20230731_n1 --outnc /home/jiangzhu/data/crrel/SNOTEL/creamers/20220801_20230731/sentinel1_creamers_20220801_20230731.nc

analysis the s1 and snotel data

investigate_s1_snotel --s1file /media/jiangzhu/Elements/crrel/SNOTEL/creamers/20230801_20240731/sentinel1_creamers_20230801_20240731.nc --snotelfile /media/jiangzhu/Elements/crrel/SNOTEL/creamers/20230801_20240731/creamers_20230801_20240731_sd_precip_temp_ratio.txt --lon -147.74532 --lat 64.86575 --aoigeojsonfile /media/jiangzhu/Elements/crrel/SNOTEL/creamers/creamers.geojson --outfile /media/jiangzhu/Elements/crrel/SNOTEL/creamers/20230801_20240731/sentinel1_creamers_20230801_20240731_aoi_all_test.png

investigate_s1_snotel --s1file /media/jiangzhu/Elements/crrel/SNOTEL/creamers/20230801_20240731/sentinel1_creamers_20230801_20240731.nc --snotelfile /media/jiangzhu/Elements/crrel/SNOTEL/creamers/20230801_20240731/creamers_20230801_20240731_sd_precip_temp_ratio.txt --lon -147.74532 --lat 64.86575 --res 500 --outfile /media/jiangzhu/Elements/crrel/SNOTEL/creamers/20230801_20240731/sentinel1_creamers_20230801_20240731_poi_500_all_test.png

estimate the wet snow threshold impact on wet snow mask

compare_wet_thresholds.py

Project details


Download files

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

Source Distribution

asf_snow-0.1.22.tar.gz (728.4 kB view details)

Uploaded Source

Built Distribution

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

asf_snow-0.1.22-py3-none-any.whl (266.2 kB view details)

Uploaded Python 3

File details

Details for the file asf_snow-0.1.22.tar.gz.

File metadata

  • Download URL: asf_snow-0.1.22.tar.gz
  • Upload date:
  • Size: 728.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for asf_snow-0.1.22.tar.gz
Algorithm Hash digest
SHA256 6da42fb5cdd851a0ce45d7a6c8e30430472af7eebf3e2c1159c0a4450ee20efd
MD5 3ffebdfc21ce15f90da6b6c746634974
BLAKE2b-256 796f1998955271a71c03bd89f6196b96b431fc1d27696575cc518b1acc9a021a

See more details on using hashes here.

File details

Details for the file asf_snow-0.1.22-py3-none-any.whl.

File metadata

  • Download URL: asf_snow-0.1.22-py3-none-any.whl
  • Upload date:
  • Size: 266.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for asf_snow-0.1.22-py3-none-any.whl
Algorithm Hash digest
SHA256 71c905e93537daaa1f940926255551136349bbdd0d20fc9a27b2e55b81273645
MD5 6e635ac36fefcc469a77aad1e344bf37
BLAKE2b-256 2b7ed2800cab2fc326804b9b0ad11303014538710ae0c780b0a452162be43ca7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page