Closed YifanLi86 closed 3 years ago
Can you rebase your branch onto mvp
. Also your commit message does not follow the standard (see the Contribution Guide), you will need to perform an interactive rebase to reword it. Thanks
Can you rebase your branch onto
mvp
. Also your commit message does not follow the standard (see the Contribution Guide), you will need to perform an interactive rebase to reword it. Thanks
Finished interactive rebase...
Is that the only place where "."
needs to be changed to "0"
? See l. 217, [l. 304 - l. 308]
Is that the only place where
"."
needs to be changed to"0"
? See l. 217, [l. 304 - l. 308]
Yes 217 is the only location that needs to be changed as I observed. 304-308 are correct - no change needed.
Pull Request doc
Purpose Debug grid_to_switch.py function to generate correct fuels.csv file for SWITCH input version 2.0.5.
What the code is doing Adjust original code to populate entries for column "co2_intensity" to "0" instead of ".".
Testing Manual testing, spot-checked against values.
from powersimdata.scenario.scenario import Scenario from switchwrapper.grid_to_switch import grid_to_switch scenario = Scenario(599) grid = scenario.state.get_grid() grid_to_switch(grid, 'Test')
Time estimate 5 minute.