Skip to main content

Library for data retrieval and processing of NASA GSFC Snow Water Equivalent Synthetic Aperture Radar and Radiometer data.

Project description

swesarr_pytools

image

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:


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


Download files

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

Source Distribution

swesarr_pytools-0.1.9.tar.gz (58.7 kB view details)

Uploaded Source

Built Distribution

swesarr_pytools-0.1.9-py2.py3-none-any.whl (16.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file swesarr_pytools-0.1.9.tar.gz.

File metadata

  • Download URL: swesarr_pytools-0.1.9.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

Hashes for swesarr_pytools-0.1.9.tar.gz
Algorithm Hash digest
SHA256 9fea4cf963d78ec91287c95542d08bd7a3bce7fa7e4f0026742cae6405c05650
MD5 50405a9b3358d0af0de3564f6e6e8728
BLAKE2b-256 d07af39c9fb4e87360a280de9a3f2e2d1f3f209d0f2686cc9c62bb4d3efa3798

See more details on using hashes here.

File details

Details for the file swesarr_pytools-0.1.9-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for swesarr_pytools-0.1.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5c71f9b357c125d5786ba4d7ce06f368c07eac724441985d83e9afb3537c1c60
MD5 af95999ffaf34f2966ae3ba423a8da89
BLAKE2b-256 cf485d8123fa95f7bc498c830d8b98ccfb05ad971a5ef355ee743204dab3a0d8

See more details on using hashes here.

Supported by

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