MeteoIODoc 20241221.207bde49
BUFRIO.cc File Reference
#include "meteoio/plugins/libcodes.h"
#include <cassert>
#include <meteoio/plugins/BUFRIO.h>
#include <meteoio/plugins/plugin_utils.h>
#include <unordered_set>

Namespaces

namespace  mio
 
const std::string mio::dflt_extension_BUFR = ".bufr"
 
const std::vector< MeteoParam > mio::POSSIBLE_MULTIPLE_PARAMETERS
 
const std::set< std::string > mio::ADDITIONAL_CRYO_PARAMS ({"SURFACEQUALIFIER", "SENSORTYPE", "TSURFACE", "ICE_THICKNESS", "GROUNDSTATE", "TICE", "TWATER","T"})
 
const std::set< std::string > mio::ALLOWED_CRYO_PARAMS ({"ICE_THICKNESS", "GROUNDSTATE", "HS", "SURFACEQUALIFIER", "SENSORTYPE", "TA", "TSNOW", "TSOIL", "TWATER", "TICE", "TSS","T"})
 
static bool mio::isNumber (const std::string &s)
 
static void mio::setStationId (CodesHandlePtr &message, const StationData &station, const std::string &subset_prefix)
 
static void mio::setMeteoData (CodesHandlePtr &message, const MeteoData &meteo, const std::vector< std::string > &sorted_params, std::map< std::string, int > &parameter_occurences, const bool &verbose)
 
static void mio::setCryoData (CodesHandlePtr &message, const MeteoData &meteo, const std::vector< std::pair< double, std::vector< std::string > > > &params_at_heights, std::map< std::string, int > &parameter_occurences, const bool &)
 
static std::set< double > mio::getHeights (const std::set< std::string > &available_params)
 
static std::map< MeteoParam, size_t > mio::getOccurencesOfParameters (const std::vector< MeteoData > &vecMeteo)
 
static std::map< std::string, int > mio::initParameterOccurences (const std::set< std::string > &available_params)
 
static void mio::populateSubset (CodesHandlePtr &message, const std::string &subset_prefix, const MeteoData &meteo, const std::vector< std::string > &sorted_params, std::map< std::string, int > &parameter_occurences, const bool &verbose)
 
static void mio::populateSubset (CodesHandlePtr &message, const std::string &subset_prefix, const MeteoData &meteo, const std::vector< std::pair< double, std::vector< std::string > > > &params_at_heights, std::map< std::string, int > &parameter_occurences, const bool &verbose)
 
static std::vector< std::string > mio::sortAvailableParameters (const std::set< std::string > &available_params, const bool &verbose_out)
 
static std::vector< std::pair< double, std::vector< std::string > > > mio::sortAvailableParametersByHeight (const std::set< std::string > &available_params, const bool &, const std::set< double > &heights)
 
static void mio::warnUnallowedParameter (const std::set< std::string > &available_params)