Skip to content

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