Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

weatherFile.site.climateZones issues

I am trying to map ASHRAE climate zones to BuildingAmerica climate zones in a reporting measure. I was thinking of doing this using:

wf = model.weatherFile.get
site = wf.site.get
czs = site.climateZones.get
cz0 = csz.getClimateZone(0)
czval = cz0.value

Except czval always comes up "". Other cz0 fields like year and document are fine. Any ideas? For the time being, I am resorting to substring searches in the weather file path string.

Related question: why does site.climateZones consistently have two entries? Not really a problem, just strange.