pingmapper 4.2.6__py3-none-any.whl → 4.2.7__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.
- pingmapper/main_mapSubstrate.py +2 -0
- pingmapper/main_readFiles.py +6 -4
- pingmapper/main_rectify.py +2 -1
- pingmapper/version.py +1 -1
- {pingmapper-4.2.6.dist-info → pingmapper-4.2.7.dist-info}/METADATA +1 -1
- {pingmapper-4.2.6.dist-info → pingmapper-4.2.7.dist-info}/RECORD +10 -11
- {pingmapper-4.2.6.dist-info → pingmapper-4.2.7.dist-info}/WHEEL +1 -1
- pingmapper/mosaic_substrate.py +0 -27
- {pingmapper-4.2.6.data → pingmapper-4.2.7.data}/data/pingmapper_config/default_params.json +0 -0
- {pingmapper-4.2.6.dist-info → pingmapper-4.2.7.dist-info}/licenses/LICENSE +0 -0
- {pingmapper-4.2.6.dist-info → pingmapper-4.2.7.dist-info}/top_level.txt +0 -0
pingmapper/main_mapSubstrate.py
CHANGED
pingmapper/main_readFiles.py
CHANGED
|
@@ -88,6 +88,8 @@ def read_master_func(logfilename='',
|
|
|
88
88
|
mask_wc=False,
|
|
89
89
|
spdCor=False,
|
|
90
90
|
maxCrop=False,
|
|
91
|
+
moving_window=False,
|
|
92
|
+
window_stride=0.1,
|
|
91
93
|
USE_GPU=False,
|
|
92
94
|
remShadow=0,
|
|
93
95
|
detectDep=0,
|
|
@@ -1250,10 +1252,10 @@ def read_master_func(logfilename='',
|
|
|
1250
1252
|
# Export un-rectified sonar tiles #
|
|
1251
1253
|
############################################################################
|
|
1252
1254
|
|
|
1253
|
-
moving_window = True
|
|
1254
|
-
window_stride = 0.1
|
|
1255
|
-
tileFile = '.mp4'
|
|
1256
|
-
frameRate = 5
|
|
1255
|
+
# moving_window = True
|
|
1256
|
+
# window_stride = 0.1
|
|
1257
|
+
# tileFile = '.mp4'
|
|
1258
|
+
# frameRate = 5
|
|
1257
1259
|
if tileFile == '.mp4':
|
|
1258
1260
|
imgType = '.png'
|
|
1259
1261
|
else:
|
pingmapper/main_rectify.py
CHANGED
|
@@ -84,13 +84,14 @@ def rectify_master_func(logfilename='',
|
|
|
84
84
|
mask_wc=False,
|
|
85
85
|
spdCor=False,
|
|
86
86
|
maxCrop=False,
|
|
87
|
+
moving_window=False,
|
|
88
|
+
window_stride=0.1,
|
|
87
89
|
USE_GPU=False,
|
|
88
90
|
remShadow=0,
|
|
89
91
|
detectDep=0,
|
|
90
92
|
smthDep=0,
|
|
91
93
|
adjDep=0,
|
|
92
94
|
pltBedPick=False,
|
|
93
|
-
cog=True,
|
|
94
95
|
rect_wcp=False,
|
|
95
96
|
rect_wcr=False,
|
|
96
97
|
rubberSheeting=True,
|
pingmapper/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '4.2.
|
|
1
|
+
__version__ = '4.2.7'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pingmapper
|
|
3
|
-
Version: 4.2.
|
|
3
|
+
Version: 4.2.7
|
|
4
4
|
Summary: Open-source interface for processing recreation-grade side scan sonar datasets and reproducibly mapping benthic habitat
|
|
5
5
|
Author: Cameron Bodine
|
|
6
6
|
Author-email: bodine.cs@gmail.email
|
|
@@ -8,16 +8,15 @@ pingmapper/funcs_common.py,sha256=pCOIy83srtYKtKUnF4oXkd83_kimZI0NiSrO0TE0O4g,13
|
|
|
8
8
|
pingmapper/funcs_model.py,sha256=dO9J4-0s1COggHkSUqHFC1qKTs20A6PSvkDqXWMUT6A,7916
|
|
9
9
|
pingmapper/funcs_rectify.py,sha256=Goh5Yon_qP93dLjq8Vv_qezPxw1H0Yb7Rw4MCTt9Z8U,12114
|
|
10
10
|
pingmapper/gui_main.py,sha256=4mWQDt0qJ-VaQnUQkbYlBiHTIdaVRMh1n5ULkEpRXbQ,34308
|
|
11
|
-
pingmapper/main_mapSubstrate.py,sha256=
|
|
12
|
-
pingmapper/main_readFiles.py,sha256=
|
|
13
|
-
pingmapper/main_rectify.py,sha256=
|
|
14
|
-
pingmapper/mosaic_substrate.py,sha256=KEIu4Os8ax9fYYqejphO1suhrZwZ6Cd9i4H5t9Bk9NA,966
|
|
11
|
+
pingmapper/main_mapSubstrate.py,sha256=obzB_uM0N8z7C0DJFsk1HGaFWd7g_U5Ejghdxey86u0,21073
|
|
12
|
+
pingmapper/main_readFiles.py,sha256=kAv1go28f6KkJ-2ts_NPU6c68PaJRWXZAwLZCcJ_E-4,53128
|
|
13
|
+
pingmapper/main_rectify.py,sha256=TwHQ5KtgmOD4qLIO_bVt7799m3X53h09JPG1Qo25JKk,19523
|
|
15
14
|
pingmapper/test_PINGMapper.py,sha256=ZdVPHTlJFAR_JMnY-kzJe3WeIY6Dukb7Apy4InBFpUI,13986
|
|
16
15
|
pingmapper/test_time.py,sha256=uHT0mtLDP1J6w-snoELyk4UzZ2LrDeF6jGgJJVloalg,750
|
|
17
|
-
pingmapper/version.py,sha256=
|
|
18
|
-
pingmapper-4.2.
|
|
19
|
-
pingmapper-4.2.
|
|
20
|
-
pingmapper-4.2.
|
|
21
|
-
pingmapper-4.2.
|
|
22
|
-
pingmapper-4.2.
|
|
23
|
-
pingmapper-4.2.
|
|
16
|
+
pingmapper/version.py,sha256=0hUE6__yGROJw1HR9_qQFrlsIy2bg48HYUaw5edvz4g,21
|
|
17
|
+
pingmapper-4.2.7.data/data/pingmapper_config/default_params.json,sha256=YA9Rx1PSdUy4cTq-vtKORo3nNLisCYNOeUBxClldmHs,1285
|
|
18
|
+
pingmapper-4.2.7.dist-info/licenses/LICENSE,sha256=lowDp_th1CGR0Z224a-jYRi-oNFe_0fdldL3USXhX-k,1095
|
|
19
|
+
pingmapper-4.2.7.dist-info/METADATA,sha256=pjN5Ilk33SviLlwEZLo-eo3uia2QYs9WlMAG2VNZnb0,9173
|
|
20
|
+
pingmapper-4.2.7.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
|
21
|
+
pingmapper-4.2.7.dist-info/top_level.txt,sha256=RlV4sDoE3uIIDzNMOjN2t012Ia_jsblNVojJvg4q84w,11
|
|
22
|
+
pingmapper-4.2.7.dist-info/RECORD,,
|
pingmapper/mosaic_substrate.py
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
from osgeo import gdal
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
resampleAlg = 'nearest'
|
|
9
|
-
overview = False
|
|
10
|
-
inVrt = r'D:\redbo_science\projects\GulfSturgeonProject_2025\ProcessedData\Raw\PRL_438_395_20210304_FWSB1_Rec00008_2025\substrate\map_substrate_mosaic\PRL_438_395_20210304_FWSB1_Rec00008_2025_map_substrate_raster_mosaic_0_copy.vrt'
|
|
11
|
-
outRast = r'D:\redbo_science\projects\GulfSturgeonProject_2025\ProcessedData\Raw\PRL_438_395_20210304_FWSB1_Rec00008_2025\substrate\map_substrate_mosaic\PRL_438_395_20210304_FWSB1_Rec00008_2025_map_substrate.tif'
|
|
12
|
-
|
|
13
|
-
# Create GeoTiff from vrt
|
|
14
|
-
ds = gdal.Open(inVrt)
|
|
15
|
-
|
|
16
|
-
kwargs = {'format': 'GTiff',
|
|
17
|
-
'creationOptions': ['NUM_THREADS=ALL_CPUS', 'COMPRESS=LZW', 'TILED=YES']
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
# Create geotiff
|
|
21
|
-
gdal.Translate(outRast, ds, **kwargs)
|
|
22
|
-
|
|
23
|
-
# Generate overviews
|
|
24
|
-
if overview:
|
|
25
|
-
dest = gdal.Open(outRast, 1)
|
|
26
|
-
gdal.SetConfigOption('COMPRESS_OVERVIEW', 'DEFLATE')
|
|
27
|
-
dest.BuildOverviews('nearest', [2 ** j for j in range(1,10)])
|
|
File without changes
|
|
File without changes
|
|
File without changes
|