SAGE II v7.0 binary file reader
Project description
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
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
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
pysagereader-0.3.1.tar.gz
(30.0 kB
view details)
Built Distribution
File details
Details for the file pysagereader-0.3.1.tar.gz
.
File metadata
- Download URL: pysagereader-0.3.1.tar.gz
- Upload date:
- Size: 30.0 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbc13228321db5fe1231ef64a38f108be9c0ca821eefaf3b87594085096d7fd0 |
|
MD5 | 365d806a27d2c5e511a0d5baa84115f4 |
|
BLAKE2b-256 | 6f88588560bf6f4fc8295d2b6a3acdc067fe595b08fabd81be5d89fe1df9a9c0 |
File details
Details for the file pysagereader-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: pysagereader-0.3.1-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c02e4a6ee6f84ef3e2e4261962704223a156ce125e35436e3924a4ddaf46b48d |
|
MD5 | cbaa4b003b6995ce2ce89b92480cd1dc |
|
BLAKE2b-256 | 6fdc64444186348dff0023d4e34bf528c347fb1708009601b7ba8707975d89ab |