MeteoIODoc 20240227.fb5b3765
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)
 
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 real_main (int argc, char *argv[])
 
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

◆ 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 
)
inline

◆ real_main()

static void real_main ( int  argc,
char *  argv[] 
)
static

◆ 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