pingmapper 4.2.6__py3-none-any.whl → 4.2.8__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 +15 -7
- pingmapper/main_rectify.py +6 -1
- pingmapper/version.py +1 -1
- {pingmapper-4.2.6.dist-info → pingmapper-4.2.8.dist-info}/METADATA +1 -1
- {pingmapper-4.2.6.dist-info → pingmapper-4.2.8.dist-info}/RECORD +10 -11
- {pingmapper-4.2.6.dist-info → pingmapper-4.2.8.dist-info}/WHEEL +1 -1
- pingmapper/mosaic_substrate.py +0 -27
- {pingmapper-4.2.6.data → pingmapper-4.2.8.data}/data/pingmapper_config/default_params.json +0 -0
- {pingmapper-4.2.6.dist-info → pingmapper-4.2.8.dist-info}/licenses/LICENSE +0 -0
- {pingmapper-4.2.6.dist-info → pingmapper-4.2.8.dist-info}/top_level.txt +0 -0
pingmapper/main_mapSubstrate.py
CHANGED
pingmapper/main_readFiles.py
CHANGED
|
@@ -75,7 +75,7 @@ def read_master_func(logfilename='',
|
|
|
75
75
|
pix_res_map=0,
|
|
76
76
|
x_offset=0,
|
|
77
77
|
y_offset=0,
|
|
78
|
-
tileFile=
|
|
78
|
+
tileFile='.png',
|
|
79
79
|
egn=False,
|
|
80
80
|
egn_stretch=0,
|
|
81
81
|
egn_stretch_factor=1,
|
|
@@ -83,11 +83,13 @@ def read_master_func(logfilename='',
|
|
|
83
83
|
wcm=False,
|
|
84
84
|
wcr=False,
|
|
85
85
|
wco=False,
|
|
86
|
-
sonogram_colorMap='
|
|
86
|
+
sonogram_colorMap='Greys_r',
|
|
87
87
|
mask_shdw=False,
|
|
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,
|
|
@@ -354,7 +356,13 @@ def read_master_func(logfilename='',
|
|
|
354
356
|
|
|
355
357
|
son.sonMetaFile = meta['metaCSV']
|
|
356
358
|
|
|
357
|
-
|
|
359
|
+
if sonFiles:
|
|
360
|
+
if son.beamName in sonFiles:
|
|
361
|
+
sonObjs.append(son)
|
|
362
|
+
else:
|
|
363
|
+
pass
|
|
364
|
+
else:
|
|
365
|
+
sonObjs.append(son)
|
|
358
366
|
|
|
359
367
|
####
|
|
360
368
|
# OLD
|
|
@@ -1250,10 +1258,10 @@ def read_master_func(logfilename='',
|
|
|
1250
1258
|
# Export un-rectified sonar tiles #
|
|
1251
1259
|
############################################################################
|
|
1252
1260
|
|
|
1253
|
-
moving_window = True
|
|
1254
|
-
window_stride = 0.1
|
|
1255
|
-
tileFile = '.mp4'
|
|
1256
|
-
frameRate = 5
|
|
1261
|
+
# moving_window = True
|
|
1262
|
+
# window_stride = 0.1
|
|
1263
|
+
# tileFile = '.mp4'
|
|
1264
|
+
# frameRate = 5
|
|
1257
1265
|
if tileFile == '.mp4':
|
|
1258
1266
|
imgType = '.png'
|
|
1259
1267
|
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,
|
|
@@ -261,6 +262,10 @@ def rectify_master_func(logfilename='',
|
|
|
261
262
|
# Smooth Trackline #
|
|
262
263
|
############################################################################
|
|
263
264
|
|
|
265
|
+
cog=True
|
|
266
|
+
if 'rectMethod' != 'COG':
|
|
267
|
+
cog=False
|
|
268
|
+
|
|
264
269
|
smthTrkFilenames = smoothTrackline(projDir=projDir, x_offset=x_offset, y_offset=y_offset, nchunk=nchunk, cog=cog, threadCnt=threadCnt)
|
|
265
270
|
for son in portstar:
|
|
266
271
|
beam = son.beamName
|
pingmapper/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '4.2.
|
|
1
|
+
__version__ = '4.2.8'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pingmapper
|
|
3
|
-
Version: 4.2.
|
|
3
|
+
Version: 4.2.8
|
|
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=R2xzNIoAQOmXAnGiGkiq8h7MxNDAIX6hnKs9YB86EAg,53292
|
|
13
|
+
pingmapper/main_rectify.py,sha256=fQMd09RbvkTOQ3l_fKYg1mZn7egMtuPJkG8-rN0iT4A,19589
|
|
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=ltynC5U5URkV3Hq3VGLUkBudnSS6yOSDZUICYCTmB0U,21
|
|
17
|
+
pingmapper-4.2.8.data/data/pingmapper_config/default_params.json,sha256=YA9Rx1PSdUy4cTq-vtKORo3nNLisCYNOeUBxClldmHs,1285
|
|
18
|
+
pingmapper-4.2.8.dist-info/licenses/LICENSE,sha256=lowDp_th1CGR0Z224a-jYRi-oNFe_0fdldL3USXhX-k,1095
|
|
19
|
+
pingmapper-4.2.8.dist-info/METADATA,sha256=Gw7rghv0FyidtHm4SRh9s1dB0wbsJRT0DV-CS7ayJIU,9173
|
|
20
|
+
pingmapper-4.2.8.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
|
21
|
+
pingmapper-4.2.8.dist-info/top_level.txt,sha256=RlV4sDoE3uIIDzNMOjN2t012Ia_jsblNVojJvg4q84w,11
|
|
22
|
+
pingmapper-4.2.8.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
|