MeteoIODoc 20241102.51576d50
meteoio_timeseries.cc File Reference
#include <iostream>
#include <cstdio>
#include <csignal>
#include <string.h>
#include <map>
#include <vector>
#include <meteoio/MeteoIO.h>
#include <getopt.h>

Functions

static std::string cfgfile ("io.ini")
 
void Version ()
 
void Usage (const std::string &programname)
 
Date getDate (const std::string &date_str, const double &TZ)
 
void parseCmdLine (int argc, char **argv, Config &cfg, Date &begin_date, Date &end_date, bool &showProgress, bool &generate2D)
 
static void signal_handler (int signal_num)
 
static void signals_catching (void)
 
static void validMeteoData (const std::vector< std::string > &enforce_variables, const mio::MeteoData &md)
 
static void generatePointTimeseries (const Config &cfg, const Date &dateBegin, const Date &dateEnd, const bool &showProgress)
 
static void generate2DTimeseries (const Config &cfg, const Date &dateBegin, const Date &dateEnd, const bool &showProgress)
 
int main (int argc, char **argv)
 

Variables

static double samplingRate = IOUtils::nodata
 
static size_t outputBufferSize = 0
 
static unsigned int timeout_secs = 0
 

Function Documentation

◆ cfgfile()

static std::string cfgfile ( "io.ini"  )
static

◆ generate2DTimeseries()

static void generate2DTimeseries ( const Config cfg,
const Date dateBegin,
const Date dateEnd,
const bool &  showProgress 
)
static

◆ generatePointTimeseries()

static void generatePointTimeseries ( const Config cfg,
const Date dateBegin,
const Date dateEnd,
const bool &  showProgress 
)
static

◆ getDate()

Date getDate ( const std::string &  date_str,
const double &  TZ 
)
inline

◆ main()

int main ( int  argc,
char **  argv 
)

◆ parseCmdLine()

void parseCmdLine ( int  argc,
char **  argv,
Config cfg,
Date begin_date,
Date end_date,
bool &  showProgress,
bool &  generate2D 
)
inline

◆ signal_handler()

static void signal_handler ( int  signal_num)
static

◆ signals_catching()

static void signals_catching ( void  )
static

◆ Usage()

void Usage ( const std::string &  programname)
inline

◆ validMeteoData()

static void validMeteoData ( const std::vector< std::string > &  enforce_variables,
const mio::MeteoData md 
)
static

◆ Version()

void Version ( )
inline

Variable Documentation

◆ outputBufferSize

size_t outputBufferSize = 0
static

◆ samplingRate

double samplingRate = IOUtils::nodata
static

◆ timeout_secs

unsigned int timeout_secs = 0
static