From f31cc528fd43cb4dba8d5aad5341e04853ba0ba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20R=C3=B6sner?= Date: Thu, 25 Jul 2024 13:12:48 +0200 Subject: [PATCH] refactor: make geos boundary static method --- pyresample/utils/cartopy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyresample/utils/cartopy.py b/pyresample/utils/cartopy.py index 77ebe9d5..5e29d779 100644 --- a/pyresample/utils/cartopy.py +++ b/pyresample/utils/cartopy.py @@ -78,7 +78,8 @@ def __init__(self, else: self._boundary = self._geos_boundary() - def _geos_boundary(self): + @staticmethod + def _geos_boundary(): """Calculate full disk boundary. This code is copied over from the 'Geostationary' class in 'cartopy/lib/cartopy/crs.py'.