R package to facilitate extracting and visualising eReefs model output data

An R package has been created to help R users to access and visualise eReefs marine model outputs directly from NCI servers. The package contains a few useful functions to make accessing eReefs and other CSIRO-EMS output files easier., and is available through https://github.com/open-AIMS/ereefs, with documentation available at https://open-aims.github.io/ereefs/index.html

Example use-cases include:

  • Extracting time-series of simulated water quality at your monitoring stations, to use together with observational data.
  • Visualising a recent event in your area as an animated map.
  • Extracting simulated data along a specified transect, such as a ship track.
  • Extracting a vertical profile at a specified location and time.
  • Extracting a vertical slice at a specified location and time.

Installation instructions:

Copy and paste the following lines into R:

if (!requireNamespace("remotes")) {
  install.packages("remotes")
}
remotes::install_github("open-aims/ereefs")

The package includes:

Functions to extract time-series from eReefs netcdf files

get_ereefs_ts()
get_ereefs_depth_integrated_ts ()
get_ereefs_depth_specified_ts()
get_ereefs_bottom_ts()

Functions to produce maps or animations of eReefs model outputs

map_ereefs()
map_ereefs_movie()
plot_map()

Function to calculate optical plume class from modelled surface reflectances

plume_class()

Functions to extract profiles and vertical slices

get_ereefs_profile()
get_ereefs_slice()

Functions to plot profiles

plot_ereefs_profile()
plot_ereefs_zvt()

Functions to convert outputs to GIS formats

poly2sp()
sp2raster()