Elaboradar  0.1
site.h
Vai alla documentazione di questo file.
1 
7 #ifndef ARCHIVIATORE_SITE_H
8 #define ARCHIVIATORE_SITE_H
9 
10 #include <vector>
11 #include <string>
12 #include <radarelab/RadarSite.h>
13 
14 namespace elaboradar {
15 
23 struct Site
24 {
29  std::string name;
30 
35  std::string datipath;
36 
41  RadarSite radarSite ;
52 
56  virtual ~Site();
57 
62  virtual const char* get_dem_file_name() const = 0;
68  virtual const char* get_first_level_file_name(unsigned month) const = 0;
74  virtual std::vector<double> get_elev_array(bool medium=false) const = 0;
79  virtual unsigned char get_bin_wind_magic_number(time_t when) const = 0;
80 
91  static const Site& get(const char* name);
92 };
93 
94 }
95 
96 #endif
Radar Site description.
name space generale del programma
Definition: assets.h:28
std::string name
Nome sito radar.
Definition: site.h:29
virtual std::vector< double > get_elev_array(bool medium=false) const =0
return the elev array used
static const Site & get(const char *name)
Get a Site object according to a site name.
Definition: site.cpp:159
virtual unsigned char get_bin_wind_magic_number(time_t when) const =0
Return the magic number for wind to be used in clean procedure.
int vpr_iaz_max
azimuth index of the end of the area for vpr computation
Definition: site.h:51
RadarSite radarSite
Description of radar site.
Definition: site.h:41
virtual const char * get_dem_file_name() const =0
Return dem file name.
int vpr_iaz_min
azimuth index of the begin of the area for vpr computation
Definition: site.h:46
virtual const char * get_first_level_file_name(unsigned month) const =0
Return first_elev file name.
std::string datipath
Path mappe statiche e dati fuzzy logic.
Definition: site.h:35
virtual ~Site()
Destructor.
Definition: site.cpp:39
Radar site information.
Definition: site.h:24