How raulsan7/underwateracoustics_offcoustics_fortran works
This is a Python plotting and post-processing package for acoustic-solver HDF5 outputs. The principal workflow is selecting files, decoding solver data into emitter-specific cases, then generating acoustic plots and saving figures. The graph preserves the documented turbine, farm, source, comparison, and plot-family capabilities. Many links rely on the SOURCE INDEX rather than full excerpts; uncertain relationships are omitted.
Main entry points: plots Plot families · plots.py Case comparisons · describe.py File description · turbine.py Turbine wrapper
Components 27
Input and cases
- File selection
plotting/plot_utils/cli.py - HDF5 discovery
plotting/plot_utils/files.py - Turbine plotting
plotting/turbine.py - Farm plotting
plotting/farm.py - Source plotting
plotting/source.py - Turbine wrapper
plotting/wrappers/turbine.py - Farm wrapper
plotting/wrappers/farm.py - Source wrapper
plotting/wrappers/source.py - Case contract
plotting/wrappers/case.py
Solver data readers
- HDF5 decoding
plotting/readers/hdf5_io.py - Solver metadata
plotting/readers/solver.py - Turbine reader
plotting/readers/turbine.py - Farm reader
plotting/readers/farm.py - Source reader
plotting/readers/source.py - File description
plotting/readers/describe.py
Acoustic plotting
- Generic plots
plotting/plots/common.py - Case comparisons
plotting/compare/plots.py - Plot families
plotting/plots - Specialized plots
plotting/plots/specific
Plotting support
- Acoustic metrics
plotting/utils/AcousticUtils.py - Water environment
plotting/utils/EnvironmentalData.py - Magnitude conversion
plotting/plot_utils/conversions.py - Plot drawing
plotting/plot_utils/drawing.py - Colors and palettes
plotting/plot_utils/colors.py - Academic styling
plotting/plot_utils/style.py - Figure saving
plotting/plot_utils/saving.py
Other components
- Analyst
Connections 46
- Analyst → File selection: selects files
plotting/plot_utils/cli.py - File selection → HDF5 discovery: resolves paths
plotting/plot_utils/cli.py - Analyst → Turbine plotting: requests plots
- Analyst → Farm plotting: requests plots
- Analyst → Source plotting: requests plots
- Turbine plotting → Turbine wrapper: uses wrapper
plotting/turbine.py - Farm plotting → Farm wrapper: uses wrapper
plotting/farm.py - Source plotting → Source wrapper: uses wrapper
plotting/source.py - Turbine wrapper → Turbine reader: reads data
plotting/wrappers/turbine.py - Farm wrapper → Farm reader: reads data
plotting/wrappers/farm.py - Source wrapper → Source reader: reads data
plotting/wrappers/source.py - Turbine wrapper → File description: describes files
plotting/wrappers/turbine.py - Farm wrapper → File description: describes files
plotting/wrappers/farm.py - Source wrapper → File description: describes files
plotting/wrappers/source.py - Turbine wrapper → Case contract: validates case
plotting/wrappers/turbine.py - Farm wrapper → Case contract: validates case
plotting/wrappers/farm.py - Source wrapper → Case contract: validates case
plotting/wrappers/source.py - Turbine reader → HDF5 decoding: decodes datasets
plotting/readers/turbine.py - Farm reader → HDF5 decoding: decodes datasets
plotting/readers/farm.py - Source reader → HDF5 decoding: decodes datasets
plotting/readers/source.py - Turbine reader → Solver metadata: loads metadata
plotting/readers/turbine.py - Farm reader → Solver metadata: loads metadata
plotting/readers/farm.py - Source reader → Solver metadata: loads metadata
plotting/readers/source.py - File description → HDF5 decoding: detects format
plotting/readers/describe.py - File description → Solver metadata: reads metadata
plotting/readers/describe.py - File description → Turbine reader: describes emitter
plotting/readers/describe.py - Turbine plotting → Case comparisons: plots comparisons
plotting/turbine.py - Farm plotting → Case comparisons: plots comparisons
plotting/farm.py - Source plotting → Case comparisons: plots comparisons
plotting/source.py - Case comparisons → Case contract: uses case fields
plotting/compare/plots.py - Case comparisons → Generic plots: draws panels
plotting/compare/plots.py - Case comparisons → Specialized plots: draws structure
plotting/compare/plots.py - Case comparisons → Figure saving: names figures
plotting/compare/plots.py - Plot families → Case contract: consumes cases
plotting/plots/metrics.py - Plot families → Magnitude conversion: converts pressure
plotting/plots/metrics.py - Plot families → Acoustic metrics: computes metrics
plotting/plots/metrics.py - Plot families → Plot drawing: draws annotations
plotting/plots/specific/structure.py - Plot families → Colors and palettes: styles series
plotting/plots/metrics.py - Plot families → Figure saving: names figures
plotting/plots/metrics.py - Magnitude conversion → Acoustic metrics: converts pressure
plotting/plot_utils/conversions.py - Colors and palettes → Academic styling: uses palettes
plotting/plot_utils/colors.py - Figure saving → HDF5 discovery: formats paths
plotting/plot_utils/saving.py - Farm wrapper → File selection: parses options
plotting/wrappers/farm.py - Source wrapper → File selection: parses options
plotting/wrappers/source.py - Turbine wrapper → File selection: parses options
plotting/wrappers/turbine.py - Plot families → Water environment: uses water data
plotting/plots/spectrum.py