You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know this is an odd workflow, but I'd like to call resstock in parallel, to run multiple models (baseline only) built each with a precomputed buildstock.csv
Issues:
run_analysis.rb consistently wipes and recreates the resstock/lib folder
At initialization
cp resstock/resources to resstock/lib/resources
cp resstock/project_<national|baseline>/housing_characteristics to resstock/lib/housing_characteristics
Also wipes the lib folder at end unless --debug is passed
This is avoidable, especially considering there's a smart way to check if it's needed to recreate it, via checksuming the content of the source dir and target dir to ensure we have up to date copies in resstock/lib
It copies (or create if not precomputed) the buildstock.csv to the resstock/lib/housing_characteristics/buildstock.csv and BuildExistingModel measure just plain assumes it there, with no option to change it
buildstock_csv_path=File.absolute_path(File.join(characteristics_dir,'buildstock.csv'))# Should have been generated by the Worker Initialization Script (run_sampling.rb) or provided by the project
I know this is an odd workflow, but I'd like to call resstock in parallel, to run multiple models (baseline only) built each with a precomputed buildstock.csv
Issues:
run_analysis.rb consistently wipes and recreates the resstock/lib folder
resstock/resources
toresstock/lib/resources
resstock/project_<national|baseline>/housing_characteristics
toresstock/lib/housing_characteristics
--debug
is passedIt copies (or create if not precomputed) the buildstock.csv to the
resstock/lib/housing_characteristics/buildstock.csv
and BuildExistingModel measure just plain assumes it there, with no option to change itresstock/measures/BuildExistingModel/measure.rb
Line 236 in 1348def
Source:
NREL
on 2023-09-05.The text was updated successfully, but these errors were encountered: