We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert JSON to CSV
gridlabd -C input.glm -D csv_save_options="-t pandas -f PROPERTY=VALUE ..." -o output.csv
The filter option can be used to limit the output to object with matching properties, e.g.,
-f class=CLASS
or
-f class="CLASS1|CLASS2".
Multiple filters may be specified in which case, all objects will match all filters, with an "and" operation, r.h.,
-f class=CLASS name=NAME
Filter values are interpreted using regular expressions, e.g.,
-f name=EXPRESSION
Be careful to quote expressions that can be interpreted by the shell.
The following command downloads the IEEE 13-bus model and saves all the PQ bus nodes and loads:
gridlabd model get IEEE/13 gridlabd -C 13.glm -D csv_save_options='-t pandas -f class="node|load" -f bustype=PQ' -o 13.csv
The text was updated successfully, but these errors were encountered:
dchassin
No branches or pull requests
Convert JSON to CSV
SYNTAX
DESCRIPTION
The filter option can be used to limit the output to object with matching properties, e.g.,
or
Multiple filters may be specified in which case, all objects will match all
filters, with an "and" operation, r.h.,
Filter values are interpreted using regular expressions, e.g.,
Be careful to quote expressions that can be interpreted by the shell.
EXAMPLE
The following command downloads the IEEE 13-bus model and saves all the PQ bus nodes and loads:
The text was updated successfully, but these errors were encountered: