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 +7 -0
- pingmapper/main_readFiles.py +11 -0
- pingmapper/main_rectify.py +11 -5
- pingmapper/test_PINGMapper.py +7 -1
- pingmapper/test_time.py +5 -1
- pingmapper/version.py +1 -1
- {pingmapper-4.2.10.dist-info → pingmapper-4.2.12.dist-info}/METADATA +1 -1
- {pingmapper-4.2.10.dist-info → pingmapper-4.2.12.dist-info}/RECORD +12 -12
- {pingmapper-4.2.10.dist-info → pingmapper-4.2.12.dist-info}/WHEEL +1 -1
- {pingmapper-4.2.10.data → pingmapper-4.2.12.data}/data/pingmapper_config/default_params.json +0 -0
- {pingmapper-4.2.10.dist-info → pingmapper-4.2.12.dist-info}/licenses/LICENSE +0 -0
- {pingmapper-4.2.10.dist-info → pingmapper-4.2.12.dist-info}/top_level.txt +0 -0
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
|
|
pingmapper/main_readFiles.py
CHANGED
|
@@ -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
|
pingmapper/main_rectify.py
CHANGED
|
@@ -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
|
-
|
|
42
|
-
from
|
|
43
|
-
from
|
|
44
|
-
from
|
|
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)
|
pingmapper/test_PINGMapper.py
CHANGED
|
@@ -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 =
|
|
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(
|
|
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.
|
|
1
|
+
__version__ = '4.2.12'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pingmapper
|
|
3
|
-
Version: 4.2.
|
|
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=
|
|
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=
|
|
13
|
-
pingmapper/main_rectify.py,sha256=
|
|
14
|
-
pingmapper/test_PINGMapper.py,sha256
|
|
15
|
-
pingmapper/test_time.py,sha256=
|
|
16
|
-
pingmapper/version.py,sha256
|
|
17
|
-
pingmapper-4.2.
|
|
18
|
-
pingmapper-4.2.
|
|
19
|
-
pingmapper-4.2.
|
|
20
|
-
pingmapper-4.2.
|
|
21
|
-
pingmapper-4.2.
|
|
22
|
-
pingmapper-4.2.
|
|
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,,
|
{pingmapper-4.2.10.data → pingmapper-4.2.12.data}/data/pingmapper_config/default_params.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|