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

Location of ASHRAE standard climate zone in .stat files not consistent

asked 2017-04-27 14:41:08 -0600

antonszilasi's avatar

updated 2017-04-27 18:55:03 -0600

Dear all,

I am writing some code which will extract the ASHRAE climate zone/climate type (3A, 5A etc) from .stat files, I noticed that the location of this information is not consistent across different stat files.

Before I go ahead and write code to test all the different stat files and the location of this information, I am wondering has someone done this before is there some existing code available? Basically I want to get the ASHRAE climate zone for a particular epw file.

Is there a better way to get this information from say the epw or some other source?

Many thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2017-04-27 18:31:04 -0600

Here is some basic regular expression code that gets the climate zone out of some .stat files.

NRCan is working on a full-blown method which reads the EPW file, calculates HDD, CDD, etc. That code currently lives in this file and this file

edit flag offensive delete link more

Comments

@aparker thanks Andrew it turns out that it, is more complicated than I had initially thought...

antonszilasi's avatar antonszilasi  ( 2017-04-27 22:08:09 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2017-04-27 14:41:08 -0600

Seen: 122 times

Last updated: Apr 27 '17