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

Revision history [back]

Try putting your CSV into the resources/ subfolder.

That is given the following structure:

measure_folder/measure.xml
measure_folder/measure.rb

Put your files either as :

measure_folder/resources/file1.csv
measure_folder/resources/data/file1.csv

Try putting your CSV into the resources/ subfolder.

That is given the following structure:

measure_folder/measure.xml
measure_folder/measure.rb

Put your files either as :

measure_folder/resources/file1.csv
measure_folder/resources/data/file1.csv

Edit: I knew from memory that the resources/ subfolder would be copied along with the tests/ one, but I was having trouble finding where this would be defined. I think it's here: https://github.com/NREL/OpenStudio/blob/89408c89dc7e9f9dbf7ed258fa919ea6c2e6ce1f/src/utilities/bcl/BCLMeasure.cpp#L1106-L1135