pingmapper 4.2.6__tar.gz → 4.2.8__tar.gz

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.
Files changed (29) hide show
  1. {pingmapper-4.2.6 → pingmapper-4.2.8}/PKG-INFO +1 -1
  2. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper/main_mapSubstrate.py +2 -0
  3. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper/main_readFiles.py +15 -7
  4. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper/main_rectify.py +6 -1
  5. pingmapper-4.2.8/pingmapper/version.py +1 -0
  6. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper.egg-info/PKG-INFO +1 -1
  7. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper.egg-info/SOURCES.txt +0 -1
  8. pingmapper-4.2.6/pingmapper/mosaic_substrate.py +0 -27
  9. pingmapper-4.2.6/pingmapper/version.py +0 -1
  10. {pingmapper-4.2.6 → pingmapper-4.2.8}/LICENSE +0 -0
  11. {pingmapper-4.2.6 → pingmapper-4.2.8}/README.md +0 -0
  12. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper/__init__.py +0 -0
  13. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper/__main__.py +0 -0
  14. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper/class_mapSubstrateObj.py +0 -0
  15. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper/class_portstarObj.py +0 -0
  16. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper/class_rectObj.py +0 -0
  17. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper/class_sonObj.py +0 -0
  18. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper/default_params.json +0 -0
  19. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper/funcs_common.py +0 -0
  20. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper/funcs_model.py +0 -0
  21. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper/funcs_rectify.py +0 -0
  22. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper/gui_main.py +0 -0
  23. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper/test_PINGMapper.py +0 -0
  24. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper/test_time.py +0 -0
  25. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper.egg-info/dependency_links.txt +0 -0
  26. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper.egg-info/requires.txt +0 -0
  27. {pingmapper-4.2.6 → pingmapper-4.2.8}/pingmapper.egg-info/top_level.txt +0 -0
  28. {pingmapper-4.2.6 → pingmapper-4.2.8}/setup.cfg +0 -0
  29. {pingmapper-4.2.6 → pingmapper-4.2.8}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pingmapper
3
- Version: 4.2.6
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
@@ -80,6 +80,8 @@ def map_master_func(logfilename='',
80
80
  mask_wc=False,
81
81
  spdCor=False,
82
82
  maxCrop=False,
83
+ moving_window=False,
84
+ window_stride=0.1,
83
85
  USE_GPU=False,
84
86
  remShadow=0,
85
87
  detectDep=0,
@@ -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=False,
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='Greys',
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
- sonObjs.append(son)
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:
@@ -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
@@ -0,0 +1 @@
1
+ __version__ = '4.2.8'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pingmapper
3
- Version: 4.2.6
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
@@ -15,7 +15,6 @@ pingmapper/gui_main.py
15
15
  pingmapper/main_mapSubstrate.py
16
16
  pingmapper/main_readFiles.py
17
17
  pingmapper/main_rectify.py
18
- pingmapper/mosaic_substrate.py
19
18
  pingmapper/test_PINGMapper.py
20
19
  pingmapper/test_time.py
21
20
  pingmapper/version.py
@@ -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)])
@@ -1 +0,0 @@
1
- __version__ = '4.2.6'
File without changes
File without changes
File without changes
File without changes