18#ifndef RADIATIONFIELD_H
19#define RADIATIONFIELD_H
21#include <meteoio/MeteoIO.h>
26 RadiationField(
const mio::DEMObject& in_dem,
const size_t& in_startx,
const size_t& in_nx);
28 void setDEM(
const mio::DEMObject& in_dem);
29 void setDEM(
const mio::DEMObject& in_dem,
const size_t& in_startx,
const size_t& in_nx);
30 void setStations(
const std::vector<mio::MeteoData>& vecMeteo,
const mio::Grid2DObject& albedo);
32 void setMeteo(
const mio::Grid2DObject& in_ta,
const mio::Grid2DObject& in_rh,
const mio::Grid2DObject& in_p,
const mio::Grid2DObject& in_albedo);
33 void setGrids(
const mio::Grid2DObject& in_iswr_dir,
const mio::Grid2DObject& in_iswr_diff,
34 const mio::Grid2DObject& in_albedo,
const mio::Date timestamp);
37 void getPositionSun(
double& o_solarAzimuth,
double& o_solarElevation)
const;
38 void getRadiation(mio::Array2D<double>& o_direct, mio::Array2D<double>& o_diffuse, mio::Array2D<double>& o_direct_unshaded_horizontal)
const;
40 const mio::Date
getDate()
const {
return timestamp;}
45 mio::Grid2DObject dem_band, direct, diffuse, direct_unshaded_horizontal;
47 std::vector<mio::StationData> vecMeta;
48 std::vector<double> vecMd, vecCorr;
50 double dem_mean_altitude;
52 size_t dem_dimx, band_dimx, dimy;
Definition: RadiationField.h:23
const mio::Date getDate() const
Definition: RadiationField.h:40
void getPositionSun(double &o_solarAzimuth, double &o_solarElevation) const
Definition: RadiationField.cc:244
void getRadiation(mio::Array2D< double > &o_direct, mio::Array2D< double > &o_diffuse, mio::Array2D< double > &o_direct_unshaded_horizontal) const
Definition: RadiationField.cc:255
void setGrids(const mio::Grid2DObject &in_iswr_dir, const mio::Grid2DObject &in_iswr_diff, const mio::Grid2DObject &in_albedo, const mio::Date timestamp)
Definition: RadiationField.cc:200
void setDEM(const mio::DEMObject &in_dem)
Definition: RadiationField.cc:39
void setMeteo(const mio::Grid2DObject &in_ta, const mio::Grid2DObject &in_rh, const mio::Grid2DObject &in_p, const mio::Grid2DObject &in_albedo)
Definition: RadiationField.cc:125
RadiationField()
Definition: RadiationField.cc:24
void getBandOffsets(size_t &o_startx, size_t &o_stopx) const
Definition: RadiationField.cc:249
void setStations(const std::vector< mio::MeteoData > &vecMeteo, const mio::Grid2DObject &albedo)
Definition: RadiationField.cc:66