From 47ed65bfe9d404a30bd1084cb793bb8d0b20a948 Mon Sep 17 00:00:00 2001 From: TimothyCera-NOAA <154259143+TimothyCera-NOAA@users.noreply.github.com> Date: Mon, 3 Jun 2024 11:00:54 -0400 Subject: [PATCH] Added optional xarray dependency. (#148) Constrained for the time being to xarray <= 2024.1.0 to avoid a bug. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 0f17b50..9fa8af5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,6 +44,7 @@ dynamic = ["version"] [project.optional-dependencies] interp = ["grib2io-interp >= 1.0.0"] +xarray = ["xarray <= 2024.1.0"] [project.entry-points."xarray.backends"] grib2io = "grib2io.xarray_backend:GribBackendEntrypoint"