/xncml

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

Primary LanguagePythonApache License 2.0Apache-2.0

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