Python SAGE Data Reader
A python reader for SAGE III and SAGE III ISS binary data files into an xarray dataset.
Tested with versions:
- 5.0
- 5.1
- 5.2
Downloads
The binary files are not supplied and must be downloaded by the user.
SAGEIII binary files
SAGEIII-ISS binary files
Installation
To install the package run:
pip install sage3reader
Dataset details
The user should be able to match the coordinates and variables in the dataset with those in the binary file format sheet (Table C1.3 of the Data Product User Guide) taking note of the following changes
| Binary Format | Dataset |
|---|---|
| start_date (yyyymmdd) and start_time (hhmmss) integers | start_time (datetime64) |
| end_date (yyyymmdd) and end_time (hhmmss) integers | end_time (datetime64) |
| ground track date and time integers | ground track datetime64 |
Examples
To load data for a single profile:
from sage3reader import l2binary_to_dataset
s3data = l2binary_to_dataset('/path/to/file')
To load all profiles in a directory tree:
from sage3reader import multi_path_l2binary_to_dataset
s3data = multi_path_l2binary_to_dataset('/path/to/files')
Other examples can be found in the examples folder.
Metadata
Release files for sage3reader 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| sage3reader-0.2.5.tar.gz | 22.5 kB | Without provenance | Details |
Release files / sage3reader-0.2.5.tar.gz
| Download URL | sage3reader-0.2.5.tar.gz |
|---|---|
| Size | 22.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe6abcecbb11865b6886bd8c51512aff095c0142424cd64ff323b8c61f28c883
|
|
BLAKE2b-256 checksum How to use checksums |
7c8f606636ac261fc5f3250e8b007978aeeeaa98ca2be4e500cd1bed56e853f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3.post20210118 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.5
|
Security for sage3reader 0.2.5
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.