Closed mvesin closed 3 years ago
I have also experienced some issues when executing the following command:
create-compute-appendix --site_spec specifications.json --output_dir site data
loading region bounding boxes for computing carbon emissions region, this may take a moment...
454/454... rate=796.77 Hz, eta=0:00:00, total=0:00:00, wall=16:22 -044
Done!
/Library/Frameworks/Python.framework/Versions/3.9/bin/create-compute-appendix:30: FutureWarning: Passing a negative integer is deprecated in version 1.0 and will not be supported in future version. Instead, use None to not limit the column width.
pd.set_option('display.max_colwidth', -1)
Filtered dirs:
Filtered dirs:
Filtered dirs:
Filtered dirs:
Filtered dirs:
Filtered dirs:
Filtered dirs:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/create-compute-appendix", line 431, in
Any idea?
I have also experienced some issues when executing the following command:
create-compute-appendix --site_spec specifications.json --output_dir site data
loading region bounding boxes for computing carbon emissions region, this may take a moment... 454/454... rate=796.77 Hz, eta=0:00:00, total=0:00:00, wall=16:22 -044 Done! /Library/Frameworks/Python.framework/Versions/3.9/bin/create-compute-appendix:30: FutureWarning: Passing a negative integer is deprecated in version 1.0 and will not be supported in future version. Instead, use None to not limit the column width. pd.set_option('display.max_colwidth', -1) Filtered dirs: Filtered dirs: Filtered dirs: Filtered dirs: Filtered dirs: Filtered dirs: Filtered dirs: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.9/bin/create-compute-appendix", line 431, in sys.exit(main(sys.argv[1:])) File "/Library/Frameworks/Python.framework/Versions/3.9/bin/create-compute-appendix", line 427, in main _recursive_create(all_log_dirs, args.output_dir, site_spec) File "/Library/Frameworks/Python.framework/Versions/3.9/bin/create-compute-appendix", line 364, in _recursive_create _recursive_create(filtered_dirs, new_output_dir, File "/Library/Frameworks/Python.framework/Versions/3.9/bin/create-compute-appendix", line 342, in _recursive_create df = _gather_executive_summary( File "/Library/Frameworks/Python.framework/Versions/3.9/bin/create-compute-appendix", line 49, in _gather_executive_summary for j in range(len(aggregated_info[exp_name][executive_summary_variables[0]])): KeyError: 'AverageReturnPerkWh'
Any idea?
Could you provide a repro? Maybe upload the data/log?
@mvesin Thanks for reporting. This should be fixed in master now. :)
@pnovoa feel free to open a new issue with the repro mentioned above. Thank you!
Hi all, it seems like there is 2 misc problems in current version of create-compute-appendix :
Here is a proposed diff :