Skip to content

Commit 296fa5b

Browse files
authored
REF: Add spatial utils module for pylint (#895)
1 parent 8fd4464 commit 296fa5b

7 files changed

Lines changed: 533 additions & 495 deletions

File tree

rioxarray/_io.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@
3333
from xarray.core.utils import is_scalar
3434
from xarray.core.variable import as_variable
3535

36+
from rioxarray._spatial_utils import (
37+
FILL_VALUE_NAMES,
38+
UNWANTED_RIO_ATTRS,
39+
_generate_spatial_coords,
40+
)
3641
from rioxarray.exceptions import RioXarrayError
37-
from rioxarray.rioxarray import _generate_spatial_coords
3842

39-
FILL_VALUE_NAMES = ("_FillValue", "missing_value", "fill_value", "nodata")
40-
UNWANTED_RIO_ATTRS = ("nodatavals", "is_tiled", "res")
4143
# TODO: should this be GDAL_LOCK instead?
4244
RASTERIO_LOCK = SerializableLock()
4345
NO_LOCK = contextlib.nullcontext()

0 commit comments

Comments
 (0)