Skip to main content

Library for data retrieval and manipulation of swesarr data for the NASA database.

Project description

swesarr_pytools

image image

Library for data retrieval and manipulation of swesarr data for the NASA database. swesarr_pytool is a python library created for easy data retrieval and manipulation swesarr data for the NASA database.

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.

Features

To install the package simple run

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 AccessSwesarr
from datetime import date


#Instantiate the Access Object
meta_object = AccessSwesarr()

#Retrieve meta
swesarr_metadata = meta_object.data_meta

#Retrieve flight path
flight_paths = meta_object.flight_names

#Retrieve flight date
flight_dates = meta_object.flight_dates

#search for flight within a date range
available_dates = meta_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

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.5.tar.gz (36.5 kB view details)

Uploaded Source

Built Distribution

swesarr_pytools-0.1.5-py2.py3-none-any.whl (13.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: swesarr_pytools-0.1.5.tar.gz
  • Upload date:
  • Size: 36.5 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.5.tar.gz
Algorithm Hash digest
SHA256 4de401bc0c6f3f7b94d267f26444ba9bcde86e4fa1216eb82b700c9438573fac
MD5 668a9498b4a6f6711da2ddc808392c0d
BLAKE2b-256 2446fe92319ee62a9a0d37cfc8dd7ba0ee9879643bb8386ecdd717c8572ae8e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swesarr_pytools-0.1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fa12117ad7dacad9e37dcbf55ef159d87e4bd08077f6b5fb64326e6d5c34ba42
MD5 7135b4926d90bc089dc8044d61133229
BLAKE2b-256 5a24b2c40a23950f83b25a93c463d66e1c695eb4a820b111523e2798ba5b9007

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