All functions |
|
---|---|
Utility function copied directly from the package 'tis' by Jeff Hallman (https://github.com/cran/tis/blob/master/R/assignList.R) Assigns the values in a list to variables in an environment. The variable names are taken from the names of the list, so all of the elements of the list must have non-blank names. |
|
Check whether the platform is Windows and the filename contains "http": if so, return a warning Now always returns TRUE as the CRAN version of ncdf4 for Windows can now handle THREDDS services |
|
Calculate the number of days in the month of the specified date |
|
Download river discharge (flow) data from Qld. Govt. servers at https://water-monitoring.information.qld.gov.au |
|
Calculate rough distance in kilometers between two points |
|
The 'ereefs' package. |
|
An internal utility function to find the grid line intersections of a line segment |
|
A simple function to convert a date provided in any of several formats to a chron date |
|
Extracts time-series of selected variables from the bottom water-column cell at specified locations from eReefs output files |
|
Determines whether the file provided looks like a THREDDS catalog, or an example of daily (e.g. GBR1), monthly (e.g. GBR4) or other (e.g. RECOM) netcdf file output |
|
Extracts depth-integrated time-series of selected variables at specified locations from eReefs output files |
|
Extracts time-series of selected variables from eReefs output files at a specified location and depth below the surface. |
|
Returns an appropriate x_grid, y_grid and z_grid |
|
Extract vertical profiles of specified variables from a specified latitude and longitude over a specified time-period from an eReefs or other EMS netcdf file. |
|
Extract a vertical slice or depth-resolved transect from an eReefs or other EMS netcdf output file. |
|
Extracts time series at specified locations from eReefs model output files |
|
Returns the 'stem' of a filename (i.e. the filename with the date and extension cut off the end) |
|
Opens the netcdf file, input_file, and extracts the origin (reference date/time) and time dimension. |
|
Set up various parameters needed by many of the data extraction and plotting functions |
|
Create a surface map of eReefs model output. |
|
Create a series of map image files for an animation of eReefs model output AND calculate temporal mean values. |
|
Plots a single vertical profile using output from get_ereefs_profile() |
|
Produces a coloured tile plot of a vertical slice already fetched from an eReefs or other EMS netcdf file. |
|
Produces a coloured rect plot of a vertical profile over time |
|
Create a map using a dataframe in the format required by ggplot2::geom_plot, for instance from map_ereefs() or map_ereefs_movie() |
|
Calculate and return the plume optical class from eReefs model output.. |
|
Convert a polygon dataframe in the format used by ggplot2::geom_polygon to a spatialPolygonDataFrame |
|
A wrapper to ncdf4::nc_open() that will pause and try again up to 119 times if at first it fails, to overcome temporary net access errors or DAP errors. |
|
A wrapper to ncdf4::ncvar_get() that will pause and try again several times (defaulting to 12) if it is a web-served netcdf file and at first it fails, to overcome temporary net access errors or DAP errors. |
|
Convert a SpatialPolygonDataFrame to a raster. (Wrapper for raster::rasterize() with some reasonable defaults for the ereefs package) |
|
Check whether the given filename is a shortcut and if so, set the full filename |