A lightweight xarray validation library
Project Links
Meta
Author: Vincent Leroy
Requires Python: >=3.8
Classifiers
Development Status
- 4 - Beta
License
- OSI Approved :: MIT License
Programming Language
- Python :: 3.8
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
Topic
- Scientific/Engineering
xarray-validate
Motivation
This is a maintained refactor of xarray-schema. I needed an xarray validation engine for one of my projects. I saw in the xarray-schema library a good start, but both its maintenance status and the foreseen integration of its feature set into the much larger Pandera library seemed uncertain. I therefore decided to fork the project, refactor it and add the features I was missing.
Features
- ⬆️ DataArray and Dataset validation
- ⬆️ Basic Python type serialization / deserialization
- Construct schema from existing xarray data
- 🚫
JSON roundtrip(not guaranteed to work)
⬆️ Inherited from xarray-schema 🚫 Won't do / won't fix
License
This project is distributed under the terms of the MIT license.
About
xarray-validate is maintained by Vincent Leroy.
The xarray-validate maintainers acknowledge the work of the xarray-schema project creators and maintainers.