NREL / reV

Renewable Energy Potential (reV) Model
https://nrel.github.io/reV/
BSD 3-Clause "New" or "Revised" License
107 stars 24 forks source link

Change stringified dict to actual dict when creating batch scenarios based on CSV input #231

Closed nickwg03 closed 4 years ago

nickwg03 commented 4 years ago

Why this feature is necessary: Being able to vary the individual layer arguments within the excl_dict would make doing scenario'd runs much easier when we build numerous scenarios that only change arguments within the excl_dict. Right now, the process creates a stringified dictionary instead of an actual dictionary. Forcing the dictionary would make the resulting batch JSON usable.

A possible solution is: Force stringified dict into an actual dict

Additional context Below are screenshots of the input batch CSV config, and the batch JSON config with stringified dict.

df372a1e-c099-4d34-9899-e9e68399f86c imgo

Charge code WFED.10406.19.01.01

Urgency / Timeframe Would need ready to go by Fri, Nov 20th. Earlier is always appreciated :)

MRossol commented 4 years ago

implemented in #232