NatLabRockies / NatLabRockies/OpenStudio
Investigate reducing the number of JSON files being written during workflow (measure_attributes.json, results.json, data_point_out_.json)
Open
@brianlball is already working on this.
Since Nov 13, 2023.
component - CLI
component - logs and warnings
component - Workflow
Enhancement Request
- Dominant language
- C++
- Stars
- 646
- Forks
- 237
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 10
Description
Enhancement Request
Context: https://github.com/NREL/OpenStudio/pull/5028#pullrequestreview-1727908612
When things calm down, it'd be good to investigate this.
Detailed Description
- We get the same info in
measure_attributes.json,results.jsonanddata_point_out.json... measure_attributes.jsonis flushed after each apply measure Step (ModelMeasures,EnergyPlusMeasures,
ReportingMeasures), then at the end ofReportingMeasuresit's done once again andresults.jsonis spat out too- Do we really need the
data_point_out.jsonin addition to this? - Seems like we could just run the output of
results.json/data_point_out.jsonat the end of the workflow run instead
Possible Implementation
Standardize on a single file.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.