/R_Tutorial_Visualizing_Spatial_Oceanographic_Data_with_oceanmap

Tutorial on visualizing and analyzing spatial oceanographic data with the R package oceanmap

Primary LanguageHTML

Size Limit CLI

An R-Package for Mapping and Interactive Visualization of Oceanographic Data

Package Tutorial

AuthorDescriptionKey FeaturesTutorialCreditsRelatedLicense

Screenshot

Author

Dr. Robert Bauer | Fishery Biologist & Data Scientist

Description

Visualizing data is a crucial step in analyzing and exploring data. During the last two decades the statistical programming language R has become a major tool for data analyses and visualization across different fields of science. However, creating figures ready for scientific publication can be a tricky and time consuming task. The oceanmap package provides some helpful functions to facilitate and optimize the visualization of geographic and oceanographic data, such as satellite and bathymetric data sets.

Key Features

  • plotmap(), ggplotmap() and ggplotmaply() to plot (interactive) land masks

  • get.bathy() to download bathymetric data from the NOAA ETOPO1 database

  • set.colorbar() to define the colorbar (position, ticks, colormap) in base-plots (like plotmap)

  • v(), an optimized base-plot tool for creating image or contour plots from different data formats (matrix, array, raster, netcdf, binary)

  • figure(), to facilitate resizing and saving of figures in diverse formats (jpeg, png, eps, pdf and eps)

  • cmap, a data set with several colormaps for oceanographic data

These functions were written in a way that they do not require a large amount of their numerous arguments to be specified but still return nice plots that are ready for publication.

Credits

This package was developed during my PhD thesis at the IFREMER and a Postdoc at IRD, which are both part of the MARBEC lab. A ggplot-version of plotmap has been added since.

Related libraries

  • RchivalTag - A R-Package to analyze and vizualize archival tagging data.
  • plotly - An open source library for interactive figures.
  • dygraphs - A R interface to the interactive dygraphs JavaScript charting library.
  • leaflet - A JavaScript-based map widget that can be rendered on HTML pages generated from R Markdown, Shiny, or other applications.

You may also like...

References

Visit my work on

GitHub  ·  Google Scholar  ·  ResearchGate  ·