-
Notifications
You must be signed in to change notification settings - Fork 2
/
weatherdata.h
30 lines (25 loc) · 1.04 KB
/
weatherdata.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/************************************************************************/
/* */
/* P R O J E K T A V A L O N */
/* */
/* weatherdata.h Struct for the weather-data from satellite */
/* */
/* Author Stefan Wismer */
/* [email protected] */
/* */
/************************************************************************/
#ifndef WEATHER_DATA_H
#define WEATHER_DATA_H
#include <DDXStore.h>
#include <DDXVariable.h>
DDX_STORE_TYPE(Weather,
struct {
// TODO: A better solution has to be found for timestamps. int is too
// small.
int timestamp; // When was this data received?
int forecast_timestamp; // What time is is valid?
float xdata[161][81]; // Wind data
float ydata[161][81]; // Wind data
}
);
#endif // WEATHER_DATA_H