LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
remotesensingtypes.h
1/*
2 * SPDX-FileCopyrightText: Karlsruhe Institute of Technology (KIT)
3 * SPDX-License-Identifier: LicenseRef-Crabmeat
4 * This file is part of Crabmeat. Redistribution or commercial use is
5 * prohibited without express written permission. See LICENCE.
6 */
7
16
17#ifndef LDNDC_INPUT_REMOTESENSING_TYPES_H_
18#define LDNDC_INPUT_REMOTESENSING_TYPES_H_
19
20#include "crabmeat-common.h"
21#include "datafilters/filter-average.h"
22
23namespace ldndc{ namespace remotesensing
24{
30{
32 double lai;
33
35 double ndvi;
36};
37
38extern CBM_API remotesensing_info_t const remotesensing_info_defaults;
39
40struct CBM_API record
41{
42 /* remotesensing item datatype */
43 typedef double item_type;
44 enum record_item_e
45 {
46 RECORD_ITEM_LAI,
47 RECORD_ITEM_NDVI,
48
49 RECORD_ITEM_DUMMY_1,
50 RECORD_ITEM_DUMMY_2,
51 RECORD_ITEM_DUMMY_3,
52 RECORD_SIZE
53 };
54};
55
56extern CBM_API char const * RECORD_ITEM_UNITS[record::RECORD_SIZE];
57
58extern CBM_API char const * RECORD_ITEM_NAMES[record::RECORD_SIZE];
59extern CBM_API char const * RECORD_ITEM_NAMES_LONG[record::RECORD_SIZE];
60
61struct CBM_API streamdata_info_t
62{
63 enum { RECORD_SIZE = record::RECORD_SIZE };
64 enum { BUFFER_SIZE_LOG = _CONFIG_BUFFERSIZE_LOG_REMOTESENSING };
65
66 typedef record::record_item_e record_item_e;
67 typedef record::item_type element_type;
68 typedef remotesensing_info_t boundary_data_type;
69};
70
71
72extern CBM_API data_filter_average_t< record::item_type > const remotesensing_datafilter_average;
73
74extern CBM_API data_filter_t< record::item_type > const * REMOTESENSING_DATAFILTER_LIST[record::RECORD_SIZE];
75
76}}
77
78#endif /* !LDNDC_INPUT_REMOTESENSING_TYPES_H_ */
79
80
Spatially explicit groundwater model.
Definition airchemistryput.h:21
remotesensing meta data
Definition remotesensingtypes.h:30
double lai
Definition remotesensingtypes.h:32
double ndvi
Definition remotesensingtypes.h:35