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

Uploaded Source

Built Distribution

swesarr_pytools-0.1.4-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.4.tar.gz.

File metadata

  • Download URL: swesarr_pytools-0.1.4.tar.gz
  • Upload date:
  • Size: 36.4 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.4.tar.gz
Algorithm Hash digest
SHA256 16ddca309af0d0fa7839e18856b7b6e011fdd0d83e1c210ee1f88606f0f6e409
MD5 8ae8d8dd277ec825b3072a64c8756b6a
BLAKE2b-256 31b359dcc202ea51dd25fa9c7a8104c5069c27f10e6333047601618fd11cde7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swesarr_pytools-0.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 665fa20b7a6b381dbcdbb0e0946a5ab9dadc9a3b3d3e11cd41f0559da40a8d03
MD5 7d4a5a069e9de4cc6319a4b4689f3ea5
BLAKE2b-256 ed919bb3672d4947f0de3a76cf43c5569f55f26a7814ca861b8825d1c1439aa9

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