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
produce S1 snow depth and compare with SNOTEL snow depth data
produce_and_compare_s1_snotel.py
python -m pdb produce_and_compare_s1_snotel.py --snotelsite '1302:AK:SNTL' --snotelres 10000 --daterange 2022-08-01 2023-07-31 --username XXXXX --password XXXXX --flightdir descending --method 'crvv' --parameterabc 0.4 0.6 0.55 1.0 1.0 --wet_snow_thresh -2.0 --workdir /media/jiangzhu/Elements/crrel/SNOTEL/creamers/20220801_20230731 --jobname jz_creamers_20220801_20230731_10k --existjobname jz_creamers_20220801_20230731_10k --avg True --res 500 --poisshpfile /media/jiangzhu/Elements/crrel/SNOTEL/creamers/creamers_pois.shp
Tutorial jupyter notebook in docs directory
produce_s1_snowdepth_and_compare_with_snotel.ipynb
Metadata
Release files for asf-snow 0.1.23
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| asf_snow-0.1.23.tar.gz | 220.5 kB | Without provenance | Details for asf_snow-0.1.23.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| asf_snow-0.1.23-py3-none-any.whl | Python 3 | none | any | Details for asf_snow-0.1.23-py3-none-any.whl |
Total release size: 487.5 kB
Release files / asf_snow-0.1.23.tar.gz
| Download URL | asf_snow-0.1.23.tar.gz |
|---|---|
| Size | 220.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7af143168e91e45a69f483deaa3c24113b7ab9487866f54d68a13d09d92ea87d
|
|
BLAKE2b-256 checksum How to use checksums |
e3a7e66a35ce8b5981391d2396d92c58d6218bf344fe4a6a1d92564c603c4639
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.9
|
Release files / asf_snow-0.1.23-py3-none-any.whl
| Download URL | asf_snow-0.1.23-py3-none-any.whl |
|---|---|
| Size | 267.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a155129d77494627689fe8656df32bb7c51aa19904ba923f30c5cac6fcbdf60
|
|
BLAKE2b-256 checksum How to use checksums |
5d603d7c245d5d015f7953c9739f532986e277960ca04ac9b6c0ea8d3419d45e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.9
|
Security for asf-snow 0.1.23
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.