-
Notifications
You must be signed in to change notification settings - Fork 0
DiGi.EPW.Classes
Represents a single period entry of the DATA PERIODS header record of an EPW file.
public class DataPeriod : DiGi.Core.Classes.SerializableObject, DiGi.EPW.Interfaces.IEPWSerializableObject, DiGi.EPW.Interfaces.IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → DataPeriod
Implements IEPWSerializableObject, IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject
Initializes a new instance of the DataPeriod class by copying an existing instance.
public DataPeriod(DiGi.EPW.Classes.DataPeriod? dataPeriod);dataPeriod DataPeriod
The source data period to copy from.
Initializes a new instance of the DataPeriod class.
public DataPeriod(string? name, string? startDayOfWeek, string? startDate, string? endDate);name System.String
The name of the data period.
startDayOfWeek System.String
The day of week on which the data period starts.
startDate System.String
The start date of the data period.
endDate System.String
The end date of the data period.
Initializes a new instance of the DataPeriod class from a JSON object.
public DataPeriod(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing data period data.
Gets the end date of the data period.
public string? EndDate { get; }Gets the name of the data period.
public string? Name { get; }Gets the start date of the data period.
public string? StartDate { get; }Gets the day of week on which the data period starts.
public string? StartDayOfWeek { get; }Represents a single hourly weather data record of an EPW file.
public class DataRecord : DiGi.Core.Classes.SerializableObject, DiGi.EPW.Interfaces.IEPWSerializableObject, DiGi.EPW.Interfaces.IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → DataRecord
Implements IEPWSerializableObject, IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject
Initializes a new instance of the DataRecord class by copying an existing instance.
public DataRecord(DiGi.EPW.Classes.DataRecord? dataRecord);dataRecord DataRecord
The source data record to copy from.
DataRecord(int, int, int, int, int, string, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, int, int, double, double, int, string, double, double, double, int, double, double, double) Constructor
Initializes a new instance of the DataRecord class.
public DataRecord(int year, int month, int day, int hour, int minute, 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, string? presentWeatherCodes, double precipitableWater, double aerosolOpticalDepth, double snowDepth, int daysSinceLastSnowfall, double albedo, double liquidPrecipitationDepth, double liquidPrecipitationQuantity);year System.Int32
The year of the record.
month System.Int32
The month of the record.
day System.Int32
The day of the record.
hour System.Int32
The hour of the record.
minute System.Int32
The minute of the record.
dataSourceAndUncertaintyFlags System.String
The data source and uncertainty flags string.
dryBulbTemperature System.Double
The dry bulb temperature, in degrees Celsius.
dewPointTemperature System.Double
The dew point temperature, in degrees Celsius.
relativeHumidity System.Double
The relative humidity, in percent.
atmosphericStationPressure System.Double
The atmospheric station pressure, in Pascals.
extraterrestrialHorizontalRadiation System.Double
The extraterrestrial horizontal radiation, in Wh/m2.
extraterrestrialDirectNormalRadiation System.Double
The extraterrestrial direct normal radiation, in Wh/m2.
horizontalInfraredRadiationIntensity System.Double
The horizontal infrared radiation intensity, in Wh/m2.
globalHorizontalRadiation System.Double
The global horizontal radiation, in Wh/m2.
directNormalRadiation System.Double
The direct normal radiation, in Wh/m2.
diffuseHorizontalRadiation System.Double
The diffuse horizontal radiation, in Wh/m2.
globalHorizontalIlluminance System.Double
The global horizontal illuminance, in lux.
directNormalIlluminance System.Double
The direct normal illuminance, in lux.
diffuseHorizontalIlluminance System.Double
The diffuse horizontal illuminance, in lux.
zenithLuminance System.Double
The zenith luminance, in Cd/m2.
windDirection System.Double
The wind direction, in degrees.
windSpeed System.Double
The wind speed, in m/s.
totalSkyCover System.Int32
The total sky cover, in tenths.
opaqueSkyCover System.Int32
The opaque sky cover, in tenths.
visibility System.Double
The visibility, in km.
ceilingHeight System.Double
The ceiling height, in m.
presentWeatherObservation System.Int32
The present weather observation flag.
presentWeatherCodes System.String
The present weather codes.
precipitableWater System.Double
The precipitable water, in mm.
aerosolOpticalDepth System.Double
The aerosol optical depth, in thousandths.
snowDepth System.Double
The snow depth, in cm.
daysSinceLastSnowfall System.Int32
The number of days since the last snowfall.
albedo System.Double
The albedo.
liquidPrecipitationDepth System.Double
The liquid precipitation depth, in mm.
liquidPrecipitationQuantity System.Double
The liquid precipitation quantity, in hours.
Initializes a new instance of the DataRecord class from a JSON object.
public DataRecord(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing hourly weather data.
Gets the aerosol optical depth, in thousandths.
public double AerosolOpticalDepth { get; }Gets the albedo.
public double Albedo { get; }Gets the atmospheric station pressure, in Pascals.
public double AtmosphericStationPressure { get; }Gets the ceiling height, in m.
public double CeilingHeight { get; }Gets the data source and uncertainty flags string.
public string? DataSourceAndUncertaintyFlags { get; }Gets the day of the record.
public int Day { get; }Gets the number of days since the last snowfall.
public int DaysSinceLastSnowfall { get; }Gets the dew point temperature, in degrees Celsius.
public double DewPointTemperature { get; }Gets the diffuse horizontal illuminance, in lux.
public double DiffuseHorizontalIlluminance { get; }Gets the diffuse horizontal radiation, in Wh/m2.
public double DiffuseHorizontalRadiation { get; }Gets the direct normal illuminance, in lux.
public double DirectNormalIlluminance { get; }Gets the direct normal radiation, in Wh/m2.
public double DirectNormalRadiation { get; }Gets the dry bulb temperature, in degrees Celsius.
public double DryBulbTemperature { get; }Gets the extraterrestrial direct normal radiation, in Wh/m2.
public double ExtraterrestrialDirectNormalRadiation { get; }Gets the extraterrestrial horizontal radiation, in Wh/m2.
public double ExtraterrestrialHorizontalRadiation { get; }Gets the global horizontal illuminance, in lux.
public double GlobalHorizontalIlluminance { get; }Gets the global horizontal radiation, in Wh/m2.
public double GlobalHorizontalRadiation { get; }Gets the horizontal infrared radiation intensity, in Wh/m2.
public double HorizontalInfraredRadiationIntensity { get; }Gets the hour of the record.
public int Hour { get; }Gets the liquid precipitation depth, in mm.
public double LiquidPrecipitationDepth { get; }Gets the liquid precipitation quantity, in hours.
public double LiquidPrecipitationQuantity { get; }Gets the minute of the record.
public int Minute { get; }Gets the month of the record.
public int Month { get; }Gets the opaque sky cover, in tenths.
public int OpaqueSkyCover { get; }Gets the precipitable water, in mm.
public double PrecipitableWater { get; }Gets the present weather codes.
public string? PresentWeatherCodes { get; }Gets the present weather observation flag.
public int PresentWeatherObservation { get; }Gets the relative humidity, in percent.
public double RelativeHumidity { get; }Gets the snow depth, in cm.
public double SnowDepth { get; }Gets the total sky cover, in tenths.
public int TotalSkyCover { get; }Gets the visibility, in km.
public double Visibility { get; }Gets the wind direction, in degrees.
public double WindDirection { get; }Gets the wind speed, in m/s.
public double WindSpeed { get; }Gets the year of the record.
public int Year { get; }Gets the zenith luminance, in Cd/m2.
public double ZenithLuminance { get; }Represents the DESIGN CONDITIONS header record of an EPW file.
public class DesignConditions : DiGi.Core.Classes.SerializableObject, DiGi.EPW.Interfaces.IEPWSerializableObject, DiGi.EPW.Interfaces.IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → DesignConditions
Implements IEPWSerializableObject, IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject
Initializes a new instance of the DesignConditions class by copying an existing instance.
public DesignConditions(DiGi.EPW.Classes.DesignConditions? designConditions);designConditions DesignConditions
The source design conditions to copy from.
Initializes a new instance of the DesignConditions class.
public DesignConditions(int numberOfDesignConditions, string? source, string? name, System.Collections.Generic.IList<double>? heatingValues, System.Collections.Generic.IList<double>? coolingValues, System.Collections.Generic.IList<double>? extremeValues);numberOfDesignConditions System.Int32
The number of design conditions contained in the record.
source System.String
The source of the design condition data.
name System.String
The design condition name, if specified.
heatingValues System.Collections.Generic.IList<System.Double>
The heating design condition values, in file order.
coolingValues System.Collections.Generic.IList<System.Double>
The cooling design condition values, in file order.
extremeValues System.Collections.Generic.IList<System.Double>
The extreme design condition values, in file order.
Initializes a new instance of the DesignConditions class from a JSON object.
public DesignConditions(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing design conditions data.
Gets the cooling design condition values, in file order.
public System.Collections.Generic.IList<double>? CoolingValues { get; }System.Collections.Generic.IList<System.Double>
Gets the extreme design condition values, in file order.
public System.Collections.Generic.IList<double>? ExtremeValues { get; }System.Collections.Generic.IList<System.Double>
Gets the heating design condition values, in file order.
public System.Collections.Generic.IList<double>? HeatingValues { get; }System.Collections.Generic.IList<System.Double>
Gets the design condition name, if specified.
public string? Name { get; }Gets the number of design conditions contained in the record.
public int NumberOfDesignConditions { get; }Gets the source of the design condition data.
public string? Source { get; }Represents an EnergyPlus Weather (EPW) file and its associated data.
public class EPWFile : DiGi.Core.Classes.SerializableObject, DiGi.EPW.Interfaces.IEPWSerializableObject, DiGi.EPW.Interfaces.IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → EPWFile
Implements IEPWSerializableObject, IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject
Initializes a new instance of the EPWFile class by copying an existing instance.
public EPWFile(DiGi.EPW.Classes.EPWFile? ePWFile);ePWFile EPWFile
The source EPW file to copy from.
EPWFile(Location, DesignConditions, IList<TypicalExtremePeriod>, IList<GroundTemperature>, HolidaysDaylightSaving, string, string, IList<DataPeriod>, IList<DataRecord>) Constructor
Initializes a new instance of the EPWFile class.
public EPWFile(DiGi.EPW.Classes.Location? location, DiGi.EPW.Classes.DesignConditions? designConditions=null, System.Collections.Generic.IList<DiGi.EPW.Classes.TypicalExtremePeriod>? typicalExtremePeriods=null, System.Collections.Generic.IList<DiGi.EPW.Classes.GroundTemperature>? groundTemperatures=null, DiGi.EPW.Classes.HolidaysDaylightSaving? holidaysDaylightSaving=null, string? comments1=null, string? comments2=null, System.Collections.Generic.IList<DiGi.EPW.Classes.DataPeriod>? dataPeriods=null, System.Collections.Generic.IList<DiGi.EPW.Classes.DataRecord>? dataRecords=null);location Location
The location associated with the EPW file.
designConditions DesignConditions
The design conditions header record.
typicalExtremePeriods System.Collections.Generic.IList<TypicalExtremePeriod>
The typical/extreme periods header record.
groundTemperatures System.Collections.Generic.IList<GroundTemperature>
The ground temperatures header record.
holidaysDaylightSaving HolidaysDaylightSaving
The holidays/daylight saving header record.
comments1 System.String
The first comments header record.
comments2 System.String
The second comments header record.
dataPeriods System.Collections.Generic.IList<DataPeriod>
The data periods header record.
dataRecords System.Collections.Generic.IList<DataRecord>
The hourly weather data records.
Initializes a new instance of the EPWFile class from a JSON object.
public EPWFile(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing EPW file data.
Gets the first comments header record.
public string? Comments1 { get; }Gets the second comments header record.
public string? Comments2 { get; }Gets the data periods header record.
public System.Collections.Generic.IList<DiGi.EPW.Classes.DataPeriod>? DataPeriods { get; }System.Collections.Generic.IList<DataPeriod>
Gets the hourly weather data records.
public System.Collections.Generic.IList<DiGi.EPW.Classes.DataRecord>? DataRecords { get; }System.Collections.Generic.IList<DataRecord>
Gets the design conditions header record.
public DiGi.EPW.Classes.DesignConditions? DesignConditions { get; }Gets the ground temperatures header record.
public System.Collections.Generic.IList<DiGi.EPW.Classes.GroundTemperature>? GroundTemperatures { get; }System.Collections.Generic.IList<GroundTemperature>
Gets the holidays/daylight saving header record.
public DiGi.EPW.Classes.HolidaysDaylightSaving? HolidaysDaylightSaving { get; }Gets the location information associated with this EPW file.
public DiGi.EPW.Classes.Location? Location { get; }Gets the typical/extreme periods header record.
public System.Collections.Generic.IList<DiGi.EPW.Classes.TypicalExtremePeriod>? TypicalExtremePeriods { get; }System.Collections.Generic.IList<TypicalExtremePeriod>
Represents a single depth entry of the GROUND TEMPERATURES header record of an EPW file.
public class GroundTemperature : DiGi.Core.Classes.SerializableObject, DiGi.EPW.Interfaces.IEPWSerializableObject, DiGi.EPW.Interfaces.IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → GroundTemperature
Implements IEPWSerializableObject, IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject
Initializes a new instance of the GroundTemperature class by copying an existing instance.
public GroundTemperature(DiGi.EPW.Classes.GroundTemperature? groundTemperature);groundTemperature GroundTemperature
The source ground temperature to copy from.
GroundTemperature(double, Nullable<double>, Nullable<double>, Nullable<double>, IList<double>) Constructor
Initializes a new instance of the GroundTemperature class.
public GroundTemperature(double depth, System.Nullable<double> conductivity, System.Nullable<double> density, System.Nullable<double> specificHeat, System.Collections.Generic.IList<double>? monthlyValues);depth System.Double
The ground depth, in meters.
conductivity System.Nullable<System.Double>
The soil thermal conductivity, if specified.
density System.Nullable<System.Double>
The soil density, if specified.
specificHeat System.Nullable<System.Double>
The soil specific heat, if specified.
monthlyValues System.Collections.Generic.IList<System.Double>
The twelve monthly ground temperature values.
Initializes a new instance of the GroundTemperature class from a JSON object.
public GroundTemperature(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing ground temperature data.
Gets the soil thermal conductivity, if specified.
public System.Nullable<double> Conductivity { get; }System.Nullable<System.Double>
Gets the soil density, if specified.
public System.Nullable<double> Density { get; }System.Nullable<System.Double>
Gets the ground depth, in meters.
public double Depth { get; }Gets the twelve monthly ground temperature values.
public System.Collections.Generic.IList<double>? MonthlyValues { get; }System.Collections.Generic.IList<System.Double>
Gets the soil specific heat, if specified.
public System.Nullable<double> SpecificHeat { get; }System.Nullable<System.Double>
Represents a single holiday entry of the HOLIDAYS/DAYLIGHT SAVINGS header record of an EPW file.
public class Holiday : DiGi.Core.Classes.SerializableObject, DiGi.EPW.Interfaces.IEPWSerializableObject, DiGi.EPW.Interfaces.IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → Holiday
Implements IEPWSerializableObject, IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject
Initializes a new instance of the Holiday class by copying an existing instance.
public Holiday(DiGi.EPW.Classes.Holiday? holiday);holiday Holiday
The source holiday to copy from.
Initializes a new instance of the Holiday class.
public Holiday(string? name, string? date);name System.String
The name of the holiday.
date System.String
The date of the holiday.
Initializes a new instance of the Holiday class from a JSON object.
public Holiday(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing holiday data.
Gets the date of the holiday.
public string? Date { get; }Gets the name of the holiday.
public string? Name { get; }Represents the HOLIDAYS/DAYLIGHT SAVINGS header record of an EPW file.
public class HolidaysDaylightSaving : DiGi.Core.Classes.SerializableObject, DiGi.EPW.Interfaces.IEPWSerializableObject, DiGi.EPW.Interfaces.IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → HolidaysDaylightSaving
Implements IEPWSerializableObject, IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject
Initializes a new instance of the HolidaysDaylightSaving class.
public HolidaysDaylightSaving(bool leapYearObserved, string? daylightSavingStartDate, string? daylightSavingEndDate, System.Collections.Generic.IList<DiGi.EPW.Classes.Holiday>? holidays);leapYearObserved System.Boolean
Indicates whether the leap year is observed.
daylightSavingStartDate System.String
The daylight saving start date.
daylightSavingEndDate System.String
The daylight saving end date.
holidays System.Collections.Generic.IList<Holiday>
The list of holidays defined in the file.
Initializes a new instance of the HolidaysDaylightSaving class by copying an existing instance.
public HolidaysDaylightSaving(DiGi.EPW.Classes.HolidaysDaylightSaving? holidaysDaylightSaving);holidaysDaylightSaving HolidaysDaylightSaving
The source holidays/daylight saving record to copy from.
Initializes a new instance of the HolidaysDaylightSaving class from a JSON object.
public HolidaysDaylightSaving(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing holidays/daylight saving data.
Gets the daylight saving end date.
public string? DaylightSavingEndDate { get; }Gets the daylight saving start date.
public string? DaylightSavingStartDate { get; }Gets the list of holidays defined in the file.
public System.Collections.Generic.IList<DiGi.EPW.Classes.Holiday>? Holidays { get; }System.Collections.Generic.IList<Holiday>
Gets a value indicating whether the leap year is observed.
public bool LeapYearObserved { get; }Represents a geographical location including coordinates, elevation, and administrative details.
public class Location : DiGi.Core.Classes.SerializableObject, DiGi.EPW.Interfaces.IEPWSerializableObject, DiGi.EPW.Interfaces.IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → Location
Implements IEPWSerializableObject, IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject
Initializes a new instance of the Location class by copying an existing instance.
public Location(DiGi.EPW.Classes.Location? location);location Location
The source location to copy from.
Initializes a new instance of the Location class.
public Location(string? city, string? region, string? country, string? source, string? wHO, double latitude, double longitude, double timeZone, double elevation);city System.String
The name of the city.
region System.String
The region or administrative area.
country System.String
The name of the country.
source System.String
The source of the location data.
wHO System.String
The World Health Organization designation.
latitude System.Double
The latitude coordinate.
longitude System.Double
The longitude coordinate.
timeZone System.Double
The time zone offset.
elevation System.Double
The elevation above sea level.
Initializes a new instance of the Location class from a JSON object.
public Location(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing location data.
Gets the name of the city.
public string? City { get; }Gets the name of the country.
public string? Country { get; }Gets the elevation of the location.
public double Elevation { get; }Gets the latitude coordinate of the location.
public double Latitude { get; }Gets the longitude coordinate of the location.
public double Longitude { get; }Gets the region or administrative area of the location.
public string? Region { get; }Gets the source from which the location data was retrieved.
public string? Source { get; }Gets the time zone offset for the location.
public double TimeZone { get; }Gets the World Health Organization (WHO) designation for the location.
public string? WHO { get; }Represents a single period entry of the TYPICAL/EXTREME PERIODS header record of an EPW file.
public class TypicalExtremePeriod : DiGi.Core.Classes.SerializableObject, DiGi.EPW.Interfaces.IEPWSerializableObject, DiGi.EPW.Interfaces.IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → TypicalExtremePeriod
Implements IEPWSerializableObject, IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject
Initializes a new instance of the TypicalExtremePeriod class by copying an existing instance.
public TypicalExtremePeriod(DiGi.EPW.Classes.TypicalExtremePeriod? typicalExtremePeriod);typicalExtremePeriod TypicalExtremePeriod
The source typical/extreme period to copy from.
Initializes a new instance of the TypicalExtremePeriod class.
public TypicalExtremePeriod(string? name, string? periodType, string? startDate, string? endDate);name System.String
The name of the typical or extreme period.
periodType System.String
The type of the period, e.g. Typical or Extreme.
startDate System.String
The start date of the period.
endDate System.String
The end date of the period.
Initializes a new instance of the TypicalExtremePeriod class from a JSON object.
public TypicalExtremePeriod(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing typical/extreme period data.
Gets the end date of the period.
public string? EndDate { get; }Gets the name of the typical or extreme period.
public string? Name { get; }Gets the type of the period, e.g. Typical or Extreme.
public string? PeriodType { get; }Gets the start date of the period.
public string? StartDate { get; }