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

Uploaded Source

Built Distribution

swesarr_pytools-0.1.3-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.3.tar.gz.

File metadata

  • Download URL: swesarr_pytools-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 d8d86d3c67df4dba4ecf652519eb42507191f2581e1f9e660d6210d3cc86b123
MD5 845eab13c4305c31f5a750a6a196e3b6
BLAKE2b-256 a6ff41dffa50df938d2c6bc7c4594bf04e2566a3b9776ba1c3b07037ad86747b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swesarr_pytools-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 adf55a23d533867f1d0d54a9d6402c101602b6a874621695fe5690898010dbba
MD5 355da313890d16f317cd2f82cb64d0b6
BLAKE2b-256 92d5a62b641116b69f2673abc223e607046e6274c638939dd9844dc6985a18d6

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