OpenCPN Partial API docs
Loading...
Searching...
No Matches
xy_grib_model_def.h
Go to the documentation of this file.
1/***************************************************************************
2 * Copyright (C) 2024 by R. Demoment *
3 * *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 * *
9 * This program is distributed in the hope that it will be useful, *
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12 * GNU General Public License for more details. *
13 * *
14 * You should have received a copy of the GNU General Public License *
15 * along with this program; if not, see <https://www.gnu.org/licenses/>. *
16 ***************************************************************************/
17
41#ifndef XYGRIBMODELDEF_H_
42#define XYGRIBMODELDEF_H_
43
44#define XYGRIB_RUN_ALL 0x01
45#define XYGRIB_RUN_0_12 0x02
46
47typedef struct {
48 wxString name;
49 int nbRes;
50 wxString *resolution;
51 wxString *reqName;
52 int nbInterval;
53 int *interval;
54 int duration;
55 int runMask;
56 bool wind;
57 bool gust;
58 bool pressure;
59 bool altPressure;
60 bool temperature;
61 bool cape;
62 bool reflectivity;
63 bool cloudCover;
64 bool precipitation;
66
67typedef struct {
68 wxString name;
69 wxString reqName;
70 bool significantHeight;
71 bool windWaves;
73
74extern AtmModelDef_t *xygribAtmModelList[];
75extern WaveModelDef_t *xygribWaveModelList[];
76
77#endif // XYGRIBMODELDEF_H_