Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OOI tides and currents

Exploration of seafloor data from the Ocean Observatories Initiative (OOI) off the Pacific Northwest — pairing a bottom pressure gauge (tides / sea level) with a current meter (water velocity), and analysing how they relate.

The work is a set of guided, teach-from-zero Jupyter notebooks (no prior oceanography or signal-processing assumed) sharing a small helper library, notebooks/oceanlib.py.

The two datasets

dataset folder location code channels what it is
pressure gauge tidal/ 10 *DO pressure (dbar), *K1 temperature (°C) tides / sea level
current meter currentmeter/<year>/ 20 LOE/LON/LOZ velocity east/north/up (m/s), LKO temperature bottom currents

Stations: AXBA1 (Axial Base), HYSB1 (Slope Base), HYS14. The raw mSEED data (~17 GB) is not in the repo — point the loaders at your local tidal/ and currentmeter/ folders.

Notebooks

# notebook topic
00 notebooks/00_dataset_overview.ipynb catalog, coverage, channel inventory
01 notebooks/01_signals_separately.ipynb each variable, short- & long-term
02 notebooks/02_signals_together.ipynb pressure & temperature together
03 notebooks/03_daily_plots.ipynb day views, spring–neap, tidal drift
04 notebooks/04_detide_harmonic_analysis.ipynb remove the tide (Thomson & Emery harmonic analysis)
05 notebooks/05_current_meter.ipynb current velocity — speed/direction, stick & progressive-vector plots, current rose
06 notebooks/06_tide_current_relationship.ipynb relate tide & currents — coherence, phase lag, cross-correlation

See notebooks/README.md for full details, the helper API, and the data-quality / units notes.

Web viewer

An interactive local web UI to pick a station + datetime window and plot pressure (with optional temperature, a de-tide view, and current-meter velocity) lives in webapp/ — run cd webapp && python app.py and open http://127.0.0.1:8000. See webapp/README.md.

Setup

pip install -r requirements.txt   # obspy, numpy, pandas, scipy, matplotlib, jupyter
# optional cross-check for notebook 04:  pip install utide

jupyter lab          # then open notebooks/00_dataset_overview.ipynb

Regenerate the notebooks from source: python notebooks/_build_notebooks.py (or one at a time: python notebooks/_build_notebooks.py 06_tide_current_relationship.ipynb).

License

MIT.

About

Teaching notebooks analysing OOI seafloor tides (bottom pressure) and currents: harmonic de-tiding and tide–current coherence/phase analysis.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages