Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Add json format output for modhelp #995

Merged
merged 3 commits into from
Sep 13, 2021
Merged

Conversation

dchassin
Copy link
Member

@dchassin dchassin commented Sep 8, 2021

This PR fixes issue #994.

Current issues

  1. Need to develop and address full list of command options that should output to JSON if required.

Code changes

  • Add JSON format handling to gldcore/cmdarg.cpp.
  • Add support for limited output of JSON data to gldcore/json.cpp

Documentation changes

Test and Validation Notes

None

@dchassin dchassin requested a review from aivanova5 September 8, 2021 13:26
@dchassin dchassin added the enhancement Request an enhancement or new feature label Sep 8, 2021
@dchassin dchassin linked an issue Sep 8, 2021 that may be closed by this pull request
7 tasks
@aivanova5 aivanova5 merged commit fdf840b into develop Sep 13, 2021
@aivanova5 aivanova5 deleted the develop-add-modhelp-json branch September 13, 2021 23:29
@dchassin dchassin mentioned this pull request Sep 17, 2021
8 tasks
aivanova5 added a commit that referenced this pull request Sep 27, 2021
* Start beauharnois-27

* Add support for input from RECS survey data (#732)

Co-authored-by: Veronika Lubeck <veronikalubeck@Veronikas-MacBook-Pro.local>
Co-authored-by: David P. Chassin <dchassin@slac.stanford.edu>
Co-authored-by: David P. Chassin <david.chassin@me.com>

* Add weather metar to access realtime weather data (#990)

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Bump pillow from 8.2.0 to 8.3.2 in /module/resilience/docs (#993)

Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.2.0 to 8.3.2.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst)
- [Commits](python-pillow/Pillow@8.2.0...8.3.2)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David P. Chassin <dchassin@slac.stanford.edu>

* Bump pillow from 8.2.0 to 8.3.2 in /gldcore/converters (#992)

Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.2.0 to 8.3.2.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst)
- [Commits](python-pillow/Pillow@8.2.0...8.3.2)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David P. Chassin <dchassin@slac.stanford.edu>

* Add json format output for modhelp (#995)

* Add support for json output of modhelp

* Update json.cpp

* Update Modhelp.md

* Update csv-table2glm-object.py (#997)

* Update csv-table2glm-object.py

* Update Table_data.md

* Update csv-table2glm-object.py

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Fix make builddir (#1003)

* Update Makefile.am

* Update Makefile.mk

* Fix build process to allow build in folders other than top source

* Add commercial electrification (#1001)

* Add electrification to commercial CEUS model

* Create test_ceus_gasheat.glm

* Develop fix version check (#1006)

* Update gridlabd-version

* Update gridlabd-version

* Update gridlabd-version

* Update gridlabd-version

* Update Makefile.am

* Update gridlabd.m4sh

* Update gridlabd.in

* Update Makefile.mk

* Update gridlabd.in

* Update gridlabd-version

* Add support for logging version checks

* Add profiler output options for CSV and JSON (#1008)

* Update exec.cpp

* Add JSON output of profile

* Add profile CSV and JSON output support

* Update Profile.md

* Add documentation to changes in --profile command option

* Update Profile.md

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Update recorder.cpp (#1011)

* Update recorder.cpp

* Update recorder.cpp

* Update version.sh

* Fix to the powerflow/init.cpp to support units (#1012)

* Fix to the init.cpp to support units
* Updating the unit definitions for powerflow globals

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>
Co-authored-by: Veronika Lubeck <veronikalubeck@Veronikas-MacBook-Pro.local>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@aivanova5 aivanova5 mentioned this pull request Nov 2, 2021
24 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Request an enhancement or new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support of JSON output for common options
2 participants