A few useful functions to make accessing eReefs and other CSIRO-EMS output files easier. These functions rely on the netcdf4 package, which works best under Linux or MacOS. The functions provided here should work under Windows for locally-stored files, but will also work for OPeNDAP-served netcdf files under Linux or MacOS. Functions to extract time-series from eReefs netcdf files: get_ereefs_ts() get_ereefs_depth_integrated_ts() get_ereefs_bottom_ts() get_ereefs_depth_specified_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() Wrapper to ncvar_get with failsafe in case of DAP errors: safe_ncvar_get() Function to download discharge data from Qld. Govt servers: download_discharge()
|License||MIT + file LICENSE|
|Package repository||View on GitHub|
Install the latest version of this package by entering the following in R:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.