WossDb for the custom made NetCDF WOA2005 SSP database.
More...
#include <ssp-woa2005-db.h>
WossDb for the custom made NetCDF WOA2005 SSP database.
WossDb for the custom made NetCDF WOA2005 SSP database
◆ SspWoa2005Db() [1/2]
SspWoa2005Db::SspWoa2005Db |
( |
const ::std::string & |
name | ) |
|
◆ SspWoa2005Db() [2/2]
SspWoa2005Db::SspWoa2005Db |
( |
const ::std::string & |
name, |
|
|
WOADbType |
db_type |
|
) |
| |
SspWoa2005Db constructor
- Parameters
-
name | pathname of database |
db_type | WOADbType of the database |
◆ finalizeConnection()
bool SspWoa2005Db::finalizeConnection |
( |
| ) |
|
|
virtual |
◆ getSSPIndexes()
◆ getSSPValue() [1/2]
void SspWoa2005Db::getSSPValue |
( |
const Coord & |
coordinates, |
|
|
const SSPIndexes & |
indexes, |
|
|
double |
ssp_values[] |
|
) |
| const |
|
protected |
◆ getSSPValue() [2/2]
void woss::SspWoa2005Db::getSSPValue |
( |
const SSPIndexes & |
indexes, |
|
|
double |
ssp_values[] |
|
) |
| const |
|
protected |
Insert the SSP values taken from the given indexes into the given array
- Parameters
-
indexes | const reference to a valid SSPIndexes object |
ssp_values[] | array that will hold SSP values |
◆ getValue()
SSP * SspWoa2005Db::getValue |
( |
const Coord & |
coordinates, |
|
|
const Time & |
time, |
|
|
long double |
ssp_depth_precision |
|
) |
| const |
|
virtual |
◆ getWoaDbType()
WOADbType woss::SspWoa2005Db::getWoaDbType |
( |
| ) |
const |
|
inline |
Returns current WOADbType
- Returns
- current WOADbType
References woa_db_type.
◆ insertValue()
bool SspWoa2005Db::insertValue |
( |
const Coord & |
coordinates, |
|
|
const Time & |
time_value, |
|
|
const SSP & |
ssp_value |
|
) |
| |
|
virtual |
Inserts the given woss::SSP value in the database for given coordinates
- Parameters
-
coordinates | const reference to a valid Coord object |
time_value | const reference to a valid Time object |
ssp_value | const Reference to SSP value to be inserted |
- Returns
- true if method was successful, false otherwise
Implements woss::WossSSPDb.
◆ lat_var
netCDF::NcVar woss::SspWoa2005Db::lat_var |
|
protected |
◆ lon_var
netCDF::NcVar woss::SspWoa2005Db::lon_var |
|
protected |
◆ ssp_var
netCDF::NcVar woss::SspWoa2005Db::ssp_var |
|
protected |
◆ woa_db_type
The documentation for this class was generated from the following files: