pingmapper 4.2.5__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.
@@ -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,
@@ -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:
@@ -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.5'
1
+ __version__ = '4.2.7'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pingmapper
3
- Version: 4.2.5
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=XfjWeI77JeSc0Z64ktwAe4_Bo9yx6FnjANyDnzp1dZI,20991
12
- pingmapper/main_readFiles.py,sha256=FScvLChVQIjlicX1yzr263rad71ECojS1hz9MiEAKaA,53036
13
- pingmapper/main_rectify.py,sha256=k3XA3DEsUp_WZ9J7ugguXqmQjVCCTBhZvm73_UBuJiI,19468
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=WyEIKC8yOHmN7FSQ_H-PWhKLjZT1tn1uDb7NN4flmKc,21
18
- pingmapper-4.2.5.data/data/pingmapper_config/default_params.json,sha256=YA9Rx1PSdUy4cTq-vtKORo3nNLisCYNOeUBxClldmHs,1285
19
- pingmapper-4.2.5.dist-info/licenses/LICENSE,sha256=lowDp_th1CGR0Z224a-jYRi-oNFe_0fdldL3USXhX-k,1095
20
- pingmapper-4.2.5.dist-info/METADATA,sha256=mXov8c3y7Ji2KbbmV6XR--_ZJ1qG5OedA7at4-t18VU,9173
21
- pingmapper-4.2.5.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
22
- pingmapper-4.2.5.dist-info/top_level.txt,sha256=RlV4sDoE3uIIDzNMOjN2t012Ia_jsblNVojJvg4q84w,11
23
- pingmapper-4.2.5.dist-info/RECORD,,
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,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.1.0)
2
+ Generator: setuptools (80.3.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -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)])