-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
141 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,7 @@ | |
|
||
import os | ||
import logging | ||
from hyo2.abc2.lib.lib_info import LibInfo | ||
|
||
from hyo2.abc2.lib.package.pkg_info import PkgInfo | ||
|
||
logger = logging.getLogger(__name__) | ||
logger.addHandler(logging.NullHandler()) | ||
|
@@ -15,35 +14,29 @@ | |
__version__ = '2024.0.0' | ||
__copyright__ = 'Copyright 2024 University of New Hampshire, Center for Coastal and Ocean Mapping' | ||
|
||
lib_info = LibInfo() | ||
|
||
lib_info.lib_name = name | ||
lib_info.lib_version = __version__ | ||
lib_info.lib_author = "Giuseppe Masetti(UNH,JHC-CCOM); Barry Gallagher(NOAA,OCS); " \ | ||
"Chen Zhang(NOAA,OCS)" | ||
lib_info.lib_author_email = "[email protected]; [email protected]; " \ | ||
"[email protected]" | ||
|
||
lib_info.lib_license = "LGPLv2.1 or CCOM-UNH Industrial Associate license" | ||
lib_info.lib_license_url = "https://www.hydroffice.org/license/" | ||
|
||
lib_info.lib_path = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
lib_info.lib_url = "https://www.hydroffice.org/soundspeed/" | ||
lib_info.lib_manual_url = "https://www.hydroffice.org/manuals/ssm2/index.html" | ||
lib_info.lib_support_email = "[email protected]" | ||
lib_info.lib_latest_url = "https://www.hydroffice.org/latest/soundspeed.txt" | ||
|
||
lib_info.lib_dep_dict = { | ||
"hyo2.abc2": "hyo2.abc2", | ||
"hyo2.ssm2": "hyo2.ssm2", | ||
"hyo2.surveydatamonitor": "hyo2.surveydatamonitor", | ||
"gsw": "gsw", | ||
"netCDF4": "netCDF4", | ||
"gdal": "osgeo", | ||
"numpy": "numpy", | ||
"pyproj": "pyproj", | ||
"matplotlib": "matplotlib", | ||
"cartopy": "cartopy", | ||
"PySide6": "PySide6" | ||
} | ||
pkg_info = PkgInfo( | ||
name=name, | ||
version=__version__, | ||
author="Giuseppe Masetti(UNH,JHC-CCOM); Barry Gallagher(NOAA,OCS); Chen Zhang(NOAA,OCS)", | ||
author_email="[email protected]; [email protected]; [email protected]", | ||
lic="LGPLv2.1 or CCOM-UNH Industrial Associate license", | ||
lic_url="https://www.hydroffice.org/license/", | ||
path=os.path.abspath(os.path.dirname(__file__)), | ||
url="https://www.hydroffice.org/soundspeed/", | ||
manual_url="https://www.hydroffice.org/manuals/ssm2/index.html", | ||
support_email="[email protected]", | ||
latest_url="https://www.hydroffice.org/latest/soundspeed.txt", | ||
deps_dict={ | ||
"hyo2.abc2": "hyo2.abc2", | ||
"hyo2.ssm2": "hyo2.ssm2", | ||
"hyo2.sdm2": "hyo2.sdm2", | ||
"gsw": "gsw", | ||
"netCDF4": "netCDF4", | ||
"gdal": "osgeo", | ||
"numpy": "numpy", | ||
"pyproj": "pyproj", | ||
"matplotlib": "matplotlib", | ||
"cartopy": "cartopy", | ||
"PySide6": "PySide6" | ||
} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,19 @@ | ||
""" | ||
Hydro-Package | ||
Sound Speed Manager | ||
""" | ||
import logging | ||
import os | ||
|
||
from hyo2.abc2.app.app_info import AppInfo | ||
from hyo2.ssm2 import pkg_info | ||
|
||
logger = logging.getLogger(__name__) | ||
logger.addHandler(logging.NullHandler()) | ||
|
||
name = "Sound Speed Manager" | ||
__version__ = "2024.0.0" | ||
__copyright__ = "Copyright 2024 University of New Hampshire, Center for Coastal and Ocean Mapping" | ||
|
||
app_info = AppInfo() | ||
|
||
app_info.app_name = name | ||
app_info.app_version = __version__ | ||
app_info.app_author = "Giuseppe Masetti(UNH,CCOM); Barry Gallagher(NOAA,OCS); " \ | ||
"Chen Zhang(NOAA,OCS)" | ||
app_info.app_author_email = "[email protected]; [email protected]; " \ | ||
"[email protected]" | ||
|
||
app_info.app_license = "LGPLv2.1 or CCOM-UNH Industrial Associate license" | ||
app_info.app_license_url = "https://www.hydroffice.org/license/" | ||
|
||
app_info.app_path = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
app_info.app_url = "https://www.hydroffice.org/soundspeed/" | ||
app_info.app_manual_url = "https://www.hydroffice.org/manuals/soundspeed/index.html" | ||
app_info.app_support_email = "[email protected]" | ||
app_info.app_latest_url = "https://www.hydroffice.org/latest/soundspeedmanager.txt" | ||
|
||
app_info.app_media_path = os.path.join(app_info.app_path, "media") | ||
app_info.app_main_window_object_name = "MainWindow" | ||
app_info.app_license_path = os.path.join(app_info.app_media_path, "LICENSE") | ||
app_info.app_icon_path = os.path.join(app_info.app_media_path, "app_icon.png") | ||
|
||
# icon size | ||
app_info.app_tabs_icon_size = 36 | ||
app_info.app_toolbars_icon_size = 24 | ||
app_path = os.path.abspath(os.path.dirname(__file__)) | ||
app_media_path = os.path.join(app_path, "media") | ||
|
||
app_info = pkg_info.app_info( | ||
app_name="Sound Speed Manager", | ||
app_beta=True, | ||
app_path=app_path, | ||
app_media_path=app_media_path, | ||
app_license_path=os.path.join(app_media_path, "LICENSE"), | ||
app_icon_path=os.path.join(app_media_path, "app_icon.png") | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.