You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
geotiff: extract sentinels, fallback warning, and strict-mode helper into _runtime.py (#1813 step 2) #1880
xrspatial/geotiff/__init__.py (lines 82–202) holds four object() sentinels, a UserWarning subclass, the strict-mode env-var check, and the GPU-fallback warning message helper. These are leaves of the module, with no inbound calls from elsewhere in the file. They block more interesting extractions because every backend body imports them, so isolating them first lets each later PR import from one place.
Re-export GeoTIFFFallbackWarning from __init__.py (it's in __all__). Re-import the rest for the entry points still inline. Sentinel object identity is preserved by Python's module cache. Add one identity-check test to make that contract explicit.
Activity
geotiff: extract sentinels, fallback warning, strict-mode helper to _…
geotiff: extract input validators to _validation.py (#1882) (#1892)
geotiff: extract writers to _writers/, reduce __init__.py to dispatch (…