From 97364225e9f0daba2ca5151fadbc993e9ec54ea4 Mon Sep 17 00:00:00 2001 From: Vincent Sarago Date: Wed, 4 Sep 2024 17:54:24 +0200 Subject: [PATCH] Update rio_tiler/io/xarray.py Co-authored-by: Jonas --- rio_tiler/io/xarray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rio_tiler/io/xarray.py b/rio_tiler/io/xarray.py index 24c9292c..32446add 100644 --- a/rio_tiler/io/xarray.py +++ b/rio_tiler/io/xarray.py @@ -89,7 +89,7 @@ def __attrs_post_init__(self): or self.bounds[2] > 180 or self.bounds[3] > 90 ): - raise InvalidGeographicBounds(f"Invalid geographic bounds: {self.bounds}") + raise InvalidGeographicBounds(f"Invalid geographic bounds: {self.bounds}. Must be within (-180, -90, 180, 90).") self._dims = [ d