Skip to main content

Python SAGE Data Reader

Documentation Status MIT license PyPI version fury.io DOI

Basic python reader for SAGE II and SAGE III binary data files into an xarray data structure or a dictionary of numpy arrays. The binary files SAGE data files are not supplied and must be downloaded by the user. They can be found at the NASA ASDC website.

Installation

To install the package from pypi run:

pip install pysagereader

Documentation

https://pysagereader.readthedocs.io/en/latest/

Basic Use

An example of loading data from 2000 through 2003 between 10oN and 10oS

from pySAGE.pysagereader.sage_ii_reader import SAGEIILoaderV700

sage = SAGEIILoaderV700(data_folder='/path/to/sageii/data', filter_ozone=True)
data = sage.load_data('2000-1-1', '2003-12-31', -10, 10)
data.O3.plot(x='time', robust=True)

Command Line Utility

If you just need some yearly netcdf files you can run this script from the command line:

python /install/directory/pysagereader/make_netcdf.py -i /sageii/data/folder -o /output/folder --time_res yearly

Metadata

Release files for pysagereader 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysagereader 0.3.1
File Size Uploaded Provenance Actions
pysagereader-0.3.1.tar.gz 30.0 kB Without provenance Details for pysagereader-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pysagereader 0.3.1
File Interpreter ABI Platform Actions
pysagereader-0.3.1-py3-none-any.whl Python 3 none any Details for pysagereader-0.3.1-py3-none-any.whl

Total release size: 44.2 kB

Release files / pysagereader-0.3.1.tar.gz

Download URL pysagereader-0.3.1.tar.gz
Size 30.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bbc13228321db5fe1231ef64a38f108be9c0ca821eefaf3b87594085096d7fd0
BLAKE2b-256 checksum
How to use checksums
6f88588560bf6f4fc8295d2b6a3acdc067fe595b08fabd81be5d89fe1df9a9c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / pysagereader-0.3.1-py3-none-any.whl

Download URL pysagereader-0.3.1-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c02e4a6ee6f84ef3e2e4261962704223a156ce125e35436e3924a4ddaf46b48d
BLAKE2b-256 checksum
How to use checksums
6fdc64444186348dff0023d4e34bf528c347fb1708009601b7ba8707975d89ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Security for pysagereader 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page