-
Notifications
You must be signed in to change notification settings - Fork 1
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
4 changed files
with
82 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import os | ||
import logging | ||
|
||
from hyo2.abc2.lib.logging import set_logging | ||
from hyo2.bag.bag import BAGFile | ||
from hyo2.bag.helper import Helper | ||
from hyo2.bag.meta import Meta | ||
|
||
set_logging(ns_list=['hyo2.bag']) | ||
logger = logging.getLogger(__name__) | ||
|
||
# file_bag_0 = os.path.join(Helper.samples_folder(), "bdb_01.bag") | ||
file_bag_0 = r"D:\google_drive\_ccom\QC Tools\data\survey\BAG Checks\QC3_error\F00834_MB_VR_MLLW_2of2.bag" | ||
if os.path.exists(file_bag_0): | ||
logger.debug("- file_bag_0: %s" % file_bag_0) | ||
|
||
bag_0 = BAGFile(file_bag_0, mode='r') | ||
logger.debug(bag_0) | ||
|
||
meta = Meta(bag_0.metadata()) | ||
|
||
logger.debug("crs: %s (%s)" % (meta.wkt_srs, type(meta.wkt_srs))) |
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
""" | ||
|
||
name = 'BAG' | ||
__version__ = '1.2.7' | ||
__version__ = '1.2.8' | ||
__author__ = '[email protected]' | ||
__license__ = 'LGPLv3 license' | ||
__copyright__ = 'Copyright (c) 2024, University of New Hampshire, Center for Coastal and Ocean Mapping' |
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