Cookbooks // Marine Regulation
Canadian Marine Statutory Compliance Checker
Coastal engineering, acoustic surveys, and reef restoration in Canadian territorial waters must satisfy strict statutory mandates. This recipe provides an automated compliance engine that cross-references project specifications against federal legislation and spatial protected areas.
GitHub Source & Cookbooks Directory
The compliance checker script and statutory rulesets are available in the public repository:
cookbooks/compliance/canadian-marine-compliance/
compliance_checker.py • README.md
Statutory Frameworks & Thresholds
The evaluation engine validates four critical Canadian regulatory dimensions before fieldwork proceeds:
1. Fisheries and Oceans Canada (DFO) Fisheries Act
- Section 34.4 (Fish Death): Evaluates acoustic pressure waves, dredging impact, or mechanical screening that could cause mortality.
- Section 35 (HADD): Identifies Harmful Alteration, Disruption, or Destruction of fish habitat. Determines whether a formal Section 35(2)(b) Authorization and offsetting plan are required.
- Mitigation Controls: Verifies mandatory installation of hydroacoustic bubble curtains (attenuating pile driving and seismic sound) and sediment turbidity curtains.
2. Species at Risk Act (SARA) Spatial Intersections
- Section 58 (Critical Habitat Destruction): Performs bounding-box and polygon intersection against designated critical habitats (such as Southern Resident Killer Whale foraging zones and Glass Sponge Reef Marine Protected Areas).
- Section 73 (Scientific Exemptions): Verifies qualifying criteria for non-invasive marine observation, environmental monitoring, or ecological enhancement.
- Vessel Speed Ceilings: Flags operations exceeding 10.0 knots within designated whale management sectors.
- Acoustic Thresholds: Enforces temporary shutdown when source levels exceed 160.0 dB re 1 μPa without a certified Marine Mammal Observer (MMO) present.
3. Transport Canada & Navigable Waters
- Canadian Navigable Waters Act (CNWA): Validates works in scheduled waterways. Checks eligibility under the Minor Works Order for temporary scientific moorings (footprint under specified benthic limits).
- Navigation Safety Regulations: Evaluates mandatory Navigational Warning (NAVWARN / Notice to Shipping) broadcasts for works exceeding 24 hours.
4. Least-Risk Construction Windows
In British Columbia coastal waters, in-water works must adhere to seasonal timing windows to avoid juvenile salmon seaward migration (typically March 1 to July 1) and Pacific herring roe spawning.
Python Code Example
from compliance_checker import CanadianMarineComplianceChecker, MarineProjectSpec
checker = CanadianMarineComplianceChecker()
# Define project parameters
project = MarineProjectSpec(
project_id="SALISH-MOOR-01",
project_name="Haro Strait Hydrophone Array",
proponent="Pacific Ocean Acoustic Labs",
activity_type="sensor_mooring",
latitude=48.55,
longitude=-123.25,
waterbody="Haro Strait",
start_date="2026-09-01",
end_date="2026-09-20",
involves_navigable_waters=True,
acoustic_source_level_db=135.0,
vessel_speed_knots=9.0,
has_marine_mammal_observer=True,
has_navwarn_issued=True,
is_temporary_scientific_deployment=True,
)
# Run automated statutory assessment
report = checker.evaluate_project(project)
print(f"Project Status: {report.overall_status}")
print(f"Permits Required: {len(report.permits_required)}")
for permit in report.permits_required:
print(f" - {permit.authority}: {permit.permit_name} ({permit.trigger})")