Returns an appropriate x_grid, y_grid and z_grid

Returns grid metadata for a dataset, synthesising corner grids when only regular-grid centres are provided.

get_ereefs_grids(filename, input_grid = NA)

get_ereefs_grids(filename, input_grid = NA)

Arguments

filename

Name of the file to examine.

input_grid

Optional alternative file from which to load x_grid, y_grid and z_grid.

Value

a list containing x_grid, y_grid and z_grid

A list containing x_grid, y_grid and z_grid, plus spatial_grid and grid_type.