OpenStudioCore:utilities
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Static Public Member Functions | List of all members
openstudio::EpwDataPoint Class Reference

#include <EpwFile.hpp>

Public Member Functions

boost::optional< double > aerosolOpticalDepth () const
 
boost::optional< double > albedo () const
 
boost::optional< double > atmosphericStationPressure () const
 
boost::optional< double > ceilingHeight () const
 
std::string dataSourceandUncertaintyFlags () const
 
Date date () const
 
openstudio::DateTime dateTime () const
 
int day () const
 
boost::optional< double > daysSinceLastSnowfall () const
 
boost::optional< double > dewPointTemperature () const
 
boost::optional< double > diffuseHorizontalIlluminance () const
 
boost::optional< double > diffuseHorizontalRadiation () const
 
boost::optional< double > directNormalIlluminance () const
 
boost::optional< double > directNormalRadiation () const
 
boost::optional< double > dryBulbTemperature () const
 
 EpwDataPoint ()
 
 EpwDataPoint (int year, int month, int day, int hour, int minute, std::string dataSourceandUncertaintyFlags, double dryBulbTemperature, double dewPointTemperature, double relativeHumidity, double atmosphericStationPressure, double extraterrestrialHorizontalRadiation, double extraterrestrialDirectNormalRadiation, double horizontalInfraredRadiationIntensity, double globalHorizontalRadiation, double directNormalRadiation, double diffuseHorizontalRadiation, double globalHorizontalIlluminance, double directNormalIlluminance, double diffuseHorizontalIlluminance, double zenithLuminance, double windDirection, double windSpeed, int totalSkyCover, int opaqueSkyCover, double visibility, double ceilingHeight, int presentWeatherObservation, int presentWeatherCodes, double precipitableWater, double aerosolOpticalDepth, double snowDepth, double daysSinceLastSnowfall, double albedo, double liquidPrecipitationDepth, double liquidPrecipitationQuantity)
 
boost::optional< double > extraterrestrialDirectNormalRadiation () const
 
boost::optional< double > extraterrestrialHorizontalRadiation () const
 
boost::optional< double > field (EpwDataField id)
 
boost::optional< double > fieldByName (std::string name)
 
boost::optional< double > globalHorizontalIlluminance () const
 
boost::optional< double > globalHorizontalRadiation () const
 
boost::optional< double > horizontalInfraredRadiationIntensity () const
 
int hour () const
 
boost::optional< double > liquidPrecipitationDepth () const
 
boost::optional< double > liquidPrecipitationQuantity () const
 
int minute () const
 
int month () const
 
int opaqueSkyCover () const
 
boost::optional< double > precipitableWater () const
 
int presentWeatherCodes () const
 
int presentWeatherObservation () const
 
boost::optional< double > relativeHumidity () const
 
void setAerosolOpticalDepth (double aerosolOpticalDepth)
 
bool setAerosolOpticalDepth (std::string aerosolOpticalDepth)
 
void setAlbedo (double albedo)
 
bool setAlbedo (std::string albedo)
 
bool setAtmosphericStationPressure (double atmosphericStationPressure)
 
bool setAtmosphericStationPressure (std::string atmosphericStationPressure)
 
void setCeilingHeight (double ceilingHeight)
 
bool setCeilingHeight (std::string ceilingHeight)
 
void setDataSourceandUncertaintyFlags (std::string dataSourceandUncertaintyFlags)
 
void setDate (Date date)
 
void setDateTime (openstudio::DateTime dateTime)
 
bool setDay (int day)
 
bool setDay (std::string day)
 
void setDaysSinceLastSnowfall (double daysSinceLastSnowfall)
 
bool setDaysSinceLastSnowfall (std::string daysSinceLastSnowfall)
 
bool setDewPointTemperature (double dewPointTemperature)
 
bool setDewPointTemperature (std::string dewPointTemperature)
 
bool setDiffuseHorizontalIlluminance (double diffuseHorizontalIlluminance)
 
bool setDiffuseHorizontalIlluminance (std::string diffuseHorizontalIlluminance)
 
bool setDiffuseHorizontalRadiation (double diffuseHorizontalRadiation)
 
bool setDiffuseHorizontalRadiation (std::string diffuseHorizontalRadiation)
 
bool setDirectNormalIlluminance (double directNormalIlluminance)
 
bool setDirectNormalIlluminance (std::string directNormalIlluminance)
 
bool setDirectNormalRadiation (double directNormalRadiation)
 
bool setDirectNormalRadiation (std::string directNormalRadiation)
 
bool setDryBulbTemperature (double dryBulbTemperature)
 
bool setDryBulbTemperature (std::string dryBulbTemperature)
 
bool setExtraterrestrialDirectNormalRadiation (double extraterrestrialDirectNormalRadiation)
 
bool setExtraterrestrialDirectNormalRadiation (std::string extraterrestrialDirectNormalRadiation)
 
bool setExtraterrestrialHorizontalRadiation (double extraterrestrialHorizontalRadiation)
 
bool setExtraterrestrialHorizontalRadiation (std::string extraterrestrialHorizontalRadiation)
 
bool setGlobalHorizontalIlluminance (double globalHorizontalIlluminance)
 
bool setGlobalHorizontalIlluminance (std::string globalHorizontalIlluminance)
 
bool setGlobalHorizontalRadiation (double globalHorizontalRadiation)
 
bool setGlobalHorizontalRadiation (std::string globalHorizontalRadiation)
 
bool setHorizontalInfraredRadiationIntensity (double horizontalInfraredRadiationIntensity)
 
bool setHorizontalInfraredRadiationIntensity (std::string horizontalInfraredRadiationIntensity)
 
bool setHour (int hour)
 
bool setHour (std::string hour)
 
void setLiquidPrecipitationDepth (double liquidPrecipitationDepth)
 
bool setLiquidPrecipitationDepth (std::string liquidPrecipitationDepth)
 
void setLiquidPrecipitationQuantity (double liquidPrecipitationQuantity)
 
bool setLiquidPrecipitationQuantity (std::string liquidPrecipitationQuantity)
 
bool setMinute (int minute)
 
bool setMinute (std::string minute)
 
bool setMonth (int month)
 
bool setMonth (std::string month)
 
bool setOpaqueSkyCover (int opaqueSkyCover)
 
bool setOpaqueSkyCover (std::string opaqueSkyCover)
 
void setPrecipitableWater (double precipitableWater)
 
bool setPrecipitableWater (std::string precipitableWater)
 
void setPresentWeatherCodes (int presentWeatherCodes)
 
bool setPresentWeatherCodes (std::string presentWeatherCodes)
 
void setPresentWeatherObservation (int presentWeatherObservation)
 
bool setPresentWeatherObservation (std::string presentWeatherObservation)
 
bool setRelativeHumidity (double relativeHumidity)
 
bool setRelativeHumidity (std::string relativeHumidity)
 
void setSnowDepth (double snowDepth)
 
bool setSnowDepth (std::string snowDepth)
 
void setTime (Time time)
 
bool setTotalSkyCover (int totalSkyCover)
 
bool setTotalSkyCover (std::string totalSkyCover)
 
void setVisibility (double visibility)
 
bool setVisibility (std::string visibility)
 
bool setWindDirection (double windDirection)
 
bool setWindDirection (std::string windDirection)
 
bool setWindSpeed (double windSpeed)
 
bool setWindSpeed (std::string windSpeed)
 
void setYear (int year)
 
bool setYear (std::string year)
 
bool setZenithLuminance (double zenithLuminance)
 
bool setZenithLuminance (std::string zenithLuminance)
 
boost::optional< double > snowDepth () const
 
Time time () const
 
int totalSkyCover () const
 
boost::optional< std::string > toWthString ()
 
boost::optional< double > visibility () const
 
boost::optional< double > windDirection () const
 
boost::optional< double > windSpeed () const
 
int year () const
 
boost::optional< double > zenithLuminance () const
 

Static Public Member Functions

static boost::optional
< EpwDataPoint
fromEpwString (std::string line)
 
static std::string units (EpwDataField field)
 
static boost::optional
< std::string > 
unitsByName (std::string name)
 

Detailed Description

EpwDataPoint is one line from the EPW file.

All floating point numbers are stored as strings, but are checked as numbers.

Constructor & Destructor Documentation

openstudio::EpwDataPoint::EpwDataPoint ( )
openstudio::EpwDataPoint::EpwDataPoint ( int  year,
int  month,
int  day,
int  hour,
int  minute,
std::string  dataSourceandUncertaintyFlags,
double  dryBulbTemperature,
double  dewPointTemperature,
double  relativeHumidity,
double  atmosphericStationPressure,
double  extraterrestrialHorizontalRadiation,
double  extraterrestrialDirectNormalRadiation,
double  horizontalInfraredRadiationIntensity,
double  globalHorizontalRadiation,
double  directNormalRadiation,
double  diffuseHorizontalRadiation,
double  globalHorizontalIlluminance,
double  directNormalIlluminance,
double  diffuseHorizontalIlluminance,
double  zenithLuminance,
double  windDirection,
double  windSpeed,
int  totalSkyCover,
int  opaqueSkyCover,
double  visibility,
double  ceilingHeight,
int  presentWeatherObservation,
int  presentWeatherCodes,
double  precipitableWater,
double  aerosolOpticalDepth,
double  snowDepth,
double  daysSinceLastSnowfall,
double  albedo,
double  liquidPrecipitationDepth,
double  liquidPrecipitationQuantity 
)

Member Function Documentation

boost::optional<double> openstudio::EpwDataPoint::aerosolOpticalDepth ( ) const
boost::optional<double> openstudio::EpwDataPoint::albedo ( ) const
boost::optional<double> openstudio::EpwDataPoint::atmosphericStationPressure ( ) const
boost::optional<double> openstudio::EpwDataPoint::ceilingHeight ( ) const
std::string openstudio::EpwDataPoint::dataSourceandUncertaintyFlags ( ) const
Date openstudio::EpwDataPoint::date ( ) const
openstudio::DateTime openstudio::EpwDataPoint::dateTime ( ) const
int openstudio::EpwDataPoint::day ( ) const
boost::optional<double> openstudio::EpwDataPoint::daysSinceLastSnowfall ( ) const
boost::optional<double> openstudio::EpwDataPoint::dewPointTemperature ( ) const
boost::optional<double> openstudio::EpwDataPoint::diffuseHorizontalIlluminance ( ) const
boost::optional<double> openstudio::EpwDataPoint::diffuseHorizontalRadiation ( ) const
boost::optional<double> openstudio::EpwDataPoint::directNormalIlluminance ( ) const
boost::optional<double> openstudio::EpwDataPoint::directNormalRadiation ( ) const
boost::optional<double> openstudio::EpwDataPoint::dryBulbTemperature ( ) const
boost::optional<double> openstudio::EpwDataPoint::extraterrestrialDirectNormalRadiation ( ) const
boost::optional<double> openstudio::EpwDataPoint::extraterrestrialHorizontalRadiation ( ) const
boost::optional<double> openstudio::EpwDataPoint::field ( EpwDataField  id)
boost::optional<double> openstudio::EpwDataPoint::fieldByName ( std::string  name)
static boost::optional<EpwDataPoint> openstudio::EpwDataPoint::fromEpwString ( std::string  line)
static
boost::optional<double> openstudio::EpwDataPoint::globalHorizontalIlluminance ( ) const
boost::optional<double> openstudio::EpwDataPoint::globalHorizontalRadiation ( ) const
boost::optional<double> openstudio::EpwDataPoint::horizontalInfraredRadiationIntensity ( ) const
int openstudio::EpwDataPoint::hour ( ) const
boost::optional<double> openstudio::EpwDataPoint::liquidPrecipitationDepth ( ) const
boost::optional<double> openstudio::EpwDataPoint::liquidPrecipitationQuantity ( ) const
int openstudio::EpwDataPoint::minute ( ) const
int openstudio::EpwDataPoint::month ( ) const
int openstudio::EpwDataPoint::opaqueSkyCover ( ) const
boost::optional<double> openstudio::EpwDataPoint::precipitableWater ( ) const
int openstudio::EpwDataPoint::presentWeatherCodes ( ) const
int openstudio::EpwDataPoint::presentWeatherObservation ( ) const
boost::optional<double> openstudio::EpwDataPoint::relativeHumidity ( ) const
void openstudio::EpwDataPoint::setAerosolOpticalDepth ( double  aerosolOpticalDepth)
bool openstudio::EpwDataPoint::setAerosolOpticalDepth ( std::string  aerosolOpticalDepth)
void openstudio::EpwDataPoint::setAlbedo ( double  albedo)
bool openstudio::EpwDataPoint::setAlbedo ( std::string  albedo)
bool openstudio::EpwDataPoint::setAtmosphericStationPressure ( double  atmosphericStationPressure)
bool openstudio::EpwDataPoint::setAtmosphericStationPressure ( std::string  atmosphericStationPressure)
void openstudio::EpwDataPoint::setCeilingHeight ( double  ceilingHeight)
bool openstudio::EpwDataPoint::setCeilingHeight ( std::string  ceilingHeight)
void openstudio::EpwDataPoint::setDataSourceandUncertaintyFlags ( std::string  dataSourceandUncertaintyFlags)
void openstudio::EpwDataPoint::setDate ( Date  date)
void openstudio::EpwDataPoint::setDateTime ( openstudio::DateTime  dateTime)
bool openstudio::EpwDataPoint::setDay ( int  day)
bool openstudio::EpwDataPoint::setDay ( std::string  day)
void openstudio::EpwDataPoint::setDaysSinceLastSnowfall ( double  daysSinceLastSnowfall)
bool openstudio::EpwDataPoint::setDaysSinceLastSnowfall ( std::string  daysSinceLastSnowfall)
bool openstudio::EpwDataPoint::setDewPointTemperature ( double  dewPointTemperature)
bool openstudio::EpwDataPoint::setDewPointTemperature ( std::string  dewPointTemperature)
bool openstudio::EpwDataPoint::setDiffuseHorizontalIlluminance ( double  diffuseHorizontalIlluminance)
bool openstudio::EpwDataPoint::setDiffuseHorizontalIlluminance ( std::string  diffuseHorizontalIlluminance)
bool openstudio::EpwDataPoint::setDiffuseHorizontalRadiation ( double  diffuseHorizontalRadiation)
bool openstudio::EpwDataPoint::setDiffuseHorizontalRadiation ( std::string  diffuseHorizontalRadiation)
bool openstudio::EpwDataPoint::setDirectNormalIlluminance ( double  directNormalIlluminance)
bool openstudio::EpwDataPoint::setDirectNormalIlluminance ( std::string  directNormalIlluminance)
bool openstudio::EpwDataPoint::setDirectNormalRadiation ( double  directNormalRadiation)
bool openstudio::EpwDataPoint::setDirectNormalRadiation ( std::string  directNormalRadiation)
bool openstudio::EpwDataPoint::setDryBulbTemperature ( double  dryBulbTemperature)
bool openstudio::EpwDataPoint::setDryBulbTemperature ( std::string  dryBulbTemperature)
bool openstudio::EpwDataPoint::setExtraterrestrialDirectNormalRadiation ( double  extraterrestrialDirectNormalRadiation)
bool openstudio::EpwDataPoint::setExtraterrestrialDirectNormalRadiation ( std::string  extraterrestrialDirectNormalRadiation)
bool openstudio::EpwDataPoint::setExtraterrestrialHorizontalRadiation ( double  extraterrestrialHorizontalRadiation)
bool openstudio::EpwDataPoint::setExtraterrestrialHorizontalRadiation ( std::string  extraterrestrialHorizontalRadiation)
bool openstudio::EpwDataPoint::setGlobalHorizontalIlluminance ( double  globalHorizontalIlluminance)
bool openstudio::EpwDataPoint::setGlobalHorizontalIlluminance ( std::string  globalHorizontalIlluminance)
bool openstudio::EpwDataPoint::setGlobalHorizontalRadiation ( double  globalHorizontalRadiation)
bool openstudio::EpwDataPoint::setGlobalHorizontalRadiation ( std::string  globalHorizontalRadiation)
bool openstudio::EpwDataPoint::setHorizontalInfraredRadiationIntensity ( double  horizontalInfraredRadiationIntensity)
bool openstudio::EpwDataPoint::setHorizontalInfraredRadiationIntensity ( std::string  horizontalInfraredRadiationIntensity)
bool openstudio::EpwDataPoint::setHour ( int  hour)
bool openstudio::EpwDataPoint::setHour ( std::string  hour)
void openstudio::EpwDataPoint::setLiquidPrecipitationDepth ( double  liquidPrecipitationDepth)
bool openstudio::EpwDataPoint::setLiquidPrecipitationDepth ( std::string  liquidPrecipitationDepth)
void openstudio::EpwDataPoint::setLiquidPrecipitationQuantity ( double  liquidPrecipitationQuantity)
bool openstudio::EpwDataPoint::setLiquidPrecipitationQuantity ( std::string  liquidPrecipitationQuantity)
bool openstudio::EpwDataPoint::setMinute ( int  minute)
bool openstudio::EpwDataPoint::setMinute ( std::string  minute)
bool openstudio::EpwDataPoint::setMonth ( int  month)
bool openstudio::EpwDataPoint::setMonth ( std::string  month)
bool openstudio::EpwDataPoint::setOpaqueSkyCover ( int  opaqueSkyCover)
bool openstudio::EpwDataPoint::setOpaqueSkyCover ( std::string  opaqueSkyCover)
void openstudio::EpwDataPoint::setPrecipitableWater ( double  precipitableWater)
bool openstudio::EpwDataPoint::setPrecipitableWater ( std::string  precipitableWater)
void openstudio::EpwDataPoint::setPresentWeatherCodes ( int  presentWeatherCodes)
bool openstudio::EpwDataPoint::setPresentWeatherCodes ( std::string  presentWeatherCodes)
void openstudio::EpwDataPoint::setPresentWeatherObservation ( int  presentWeatherObservation)
bool openstudio::EpwDataPoint::setPresentWeatherObservation ( std::string  presentWeatherObservation)
bool openstudio::EpwDataPoint::setRelativeHumidity ( double  relativeHumidity)
bool openstudio::EpwDataPoint::setRelativeHumidity ( std::string  relativeHumidity)
void openstudio::EpwDataPoint::setSnowDepth ( double  snowDepth)
bool openstudio::EpwDataPoint::setSnowDepth ( std::string  snowDepth)
void openstudio::EpwDataPoint::setTime ( Time  time)
bool openstudio::EpwDataPoint::setTotalSkyCover ( int  totalSkyCover)
bool openstudio::EpwDataPoint::setTotalSkyCover ( std::string  totalSkyCover)
void openstudio::EpwDataPoint::setVisibility ( double  visibility)
bool openstudio::EpwDataPoint::setVisibility ( std::string  visibility)
bool openstudio::EpwDataPoint::setWindDirection ( double  windDirection)
bool openstudio::EpwDataPoint::setWindDirection ( std::string  windDirection)
bool openstudio::EpwDataPoint::setWindSpeed ( double  windSpeed)
bool openstudio::EpwDataPoint::setWindSpeed ( std::string  windSpeed)
void openstudio::EpwDataPoint::setYear ( int  year)
bool openstudio::EpwDataPoint::setYear ( std::string  year)
bool openstudio::EpwDataPoint::setZenithLuminance ( double  zenithLuminance)
bool openstudio::EpwDataPoint::setZenithLuminance ( std::string  zenithLuminance)
boost::optional<double> openstudio::EpwDataPoint::snowDepth ( ) const
Time openstudio::EpwDataPoint::time ( ) const
int openstudio::EpwDataPoint::totalSkyCover ( ) const
boost::optional<std::string> openstudio::EpwDataPoint::toWthString ( )
static std::string openstudio::EpwDataPoint::units ( EpwDataField  field)
static
static boost::optional<std::string> openstudio::EpwDataPoint::unitsByName ( std::string  name)
static
boost::optional<double> openstudio::EpwDataPoint::visibility ( ) const
boost::optional<double> openstudio::EpwDataPoint::windDirection ( ) const
boost::optional<double> openstudio::EpwDataPoint::windSpeed ( ) const
int openstudio::EpwDataPoint::year ( ) const
boost::optional<double> openstudio::EpwDataPoint::zenithLuminance ( ) const