create_mesh_files_from_nc | R Documentation |
This function creates mesh files from a NetCDF file. Note that there is a two stage process where only a *_TEMP.gpkg file is output first, allowing the manual identification of open boundary elements which are then saved to a .csv and provided to the 'open_elems_csv' argument
create_mesh_files_from_nc(nc_file, open_elems_csv, out_dir, domain)
nc_file |
Character. The path to the NetCDF file. |
open_elems_csv |
Character. The path to the CSV file containing open boundary elements. Default is NULL. |
out_dir |
Character. The output directory where the mesh files will be saved. |
domain |
Character. The domain name for the mesh. |
Character. A message indicating the status of the mesh creation.
create_mesh_from_nc(nc_file="path/to/nc_file.nc", open_elems_csv="path/to/open_elems.csv", out_dir="~/output", domain="WeStCOMS2")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.