Skip to content

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

License

Notifications You must be signed in to change notification settings

xarray-contrib/xncml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xncml

Documentation and Support Documentation Status
Open Source License
Coding Standards Ruff pre-commit.ci status
Development Status Project Status: Active – The project has reached a stable, usable state and is being actively developed. Build Status Coveralls

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:

import xncml
ds = 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 [email protected]: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 .

About

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

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published