ladybug.climatezone module

Functions for computing climate classifications/zones from weather data.

ladybug.climatezone.ashrae_climate_zone(dry_bulb_temperature, annual_precipitation=None)[source]

Estimate the ASHRAE climate zone from a single year of dry bulb temperature.

Note

[1] American Society of Heating Refrigerating and Air-Conditioning Engineers. 2010. ASHRAE 90.1-2010, Table B-4 International Climate Zone Definitions.

Parameters
  • dry_bulb_temperature – A HourlyContinuousCollection of air temperature data, typically coming from an EPW.

  • annual_precipitation – A number for the total annual liquid precipitation depth in millimeters. This is used to determine whether the resulting climate has the “dry” classification. If None, the climate will always be assumed to be humid (type “A”), which tends to be more common than the dry classification (type “B”).

Returns

Text for the ASHRAE climate zone classification (eg. “4A”).