SNOWPACK 3.7.0
ImisDBIO Class Reference

#include <ImisDBIO.h>

Public Member Functions

 ImisDBIO (const SnowpackConfig &i_cfg, const RunInfo &run_info)
 
 ImisDBIO (const ImisDBIO &in)
 
 ~ImisDBIO ()
 
virtual bool snowCoverExists (const std::string &i_snowfile, const std::string &stationID) const
 This routine checks if the specified snow cover data exists. More...
 
virtual void readSnowCover (const std::string &i_snowfile, const std::string &stationID, SN_SNOWSOIL_DATA &SSdata, ZwischenData &Zdata, const bool &read_salinity)
 
virtual void writeSnowCover (const mio::Date &date, const SnowStation &Xdata, const ZwischenData &Zdata, const bool &forbackup=false)
 
virtual void writeTimeSeries (const SnowStation &Xdata, const SurfaceFluxes &Sdata, const CurrentMeteo &Mdata, const ProcessDat &Hdata, const double wind_trans24)
 
virtual void writeProfile (const mio::Date &date, const SnowStation &Xdata)
 Dump aggregated profile to database. More...
 
virtual bool writeHazardData (const std::string &stationID, const std::vector< ProcessDat > &Hdata, const std::vector< ProcessInd > &Hdata_ind, const size_t &num)
 
ImisDBIOoperator= (const ImisDBIO &in)
 
- Public Member Functions inherited from SnowpackIOInterface
virtual ~SnowpackIOInterface ()
 
virtual bool snowCoverExists (const std::string &i_snowfile, const std::string &stationID) const =0
 
virtual void readSnowCover (const std::string &i_snowfile, const std::string &stationID, SN_SNOWSOIL_DATA &SSdata, ZwischenData &Zdata, const bool &read_salinity)=0
 
virtual void writeSnowCover (const mio::Date &date, const SnowStation &Xdata, const ZwischenData &Zdata, const bool &forbackup=false)=0
 
virtual void writeTimeSeries (const SnowStation &Xdata, const SurfaceFluxes &Sdata, const CurrentMeteo &Mdata, const ProcessDat &Hdata, const double wind_trans24)=0
 
virtual void writeProfile (const mio::Date &date, const SnowStation &Xdata)=0
 
virtual bool writeHazardData (const std::string &stationID, const std::vector< ProcessDat > &Hdata, const std::vector< ProcessInd > &Hdata_ind, const size_t &num)=0
 

Constructor & Destructor Documentation

◆ ImisDBIO() [1/2]

ImisDBIO::ImisDBIO ( const SnowpackConfig i_cfg,
const RunInfo run_info 
)

◆ ImisDBIO() [2/2]

ImisDBIO::ImisDBIO ( const ImisDBIO in)

◆ ~ImisDBIO()

ImisDBIO::~ImisDBIO ( )

Member Function Documentation

◆ operator=()

ImisDBIO & ImisDBIO::operator= ( const ImisDBIO in)

◆ readSnowCover()

void ImisDBIO::readSnowCover ( const std::string &  i_snowfile,
const std::string &  stationID,
SN_SNOWSOIL_DATA SSdata,
ZwischenData Zdata,
const bool &  read_salinity 
)
virtual

Implements SnowpackIOInterface.

◆ snowCoverExists()

bool ImisDBIO::snowCoverExists ( const std::string &  i_snowfile,
const std::string &  stationID 
) const
virtual

This routine checks if the specified snow cover data exists.

Parameters
i_snowfilefile containing the initial state of the snowpack
stationID
Returns
true if the file exists

Implements SnowpackIOInterface.

◆ writeHazardData()

bool ImisDBIO::writeHazardData ( const std::string &  stationID,
const std::vector< ProcessDat > &  Hdata,
const std::vector< ProcessInd > &  Hdata_ind,
const size_t &  num 
)
virtual

Implements SnowpackIOInterface.

◆ writeProfile()

void ImisDBIO::writeProfile ( const mio::Date &  date,
const SnowStation Xdata 
)
virtual

Dump aggregated profile to database.

Implements SnowpackIOInterface.

◆ writeSnowCover()

void ImisDBIO::writeSnowCover ( const mio::Date &  date,
const SnowStation Xdata,
const ZwischenData Zdata,
const bool &  forbackup = false 
)
virtual

Implements SnowpackIOInterface.

◆ writeTimeSeries()

void ImisDBIO::writeTimeSeries ( const SnowStation Xdata,
const SurfaceFluxes Sdata,
const CurrentMeteo Mdata,
const ProcessDat Hdata,
const double  wind_trans24 
)
virtual

Implements SnowpackIOInterface.


The documentation for this class was generated from the following files: