×
Menu
Index

6.1.30.1 Methods Defined Here

close_wea_data() -> None
Close the location database.
 
get() -> dict
Get location data.  Returns a dictionary with the following keywords:
 
altitude
(float, meters)
city, country
(strings)
dst_correction
(float)
dst_from_month, dst_to_month
(float) range 1-12
external CO2
(float, ppm)
ground_reflectance_summer, ground_reflectance_winter
(float)
ground_reflectance_summer_from_month, ground_reflectance_summer_to_month
(float) range 1-12
heating_loads percentile, cooling_loads percentile
(float, %)
latitude, longitude
(float, degrees)
national_climate_zone
(int or string)
summer_drybulb, summer_wetbulb, winter_drybulb
(float, °C)
time_zone
(float)
weather source
(string)
 
open_wea_data() -> int
Open location data.  Returns -1 on failure, else success.
 
save_and_close() -> None
    Save and close the location database.
 
set(dict) -> None
    Set location data. Possible dictionary keywords are:
 
altitude
city
cooling_loads_percentile
country
dst_correction
dst_from_month
dst_to_month
external_CO2
ground_reflectance_summer
ground_reflectance_summer_from_month
ground_reflectance_summer_to_month
ground_reflectance_winter
heating_loads_percentile
latitude
longitude
ref_air_density
summer_drybulb
summer_wetbulb
time_zone
winter_drybulb
 
set_max_dry_bulb(temperature, month)
    Set the maximum dry bulb temperature in degrees Celsius for a given month.
 
set_max_wet_bulb(temperature, month)
    Set the maximum wet bulb temperature in degrees Celsius for a given month.
 
set_min_dry_bulb(temperature, month)
    Set the minimum dry bulb temperature in degrees Celsius for a given month