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

Repository files navigation

xncml

Read the Docs PyPI

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 documentation for more information.

Installation

xncml can be installed from PyPI with pip:

pip install xncml