Overview
CASPER – CSV Automation Service for Processing & Easy Retrieval
CASPER is a Python package that converts NetCDF (.nc, .h5) files to one or more CSV files based on the dimensional schema in the NetCDF file.
What does it do?
Using xarray, CASPER obtains the dimensions identified in the NetCDF file and groups variables by the dimensional schema, then outputs each dimensional schema in a separate CSV file.
Getting started, with uv
- Follow the instructions for installing
uvhere. - Install
casper, with its dependencies, by running the following from the repository directory:
uv sync
Usage
For example:
uv run casper TEMPO_NO2_L2_V04_S009G07.nc
For example (note that these are pseudo-real, not actual, TEMPO file names):
casper TEMPO_NO2_L2_V04_S009G07.nc
Output:
Zip file TEMPO_NO2_L2_V04_S009G07.zip including csv files:
TEMPO_NO2_L2_V04_S009G07-0.csv, → dimension schema 1 (ie, dimensions ('mirror_step', 'xtrack', 'corner'))TEMPO_NO2_L2_V04_S009G07-1.csv, → dimension schema 2 (ie, dimensions('mirror_step', 'xtrack', 'swt_level'))
Key Features
- Reads NetCDF files and groups the data by shared dimensions and creates a CSV file for each dimension group.
- Command-line interface and Python API for integration with NASA Harmony service orchestrator
- Verbose logging for debugging
Installation
From Source (Development)
For local development or the latest features:
git clone <Repository URL>
cd casper
uv sync
Usage
Basic Usage
uv run casper filename
Contributing
Issues and pull requests welcome on GitHub.
License & Attribution
CASPER is released under the Apache License 2.0.
Metadata
Release files for harmony-casper 1.1.0
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 | Actions |
|---|---|---|---|---|
| harmony_casper-1.1.0.tar.gz | 196.5 kB | With provenance | Details for harmony_casper-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| harmony_casper-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for harmony_casper-1.1.0-py3-none-any.whl |
Total release size: 220.0 kB
Release files / harmony_casper-1.1.0.tar.gz
| Download URL | harmony_casper-1.1.0.tar.gz |
|---|---|
| Size | 196.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57b202e4111dde067f6e949e4391ad959f863427242826129a603980fc15faa5
|
|
BLAKE2b-256 checksum How to use checksums |
fa45c95da3369256cf1ebde682174541c5ed9f89d4aa2428345aeac62bd45d20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logRelease files / harmony_casper-1.1.0-py3-none-any.whl
| Download URL | harmony_casper-1.1.0-py3-none-any.whl |
|---|---|
| Size | 23.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3eb213627c240266c13027472d35ab17b20ed1195ef0b4382e07a451cfc8f942
|
|
BLAKE2b-256 checksum How to use checksums |
b771d119825cc383752dfce2653130df963fdaa3c368fd9b99a32ba6b680eec1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logSecurity for harmony-casper 1.1.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for harmony_casper-1.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logA 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.