|
FhSim
3.1.0
Marine systems simulation
|
#include <NetCDFParser.h>
Public Member Functions | |
| Parser () | |
| Construct parser with null values. | |
| ~Parser (void) | |
| Destructor - closes file. | |
| void | LoadFile (string NetCDF_Filepath) |
| Grid | GetGridInfo () |
| void | GetStaticData (double *layer_depth, double *depth_map, Date *timeline) |
| void | SetCurrentTime (int offset_from_start_time) |
| void | GetDynamicData (double *x_velocity, double *y_velocity, double *z_velocity) |
Parser for NetCDF bathymetry and current files.
Provides methods for loading NetCDF files, extracting grid dimensions, and querying static/dynamic field data.
| void netcdf_sinmod::Parser::GetDynamicData | ( | double * | x_velocity, |
| double * | y_velocity, | ||
| double * | z_velocity | ||
| ) |
Get dynamic data (velocity components).
| [out] | x_velocity | X velocity array. |
| [out] | y_velocity | Y velocity array. |
| [out] | z_velocity | Z velocity array. |
| Grid netcdf_sinmod::Parser::GetGridInfo | ( | ) |
Get grid information.
| void netcdf_sinmod::Parser::GetStaticData | ( | double * | layer_depth, |
| double * | depth_map, | ||
| Date * | timeline | ||
| ) |
Get static data (depth map, layer depths, timeline).
| [out] | layer_depth | Layer depth array. |
| [out] | depth_map | Depth map array. |
| [out] | timeline | Date/time array. |
| void netcdf_sinmod::Parser::LoadFile | ( | string | NetCDF_Filepath | ) |
Load NetCDF file.
| [in] | NetCDF_Filepath | Path to NetCDF file. |
| void netcdf_sinmod::Parser::SetCurrentTime | ( | int | offset_from_start_time | ) |
Set active time coordinate.
| [in] | offset_from_start_time | Time offset index. |