Skip to content

Repository files navigation

xncml

VersionsPython Package Index BuildConda Build
Documentation and SupportDocumentation StatusSupported Python Versions
Open SourceLicense
Coding StandardsRuffprekpre-commit.ci status
Development StatusProject Status: Active – The project has reached a stable, usable state and is being actively developed.Build StatusCoveralls

Tools for opening and manipulating NcML (NetCDF Markup Language) files with/for xarray.

These tools allow you to modify NcML by:

  • Adding or removing global attributes
  • Adding or removing variable attributes
  • Removing variables and dimensions

and read NcML files into xarray.Dataset objects:

importxncmlds=xncml.open_ncml("large_ensemble.ncml")

See doc for more information.

Installation

Stable release

To install xncml, run this command in your terminal:

python -m pip install xncml

This is the preferred method to install xncml, as it will always install the most recent stable release.

If you don't have pip installed, this Python installation guide can guide you through the process.

From sources

The sources for xncml can be downloaded from the Github repo.

You can either clone the public repository:

git clone git@github.com:xarray-contrib/xncml/

Or download the tarball:

curl -OJL https://github.com/xarray-contrib/xncml/tarball/main

Once you have a copy of the source, you can install it with:

python -m pip install .

Acknowledgments

This package was created with Cookiecutter and the Ouranosinc/cookiecutter-pypackage project template.

About

Tools for manipulating NcML (NetCDF Markup Language) files with/for xarray

Topics

Resources

Code of conduct

Contributing

Stars

8 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages