PYDRO & HYDROFFICE
OPEN TOOLS FOR OCEAN MAPPERS
D. MANDA AND G. MASETTI
V1
WHAT IS PYDRO?
A NOAA Python Distribution
Pydro Universe
A Collection of Open-Source
Hydrographic Tools
A Growing Community of
People with Interests in
Ocean Mapping
Pydro GIS
1994 2015Closed Source
1994 2015Closed Source 2016
1994 2015Closed Source 2016
2016: TRANSITIONING TO OPEN
▪ COLLABORATION WITH THE UNIVERSITY
OF NEW HAMPSHIRE
▪ RELEASE OF NOAA BUILT APPS
▪ OPEN UNDERLYING CODE FOR USE
INSTALLATION
▪ https://svn.pydro.noaa.gov/
WHAT IS HYDROFFICE?
HydrOffice
10
A research framework for
ocean mapping to facilitate
research-to-operation (R2O)
11
CCOM/JHC Italy
2013
Initial thoughts
A framework of
libraries and tools
for Ocean Mapping
12
Quickly prototype
and test
innovative ideas
Ease the transition
from research to
operation
Ref.: G. Masetti, Wilson, M. J., Calder, B. R., Gallagher, B., and Zhang, C., “Research-driven Tools for Ocean Mappers”, Hydro Int., vol. 21, 5. GeoMares, 2017.
2015
White Paper
July 2016
Site Review
March 2017
SSM release
15
CCOM/JHC Italy
January 2018
Team Change
Several Apps
▪ BAG Explorer
16
▪ ENCx
▪ QC Tools
▪ Huddl
▪ StormFix
▪ CA Tools
▪ Bress
▪ …
HYDROFFICE APPS
17
PYTHON SCIENTIFIC STACK
OCEAN MAPPING LIBS
& SCRIPTS
18
OCS-UNH CO-DEVELOPMENT
Pydro Universe Stand-alone Apps Python Packages
www.nauticalcharts.noaa.gov www.hydroffice.org GitHub/PyPi/Conda
19
Distribution
HydrOffice.org
▪ Mobile-first, dynamic website
▪ Based on Django & JavaScript
▪ Per-tool Home Page
▫ Info
▫ Stand-alone downloads
▫ Manuals
▫ Embedded tutorials
20
HydrOffice.org
21(*) Google Analytics, Number of Sessions, January 2018, location filtered: Durham, Silver Spring, unset.
SOUND SPEED MANAGER
AND SMARTMAP
Sound Speed Manager
A ready-to-go and free
solution to ease
the management of
sound speed profiles
for ocean mapping
23Ref.: Masetti, G. et al., Sound SpeedManager: An open-source application to manage sound speed profiles, International Hydrographic Review, vol. 17, pp. 31-40, 2017.
Collaborative Effort
24
Collaborative Effort
25
Open Source
26
Liberal License
27
28
✓Support
✓Open
✓Free
Format Converter
29
30
MVP SIS
31
32
33
34
35
36
37
38
SmartMap
A tool to evaluate
the effects of
oceanographic variability
on mapping surveys
39Ref.: Masetti,, G., Kelley, J., Johnson, P., and Beaudoin, J., A Ray-Tracing Uncertainty Estimation Tool for Ocean Mapping, IEEE Access. IEEE, pp. 1-9, 2017.
40
41
SmartMap Algorithm
▪ Constant Gradient:
▪ Snell Law:
42
SmartMap WebGIS
▪ RTOFS +
WOA13
▪ Animation
▪ Survey Planner
43
Gulf of Maine OFS (beta)
44
TCARI
Tidal Constituent And Residual Interpolation
▪ Created in 1995 at the Coast Survey Development Lab
▪ Overcomes weaknesses in traditional tidal models
▪ Interpolates across the project area:
▫ Tidal constituents
▫ Residual water level, and
▫ Desired vertical datum.
46
47
Disadvantages of discrete zoning:
▪ Does not capture subtle changes in tides
▪ Does not capture meteorological, hydrological and
density effects
▪ Introduces steps at boundary polygons
▪ Polygons are drawn by hand
48
50
51
52
QC/CA TOOLS
Ping-to-chart (very simplified)
Marine
Chart
Division
Hydro
Branches
Field
Survey deliverables
(grids, features, etc.)
Data archive
and public
access
Chart
Products!
Rapid Survey Assessment (RSA)
Survey Review (SAR)
National
Center for
Environmental
Information
Processing Branch deliverables
(grids, features, reports, etc.)
QC Tools
Performs automated
quality control checks
on surfaces and final
feature files.
55
Workflow
56
GDAL Open Formats
▪ BAG
▪ S-57
▪ Shapefile
▪ KML
Survey Review
57
Detect Fliers
Detect Holidays
Grid QA
Scan Designated
Scan Features
VALSOU Check
SBDARE Export
Submission
Checks
Uncertainty
Calculator *
Rock or Islet
Oracle *
* Standalone Tools
58
59
Object Detection:
>3 collinear nodes
Full Coverage:
>3x3 nodes
All Holes
Grid QA Outputs
Grid QA Outputs
Rock or Islet?
62
?
63
64
65
Which tool to improve first?
CA Tools
Performs chart adequacy
tasks by comparing survey
data and current ENCs
66
67
68
z
69
z
70
z
10.2
4.5
4.8
71
z
10.2
4.5
4.8 5.1
72
z
10.2
4.8 5.1
4.5
73
z
10.2
4.8 5.1
4.5
74
z
10.2
4.5
4.8 5.1
Tilted Triangle
75
Flat Triangles > Point-In-Polygon Test
76
77
78
CHARLENE
With Charlene…
▪ Automated data management
▪ Set-and-forget processing
▪ Single interface for user
▪ 40 page SOP encompassed in a few dropdown boxes
▪ Instruction/SOP can be done from a screenshot
80
81
82
83
XMLDR
85
86
87
88
XmlDR Output
OTHER PYDRO TOOLS
90
POSPac AutoQC
92
Sonar Acceptance Tools
OTHER HYDROFFICE TOOLS
BAG Explorer
95
StormFix
96
ARTIFACTS
DETECTION
ARTIFACTS
REDUCTION
BACKSCATTER
MOSAICKING
ANGULAR
RESPONSE
ANALYSIS
Ref.: G. Masetti et al., “How to Improve the Quality and the Reproducibility for Acoustic Seafloor Characterization”, GeoHab 2017. p. Nova Scotia, Canada, 2017.
StormFix: How it works?
98
99
100
101
Just Removal vs Randomization Schema
BRESS
▪ Preliminary segmentation from
co-located DEMs and
backscatter mosaics
▪ Based on principles of:
▫ Topographic openness
▫ Pattern recognition
▫ Texture classification
102Ref.: G. Masetti, Mayer, L. A., and Ward, L. G., “A Bathymetry- and Reflectivity-Based Approach for Seafloor Segmentation”, Geosciences, vol. 8(1). MDPI, 2018.
104
Landform ClassificationLocal Ternary Patterns
105
Output SegmentsArea Kernels
106
107
WHAT’S COMING?
OPENBST
Raw Data File
Caris SIPS
QPS FMGT
Ifremer SonarScope
Beams
Pings
Pings
Pings
Beams
Beams
Reflectivity[dB]
Reflectivity[dB]
Average Initial Reflectivity per Beam NoData Values for Initial Reflectivity per Beam
Beams
Nr.ofValidData
Histogram of Initial Reflectivity per Beam
Reflectivity [dB]
A SHIFT IS REQUIRED FROM THE EXISTING CLOSED-SOURCE APPROACH
AN OPEN-SOURCE AND METADATA-RICH
MODULAR IMPLEMENTATION
NOT COMPETING WITH COMMERCIAL SOLUTIONS, BUT
A SET OF COMMUNITY-VETTED, REFERENCE ALGORITHMS
EXTENDS
SONAR-NETCDF4
FOLLOWS CF METADATA CONVENTIONS
RAW
MOS
Raw Data
Decoding
Geo
Referencing
Radiometric
Corrections
GEO
BS
ARA
Angle Dep.
Removal
Mosaicking
• OpenBST v. 0.1.0
• RawDecoding
• perbeam_bs_from_snippets_using_median
PROCESSING METADATA
GITHUB
+
PYDRO 2019
EPOM
118
E-LEARNING PYTHON
FOR OCEAN MAPPING (EPOM)
119
▪ TO FAMILIARIZE WITH KEY PROGRAMMING CONCEPTS
▪ TO TEACH PROGRAMMING HABITS AND SKILLS
▪ TO INTRODUCE THE EFFECTIVE USE OF THE EXTENSIVE
HELP AND ONLINE RESOURCES AVAILABLE FOR PYTHON
▪ TO PROVIDE ENOUGH BASIC PYTHON SKILLS
EPOM GOALS
NOT A FULL COURSE ON HOW TO PROGRAM IN PYTHON!
120
▪ SIMPLE TO LEARN
▪ INCREASINGLY POPULAR
▪ FREELY AVAILABLE
123
TWO MAIN LINES OF ACTION
Programming Basics
with Python
26-Aug-2019
Fall Term begins
Foundations of Ocean
Mapping Data Science
Development &
Beta Testing
1-Jul-2019
Official Release
124
DEVELOPMENT & BETA TESTING
▪ SERVER CURRENTLY HOSTED AT: HTTPS://EPOM.HYDROFFICE.ORG
125
DEVELOPMENT & BETA TESTING
▪ AN INITIAL COLLECTION OF NOTEBOOKS:
126
DEVELOPMENT & BETA TESTING
▪ AN INITIAL COLLECTION OF NOTEBOOKS:
▫ KEY CONCEPTS
▫ SUPPLEMENTARY INFO
▫ EXERCISES WITH SOLUTIONS
127
CURRENT FEEDBACK
“I think these are a great place to start.”
“Very nicely done!”
“Nope this is pretty neat!”
“I really like how I can do this from home
without having to install any software.
“All the text is very readable and easy to
comprehend.”
128
PUBLICLY AVAILABLE
129
AVAILABLE IN PYDRO 2019
THANKS!
CONTACT US AT: DAMIAN.MANDA@NOAA.GOV, GMASETTI@CCOM.UNH.EDU

Pydro & HydrOffice: Open Tools for Ocean Mappers