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_pytool

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

Uploaded Source

Built Distribution

swesarr_pytools-0.1.1-py2.py3-none-any.whl (9.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: swesarr_pytools-0.1.1.tar.gz
  • Upload date:
  • Size: 36.6 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.1.tar.gz
Algorithm Hash digest
SHA256 8eea0f4c32636a25aa2238c03336cfb8b877c7753d44ebc5e07b4ab800d2784e
MD5 ca57847d1870e6fb262fc869e98c7f88
BLAKE2b-256 f320cc0d0ded8e84425e2481edd8aee44ac16000e2b5d4b52138c25646de17f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swesarr_pytools-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0ece1acf06b2d65abe4f9ffda3689511bb50eb1707d5e9f6deb400617786c96a
MD5 48f9811ca377151f6402d03a36462bc3
BLAKE2b-256 e4b1d58ee32f18e411a6507c4a424760d87e57fd6c77d435dca4a1721a5ab64f

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