Skip to main content

nc-convert

main

Convert netCDF files to other formats

Usage

pip install "ncconvert[cli]"
ncconvert to_csv data/*.nc --output-dir output_data/ --verbose

Formats other than csv are also supported. To see more information about supported formats, run

ncconvert --help

A python API is also available for each format, e.g.:

import xarray as xr
from ncconvert import to_csv

ds = xr.open_dataset("netcdf-file.nc")

to_csv(ds, "output_folder/filename.csv")

Developing

Create a python environment using at least python 3.8, then install the requirements:

pip install ".[dev,cli]"

Run make coverage to generate a report of test coverage.

Releasing the package is as simple as creating a tagged release in GitHub. Make sure to create a new tag using vX.Y.Z format, where X is the major version, Y is the minor version, and Z is the micro version. Set the release title to X.Y.Z.

Metadata

Release files for ncconvert 0.1.4

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

Source distribution (sdist)

Source distribution for ncconvert 0.1.4
File Size Uploaded Provenance Actions
ncconvert-0.1.4.tar.gz 12.9 kB Without provenance Details for ncconvert-0.1.4.tar.gz

Built distribution (wheel)

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

Total release size: 23.0 kB

Release files / ncconvert-0.1.4.tar.gz

Download URL ncconvert-0.1.4.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
13bc81ca5ed65cb31d138f786f248d1fd340a0a798c3b77a7ac961ca4b1999f8
BLAKE2b-256 checksum
How to use checksums
742ab8494d635d63fdaf33d03b87b15abf3a4ad1cdde534fc304f930230a4d45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / ncconvert-0.1.4-py3-none-any.whl

Download URL ncconvert-0.1.4-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae05b1eb88bf32518ce89faf4fa8a1ea87527d6af0472e3f6fb23576104b73b6
BLAKE2b-256 checksum
How to use checksums
43936ffd374b655a06783f7be342b1aadf94f67053c419c154c31a30f7683d92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for ncconvert 0.1.4

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