#include <SmetIO.h>
|
| SmetIO (const SnowpackConfig &i_cfg, const RunInfo &run_info) |
|
| SmetIO (const SmetIO &) |
|
| ~SmetIO () |
|
SmetIO & | operator= (const SmetIO &) |
| Assignement operator, required because of pointer member. More...
|
|
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) |
| This routine reads the status of the snow cover at program start. More...
|
|
virtual void | writeSnowCover (const mio::Date &date, const SnowStation &Xdata, const ZwischenData &Zdata, const bool &forbackup=false) |
| This routine writes the status of the snow cover at program termination and at specified backup times. More...
|
|
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) |
|
virtual bool | writeHazardData (const std::string &stationID, const std::vector< ProcessDat > &Hdata, const std::vector< ProcessInd > &Hdata_ind, const size_t &num) |
|
mio::Date | read_hazsmet (const std::string &hazfilename, ZwischenData &Zdata) |
|
virtual | ~SnowpackIOInterface () |
|
SmetIO::SmetIO |
( |
const SmetIO & |
| ) |
|
Assignement operator, required because of pointer member.
mio::Date SmetIO::read_hazsmet |
( |
const std::string & |
hazfilename, |
|
|
ZwischenData & |
Zdata |
|
) |
| |
void SmetIO::readSnowCover |
( |
const std::string & |
i_snowfile, |
|
|
const std::string & |
stationID, |
|
|
SN_SNOWSOIL_DATA & |
SSdata, |
|
|
ZwischenData & |
Zdata |
|
) |
| |
|
virtual |
This routine reads the status of the snow cover at program start.
- Version
- 11.02
- Parameters
-
i_snowfile | file containing the initial state of the snowpack |
stationID | |
SSdata | |
Zdata | |
Implements SnowpackIOInterface.
bool SmetIO::snowCoverExists |
( |
const std::string & |
i_snowfile, |
|
|
const std::string & |
stationID |
|
) |
| const |
|
virtual |
This routine checks if the specified snow cover data exists.
- Parameters
-
i_snowfile | file containing the initial state of the snowpack |
stationID | |
- Returns
- true if the file exists
Implements SnowpackIOInterface.
bool SmetIO::writeHazardData |
( |
const std::string & |
stationID, |
|
|
const std::vector< ProcessDat > & |
Hdata, |
|
|
const std::vector< ProcessInd > & |
Hdata_ind, |
|
|
const size_t & |
num |
|
) |
| |
|
virtual |
void SmetIO::writeHazFile |
( |
const std::string & |
hazfilename, |
|
|
const mio::Date & |
date, |
|
|
const SnowStation & |
Xdata, |
|
|
const ZwischenData & |
Zdata |
|
) |
| |
|
static |
void SmetIO::writeProfile |
( |
const mio::Date & |
date, |
|
|
const SnowStation & |
Xdata |
|
) |
| |
|
virtual |
void SmetIO::writeSnowCover |
( |
const mio::Date & |
date, |
|
|
const SnowStation & |
Xdata, |
|
|
const ZwischenData & |
Zdata, |
|
|
const bool & |
forbackup = false |
|
) |
| |
|
virtual |
This routine writes the status of the snow cover at program termination and at specified backup times.
- Version
- 11.02
- Parameters
-
date | current |
Xdata | |
Zdata | |
forbackup | dump Xdata on the go |
Implements SnowpackIOInterface.
The documentation for this class was generated from the following files: