pingmapper 4.2.10__py3-none-any.whl → 4.2.12__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/gui_main.py CHANGED
@@ -10,10 +10,17 @@ SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
10
10
  PACKAGE_DIR = os.path.dirname(SCRIPT_DIR)
11
11
  sys.path.append(PACKAGE_DIR)
12
12
 
13
+ # # For Debug
14
+ # from funcs_common import *
15
+ # from main_readFiles import read_master_func
16
+ # from main_rectify import rectify_master_func
17
+ # from main_mapSubstrate import map_master_func
18
+
13
19
  from pingmapper.funcs_common import *
14
20
  from pingmapper.main_readFiles import read_master_func
15
21
  from pingmapper.main_rectify import rectify_master_func
16
22
  from pingmapper.main_mapSubstrate import map_master_func
23
+
17
24
  import json
18
25
  import pandas as pd
19
26
 
@@ -36,9 +36,15 @@ SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
36
36
  PACKAGE_DIR = os.path.dirname(SCRIPT_DIR)
37
37
  sys.path.append(PACKAGE_DIR)
38
38
 
39
+ # # For debug
40
+ # from funcs_common import *
41
+ # from class_sonObj import sonObj
42
+ # from class_portstarObj import portstarObj
43
+
39
44
  from pingmapper.funcs_common import *
40
45
  from pingmapper.class_sonObj import sonObj
41
46
  from pingmapper.class_portstarObj import portstarObj
47
+
42
48
  import shutil
43
49
  from doodleverse_utils.imports import *
44
50
 
@@ -246,6 +252,11 @@ def read_master_func(logfilename='',
246
252
  | | water column present (wcp)
247
253
  '''
248
254
 
255
+ #####################################
256
+ # Show version
257
+ from pingmapper.version import __version__
258
+ print("\nPING-Mapper v{}".format(__version__))
259
+
249
260
 
250
261
  #####################################
251
262
  # Download models if they don't exist
@@ -38,10 +38,16 @@ SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
38
38
  PACKAGE_DIR = os.path.dirname(SCRIPT_DIR)
39
39
  sys.path.append(PACKAGE_DIR)
40
40
 
41
- from pingmapper.funcs_common import *
42
- from pingmapper.class_rectObj import rectObj
43
- from pingmapper.class_portstarObj import portstarObj
44
- from pingmapper.funcs_rectify import smoothTrackline
41
+ # # For Debug
42
+ # from funcs_common import *
43
+ # from class_rectObj import rectObj
44
+ # from class_portstarObj import portstarObj
45
+ # from funcs_rectify import smoothTrackline
46
+
47
+ # from pingmapper.funcs_common import *
48
+ # from pingmapper.class_rectObj import rectObj
49
+ # from pingmapper.class_portstarObj import portstarObj
50
+ # from pingmapper.funcs_rectify import smoothTrackline
45
51
 
46
52
  import inspect
47
53
 
@@ -444,7 +450,7 @@ def rectify_master_func(logfilename='',
444
450
  start_time = time.time()
445
451
  print("\nMosaicing GeoTiffs...")
446
452
  psObj = portstarObj(portstar)
447
- if aoi or max_heading_deviation or min_speed or max_speed:
453
+ if aoi or max_heading_deviation or min_speed or max_speed or time_table:
448
454
  psObj._createMosaicTransect(mosaic, overview, threadCnt, son=True, maxChunk=mosaic_nchunk, cog=cog)
449
455
  else:
450
456
  psObj._createMosaic(mosaic, overview, threadCnt, son=True, maxChunk=mosaic_nchunk)
@@ -38,6 +38,12 @@ SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
38
38
  PACKAGE_DIR = os.path.dirname(SCRIPT_DIR)
39
39
  sys.path.append(PACKAGE_DIR)
40
40
 
41
+ # # For debug
42
+ # from funcs_common import *
43
+ # from main_readFiles import read_master_func
44
+ # from main_rectify import rectify_master_func
45
+ # from main_mapSubstrate import map_master_func
46
+
41
47
  from pingmapper.funcs_common import *
42
48
  from pingmapper.main_readFiles import read_master_func
43
49
  from pingmapper.main_rectify import rectify_master_func
@@ -177,7 +183,7 @@ def test(ds):
177
183
  ## 2==Auto detect depth w/ Thresholding
178
184
 
179
185
  smthDep = True #Smooth depth before water column removal
180
- adjDep = 10 #Aditional depth adjustment (in pixels) for water column removaL
186
+ adjDep = 0 #Aditional depth adjustment (in meters) for water column removaL
181
187
  pltBedPick = True #Plot bedpick on sonogram
182
188
 
183
189
 
pingmapper/test_time.py CHANGED
@@ -17,5 +17,9 @@ converted_date = start_date + timedelta(seconds=custom_unix_time)
17
17
  eastern = pytz.timezone("US/Eastern")
18
18
  converted_date_eastern = converted_date.astimezone(eastern)
19
19
 
20
+ print(start_date)
21
+ print(unix_timestamp)
20
22
  print("Custom Unix Start Time:", unix_timestamp)
21
- print("Converted Date and Time:", converted_date_eastern)
23
+ print(converted_date)
24
+ print("Converted Date and Time:", converted_date_eastern)
25
+ print(timedelta(seconds=custom_unix_time))
pingmapper/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = '4.2.10'
1
+ __version__ = '4.2.12'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pingmapper
3
- Version: 4.2.10
3
+ Version: 4.2.12
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
@@ -7,16 +7,16 @@ pingmapper/class_sonObj.py,sha256=jxo_QBtYJmM9oJlxPfcKutc_8HkEj1hBdP5F6-61Mz8,74
7
7
  pingmapper/funcs_common.py,sha256=pCOIy83srtYKtKUnF4oXkd83_kimZI0NiSrO0TE0O4g,13414
8
8
  pingmapper/funcs_model.py,sha256=dO9J4-0s1COggHkSUqHFC1qKTs20A6PSvkDqXWMUT6A,7916
9
9
  pingmapper/funcs_rectify.py,sha256=Goh5Yon_qP93dLjq8Vv_qezPxw1H0Yb7Rw4MCTt9Z8U,12114
10
- pingmapper/gui_main.py,sha256=91HAQP-o1EWxvTdW3Sv4eYJcDiSGYp_U7pQ9f_ZJ7Z8,34316
10
+ pingmapper/gui_main.py,sha256=w9E9pHjXLTzeu8rt1iohcMxGxR1ot8O_G6prHRW13bc,34509
11
11
  pingmapper/main_mapSubstrate.py,sha256=obzB_uM0N8z7C0DJFsk1HGaFWd7g_U5Ejghdxey86u0,21073
12
- pingmapper/main_readFiles.py,sha256=rsu9S1UDyVpHQl1frWAa6B8ka05zmRqWmAQbKQzjUOw,53567
13
- pingmapper/main_rectify.py,sha256=df6cRODvLRVYWsWHE-g6Kk5JBihtWj5NHHcc6w0jkHM,19681
14
- pingmapper/test_PINGMapper.py,sha256=ZdVPHTlJFAR_JMnY-kzJe3WeIY6Dukb7Apy4InBFpUI,13986
15
- pingmapper/test_time.py,sha256=uHT0mtLDP1J6w-snoELyk4UzZ2LrDeF6jGgJJVloalg,750
16
- pingmapper/version.py,sha256=v3f4Iuo4qROiPylZKniXkSoF0x5vI58duORwnHGs0n4,22
17
- pingmapper-4.2.10.data/data/pingmapper_config/default_params.json,sha256=YA9Rx1PSdUy4cTq-vtKORo3nNLisCYNOeUBxClldmHs,1285
18
- pingmapper-4.2.10.dist-info/licenses/LICENSE,sha256=lowDp_th1CGR0Z224a-jYRi-oNFe_0fdldL3USXhX-k,1095
19
- pingmapper-4.2.10.dist-info/METADATA,sha256=c4HICHLroMW4dkAsbB5SgMNoeld7tS_OCurbvIk-g7k,9174
20
- pingmapper-4.2.10.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
21
- pingmapper-4.2.10.dist-info/top_level.txt,sha256=RlV4sDoE3uIIDzNMOjN2t012Ia_jsblNVojJvg4q84w,11
22
- pingmapper-4.2.10.dist-info/RECORD,,
12
+ pingmapper/main_readFiles.py,sha256=vUKP44xnuza0sRcsyfkB2jOtYwR2tlkgYMnSdThgHuI,53861
13
+ pingmapper/main_rectify.py,sha256=npSnzyNtGgVaeHN7IAzuufjzkttFA46buEm_g-I-QRY,19877
14
+ pingmapper/test_PINGMapper.py,sha256=-SYMsdK-tTodXp5dCFSWPn-KRN7-OjX6OwjQ2-8hQg0,14176
15
+ pingmapper/test_time.py,sha256=ZdlaA9ODWgFYi63Jjz0byP6aLV7E9QTQYf0BGfa7SaY,859
16
+ pingmapper/version.py,sha256=-FYI3q0s14GXAZBzWvNE0NIBQuGXxXwo7zf0FXvGBuU,22
17
+ pingmapper-4.2.12.data/data/pingmapper_config/default_params.json,sha256=YA9Rx1PSdUy4cTq-vtKORo3nNLisCYNOeUBxClldmHs,1285
18
+ pingmapper-4.2.12.dist-info/licenses/LICENSE,sha256=lowDp_th1CGR0Z224a-jYRi-oNFe_0fdldL3USXhX-k,1095
19
+ pingmapper-4.2.12.dist-info/METADATA,sha256=FlnDfiiB1K0WNOIbxdckLmSCv6rsHV5BmtJcma9jCR8,9174
20
+ pingmapper-4.2.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
+ pingmapper-4.2.12.dist-info/top_level.txt,sha256=RlV4sDoE3uIIDzNMOjN2t012Ia_jsblNVojJvg4q84w,11
22
+ pingmapper-4.2.12.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.3.1)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5