40#ifndef WOSS_SEDIMENT_DECK41_COORD_DB_H
41#define WOSS_SEDIMENT_DECK41_COORD_DB_H
44#ifdef WOSS_NETCDF_SUPPORT
48#if defined (WOSS_NETCDF4_SUPPORT)
55 static const int DECK41_MINUTES_SEDIM_NLAT = 10801;
57 static const int DECK41_MINUTES_SEDIM_NLON = 21601;
59 static const double DECK41_MINUTES_SEDIM_SPACING = 0.0166666666666667;
61 static const int DECK41_V2_SEDIM_NLAT = 10800;
63 static const int DECK41_V2_SEDIM_NLON = 21600;
65 static const double DECK41_V2_SEDIM_MIN_LAT = -89.9833333333333333;
67 static const double DECK41_V2_SEDIM_MAX_LAT = 89.9833333333333333;
69 static const double DECK41_V2_SEDIM_MIN_LON = -179.9833333333333333;
71 static const double DECK41_V2_SEDIM_MAX_LON = 179.9833333333333333;
73 static const double DECK41_V2_SEDIM_START_LAT = -89.9833333333333333;
75 static const double DECK41_V2_SEDIM_START_LON = -179.9833333333333333;
77 static const double DECK41_V2_SEDIM_SPACING = 0.0166666666666667;
105#if defined (WOSS_NETCDF4_SUPPORT)
138#if defined (WOSS_NETCDF4_SUPPORT)
159#if defined (WOSS_NETCDF4_SUPPORT)
168#if defined (WOSS_NETCDF4_SUPPORT)
177#if defined(WOSS_NETCDF4_SUPPORT)
186#if defined(WOSS_NETCDF4_SUPPORT)
204#if defined (WOSS_NETCDF4_SUPPORT)
Coordinates (lat, long) class definitions and functions library.
Definition coordinates-definitions.h:107
WossDb for custom made NetCDF DECK41 Sediment database.
Definition sediment-deck41-coord-db.h:94
Deck41Types getSeaFloorType(const Coord &coordinates) const
Definition sediment-deck41-coord-db.cpp:177
netCDF::NcVar lon_var
Definition sediment-deck41-coord-db.h:187
::std::pair< int, int > getSedimIndexes(const Coord &coordinates) const
Definition sediment-deck41-coord-db.cpp:79
netCDF::NcVar lat_var
Definition sediment-deck41-coord-db.h:178
virtual bool isValid()
Definition sediment-deck41-coord-db.h:135
netCDF::NcVar sec_sedim_var_coord
Definition sediment-deck41-coord-db.h:169
int getSedimIndex(const Coord &coords) const
Definition sediment-deck41-coord-db.cpp:120
DECK41DbType getDeck41DbType() const
Definition sediment-deck41-coord-db.h:150
virtual bool finalizeConnection()
Definition sediment-deck41-coord-db.cpp:140
DECK41DbType deck41_db_type
Definition sediment-deck41-coord-db.h:195
netCDF::NcVar main_sedim_var_coord
Definition sediment-deck41-coord-db.h:160
void setDeck41DbType(DECK41DbType db_type)
Definition sediment-deck41-coord-db.h:143
virtual bool isValid()
Definition woss-db.h:134
::std::string db_name
Definition woss-db.h:164
NetCDF implementation of WossDb.
Definition woss-db.h:193
DECK41DbType
Definition sediment-deck41-coord-db.h:82
@ DECK41_DB_V2_TYPE
DECK41 V2 NetCDF4 db.
Definition sediment-deck41-coord-db.h:84
@ DECK41_DB_INVALID_TYPE
INVALID, must be last.
Definition sediment-deck41-coord-db.h:85
@ DECK41_DB_V1_TYPE
DECK41 V1 NetCDF Legacy db.
Definition sediment-deck41-coord-db.h:83
Definitions and library for woss::Sediment class.
Provides the interface for woss::WossDb class.