Skip to main content

SAGE binary file readers

Project description

Documentation Status MIT license PyPI version

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.


To install the package from pypi run:

pip install pysagereader

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/ -i /sageii/data/folder -o /output/folder --time_res yearly

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pysagereader, version 0.2.4
Filename, size File type Python version Upload date Hashes
Filename, size pysagereader-0.2.4-py3-none-any.whl (17.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pysagereader-0.2.4.tar.gz (31.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page