This is a tutorial to use R package rayshader to make a 3-dimensional bathymetric map, using GEBCO (General Bathymetric Chart of the Oceans) data.

R-bathymetry-tutorial-kamaehu.qmd is a Quarto Markdown file with R code snippets which renders into the HTML file of the same name.

Folder: https://github.com/thi-truong/thi-truong.github.io/tree/master/_pages/kamaehu_rayshader

Folder Structure

  • data
  • outputs
    • video
    • image
  • tutorial-images

data folder should have files (truong2023_kamaehu_data.csv, png and tif files).

outputs are generated during the tutorial and do not need to be loaded beforehand.

tutorial-images has images that are used in the tutorial (shown as reference) but not generated as outputs of the code shown here.

Written by Thi Truong. CC BY 4.0 thi-truong.github.io