https://github.com/callumrollo/wod-plots

Make the world ocean data plot that you know and love

https://github.com/callumrollo/wod-plots

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.6%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Make the world ocean data plot that you know and love

Basic Info
  • Host: GitHub
  • Owner: callumrollo
  • License: mit
  • Language: Jupyter Notebook
  • Default Branch: main
  • Size: 336 KB
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 2 years ago · Last pushed about 2 years ago
Metadata Files
Readme License

README.md

World Ocean Data plot

The plot that has graced a thousand powerpoints

Stacked histogram of yearly CTD profiles from WOD

Rationale

I couldn't find code to make this plot so I wrote these Python scripts. Feel free to use and remix them. See below for references to other existing versions of this plot.

Usage

The script download_wod.py will download all the source data files from https://www.ncei.noaa.gov/data/oceans/ncei/wod to make the plot. By default it will only save the lon, lat and time columns to save space. It totals to less than 2 GB. If you choose to keep the full nc files it will take up around 180 GB of disk space. If interrupted, it will resume from the next file.

It took me several days for the download process to run. The script retry.py will re-run the abose script if it has crashed. Works well as a cron job. It might need some path tweaking to run on you machine. Best run on a remote server

shortcut you can download the processed dataset here http://callumrollo.com/files/wodbyyear.pqt. Last updated april 2024.

The notebook make-plot.ipynb makes the plot from the downloaded files.

Known Issues

  • Various timestamp encoding issues can crash this, see above on retrying the script.
  • I found that after downloading many files I started to get partial downloads. You may need to enable nc downloads to debug this
  • The download takes days. Not sure if running it in parallel against the NCEI server would be appreciated though!

Other versions

I first saw a recreation of this at a conference ~ 2022. I think it was the figure "watched waters" from this paper by Bates et. al 2018:

Bates, A. E., Helmuth, B., Burrows, M. T., Duncan, M. I., Garrabou, J., Guy-Haim, T., et al. (2018). Biologists ignore ocean weather at their peril. Nature 560, 299–301. doi: 10.1038/d41586-018-05869-5

I recently saw a more up to date version presented by Alexey Mishonov at IMDIS 2024 in Bergen:

2023 release of World Ocean Database and World Ocean Atlas Alexey Mishonov, Tim Boyer, Ricardo Locarnini, Hernan Garcia, Dan Seidov, James Reagan, Christopher Paver, Olga Baranova, Scott Cross, Courtney Bouchard, Ebenez Nyadro, Alexandra Grodsky and Dmitry Dukhovsko https://imdis.seadatanet.org/content/download/171431/file/IMDIS2024programmeV4.pdf

References

This work uses data from NCEI Standard Product: World Ocean Database (WOD) https://www.ncei.noaa.gov/access/metadata/landing-page/bin/iso?id=gov.noaa.nodc:NCEI-WOD

Disclaimers

This plot only shows data from the World Ocean Database. This is not a comprehensive, or even necessarily representative view of all oceanographic profiles taken in a given year.

No data integrity checks have been made against the original datasets, some data may have been missed.

I make no claim to the original data shown in this plot, or the idea to create it. See the above sections for references to the orginal works.

Owner

  • Name: Callum Rollo
  • Login: callumrollo
  • Kind: user
  • Location: Gothenburg, Sweden
  • Company: Voice of the Ocean Foundation

Oceanographer, Pythonista and data science-ish. Breaks things on Fridays

GitHub Events

Total
Last Year

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 9
  • Total Committers: 1
  • Avg Commits per committer: 9.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 9
  • Committers: 1
  • Avg Commits per committer: 9.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Callum Rollo c****o@o****m 9

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

requirements.txt pypi
  • cftime *
  • netcdf4 *
  • pandas *
  • requests *
  • xarray *