viewtif 0.2.2__py3-none-any.whl → 0.2.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- viewtif/tif_viewer.py +5 -2
- {viewtif-0.2.2.dist-info → viewtif-0.2.3.dist-info}/METADATA +1 -1
- viewtif-0.2.3.dist-info/RECORD +5 -0
- viewtif-0.2.2.dist-info/RECORD +0 -5
- {viewtif-0.2.2.dist-info → viewtif-0.2.3.dist-info}/WHEEL +0 -0
- {viewtif-0.2.2.dist-info → viewtif-0.2.3.dist-info}/entry_points.txt +0 -0
viewtif/tif_viewer.py
CHANGED
|
@@ -210,6 +210,9 @@ class TiffViewer(QMainWindow):
|
|
|
210
210
|
self.tif_path = self.tif_path or (os.path.commonprefix([red, green, blue]) or red)
|
|
211
211
|
|
|
212
212
|
elif tif_path:
|
|
213
|
+
# --- Warn for large files before loading ---
|
|
214
|
+
warn_if_large(tif_path, scale=self._scale_arg)
|
|
215
|
+
|
|
213
216
|
# --------------------- Detect NetCDF --------------------- #
|
|
214
217
|
if tif_path and tif_path.lower().endswith((".nc", ".netcdf")):
|
|
215
218
|
try:
|
|
@@ -377,8 +380,8 @@ class TiffViewer(QMainWindow):
|
|
|
377
380
|
print(f"[WARN] Could not inspect FileGDB: {e}")
|
|
378
381
|
sys.exit(0)
|
|
379
382
|
|
|
380
|
-
# --- Universal size check before loading ---
|
|
381
|
-
warn_if_large(tif_path, scale=self._scale_arg)
|
|
383
|
+
# # --- Universal size check before loading ---
|
|
384
|
+
# warn_if_large(tif_path, scale=self._scale_arg)
|
|
382
385
|
|
|
383
386
|
if False: # Placeholder for previous if condition
|
|
384
387
|
pass
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: viewtif
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Lightweight GeoTIFF, NetCDF, HDF/HDF5, and Esri File Geodatabase (.gdb) viewer with optional shapefile overlay. NetCDF and cartopy support available via pip install viewtif[netcdf].
|
|
5
5
|
Project-URL: Homepage, https://github.com/nkeikon/tifviewer
|
|
6
6
|
Project-URL: Source, https://github.com/nkeikon/tifviewer
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
viewtif/tif_viewer.py,sha256=tzcABPB4F7CZPovrSTyP837mT_WbsQf5L087PPTww6g,57465
|
|
2
|
+
viewtif-0.2.3.dist-info/METADATA,sha256=cW2EgoTWjFai7P7OyvE5e7AARnXS5Go2GPh0ze6zOUU,7280
|
|
3
|
+
viewtif-0.2.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
4
|
+
viewtif-0.2.3.dist-info/entry_points.txt,sha256=NVEjlRyJ7R7hFPOVsZJio3Hl0VqlX7_oVfA7819XvHM,52
|
|
5
|
+
viewtif-0.2.3.dist-info/RECORD,,
|
viewtif-0.2.2.dist-info/RECORD
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
viewtif/tif_viewer.py,sha256=egk8LkdTtbV77no4IUd_bHwpU7b0oCNE9z6qxpkOKa0,57343
|
|
2
|
-
viewtif-0.2.2.dist-info/METADATA,sha256=_7BJ66mI4kZzwSwTSG6fwWr5fe-USNzbGESpZvcNW7M,7280
|
|
3
|
-
viewtif-0.2.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
4
|
-
viewtif-0.2.2.dist-info/entry_points.txt,sha256=NVEjlRyJ7R7hFPOVsZJio3Hl0VqlX7_oVfA7819XvHM,52
|
|
5
|
-
viewtif-0.2.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|