Library for data retrieval and processing of NASA GSFC Snow Water Equivalent Synthetic Aperture Radar and Radiometer data.
Project description
swesarr_pytools
Library for data retrieval and processing of NASA GSFC Snow Water Equivalent Synthetic Aperture Radar and Radiometer data.
swesarr_pytool is a python library created for data retrieval and processing of NASA GSFC Snow Water Equivalent Synthetic Aperture Radar and Radiometer data.
The Snow Water Equivalent Synthetic Aperture Radar and Radiometer (SWESARR) is a Tri-Frequency Radar and Radiometer instrument designed to measure the water content in a snowpack. The instrument, developed at NASA’s Goddard Space Flight Center, uses active and passive microwave sensors to map the radio frequency emissions of the snowpack, which can then be turned into a measurement of snow water equivalent.
SWESARR has three active (including a dual Ku band) and three passive bands. Radar data is collected in dual polarization (VV, VH) while the radiometer makes single polarization (H) observations.
Additionally, SWESARR contains airborne microwave brightness temperature observations. Observations were made at three frequencies (10.65, 18.7, and 36.5 GHz; referred to as X, K, and Ka bands, respectively), at horizontal polarization with a nominal 45-degree look angle.
To learn more about SWESARR, please see this tutorial delivered during the NASA Earth Science & UW Hackweek 2024: https://snowex-2024.hackweek.io/tutorials/swesarr/swesarr_tut.html
For general information about swesarr see:
- https://earth.gsfc.nasa.gov/bio/instruments/snow-water-equivalent-sar-and-radiometer-swesarr
- https://snow.nasa.gov/instruments/swesarr
- https://www.thenewtoncorp.com/case-studies/swesarr-snow-water-equivalent-synthetic-aperture-radar-and-radiometer
- Free software: MIT License
- Documentation: https://eviofekeze.github.io/swesarr_pytools
Features
To install the package:
pip install swesarr_pytools
Usage
Accessing metadata
The package provide a functionality to retrieve available SWESARR flight paths and flight date, additionally flight path or list of flight path within a date range can be retrieved if such flight path exist
from swesarr_pytools.access_swesarr import AccessSAR
from datetime import date
# Instantiate the Access Object
swesarr_object = AccessSAR()
# Retrieve meta
swesarr_metadata = swesarr_object.data_meta
# Retrieve flight path
flight_paths = swesarr_object.flight_names
# Retrieve flight date
flight_dates = swesarr_object.flight_dates
# search for flight within a date range
available_dates = swesarr_object.available_date_within_range(start_date=date(2019, 1, 1),
end_date=date(2019, 12, 31))
Data Manipulation
The package also provides additional functionality for;
- Reading a raster, Lidar and SWESARR
- Converting these to Dataframe
- Combining Fall and Winter SWESARR flights into one data frame for analysis Please see the notebook directory for additional examples
Reference:
[1] R. Rincón et al., "Performance of Swesarr's Multi-Frequency Dual-Polarimetry Synthetic Aperture Radar During Nasa's Snowex Airborne Campaign," IGARSS 2020 - 2020 IEEE International Geoscience and Remote Sensing Symposium, Waikoloa, HI, USA, 2020, pp. 6150-6153, doi: 10.1109/IGARSS39084.2020.9324391. keywords: {Radar;Snow;Radar antennas;Synthetic aperture radar; Spaceborne radar;Airborne radar;Instruments;Snow;SAR;SWE},
[2] D. R. Boyd, A. M. Alam, M. Kurum, A. C. Gurbuz and B. Osmanoglu, "Preliminary Snow Water Equivalent Retrieval of SnowEX20 Swesarr Data," IGARSS 2022 - 2022 IEEE International Geoscience and Remote Sensing Symposium, Kuala Lumpur, Malaysia, 2022, pp. 3927-3930, doi: 10.1109/IGARSS46834.2022.9883412. keywords: {Radio frequency;Sensitivity;Radar measurements;Spaceborne radar;Snow;NASA;Prediction algorithms;Snow;SWE;Radar;SWESARR;SAR;SnowEx},
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file swesarr_pytools-0.1.11.tar.gz
.
File metadata
- Download URL: swesarr_pytools-0.1.11.tar.gz
- Upload date:
- Size: 58.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c97ea827401565ee07fbfa897971594f355c572dbf489cd2d1a8e084f196e5ac |
|
MD5 | 30fe334589e814e8242aef1a63e1162a |
|
BLAKE2b-256 | fc3e351c1c1d1a928471c33925ebb5d3f918f734554424dd96b9c0b89cc13b9f |
File details
Details for the file swesarr_pytools-0.1.11-py2.py3-none-any.whl
.
File metadata
- Download URL: swesarr_pytools-0.1.11-py2.py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c0033a1b3e33850009bc55ba4a3bb1d374730cf00ae6e51a07e350f481d27f0 |
|
MD5 | 52b0d239a9467cd31098276da6cac286 |
|
BLAKE2b-256 | 124659375ab70582f98989bd3b9fdfb53c4553208e696435560afee0a1d4053c |