NRCan-IETS-CE-O-HBC / HTAP

NRCan's Ruby scripts for batch analysis and optimization with HOT2000
http://www.nrcan.gc.ca/energy/efficiency/housing/home-improvements/17725
GNU Lesser General Public License v3.0
14 stars 7 forks source link

Move getArchGeomData.rb methods to H2KUtils module #62

Open AdamWillz opened 5 years ago

AdamWillz commented 5 years ago

Description

Moving methods from getArchGeomData.rb to the H2KUils module to allow for standardization of HTAP methods and greater code re-usability.

The getArchGeomData.rb currently contains hard-coded procedures to extract geometry data from h2k files. It makes sense to encapsulate these procedures into modules, making them available to all scripts in HTAP and limit duplication of code

Approach

Copy/paste and refactor of getArchGeomData.rb procedures into logical methods in the H2KUils module.

Testing Plan

TBD

Waiting On

None.

Repositories Involved

https://github.com/NRCan-IETS-CE-O-HBC/HTAP/tree/arch_geo_script