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

Uploaded Source

Built Distribution

swesarr_pytools-0.1.2-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.2.tar.gz.

File metadata

  • Download URL: swesarr_pytools-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 5bb39d49b5e0c69e5246c32a030a29fbe9d8e1340190c5619915d035f616b834
MD5 cdc5374ed2322bc0eea97f308e9bfccf
BLAKE2b-256 83d0b0459ad1874e02049b94fa8583b22d815dfe8ce0874a988100759d8698a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swesarr_pytools-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 51a96908915f748f4206b56c0debde61717a808ada126ee9ae53915540a47d6d
MD5 124ecba316e5722238f8da2a5afc1352
BLAKE2b-256 e22187d28b37bc8bf42fe7a8b36d089ce08228f09fb1c3ec89b0e23a63832950

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