How to run GEOPHIRES on datasets #356
Replies: 3 comments 1 reply
-
This test should give an idea of how to follow this pattern: https://github.com/NREL/GEOPHIRES-X/blob/main/tests/test_geophires_x.py#L154 https://github.com/NREL/GEOPHIRES-X/blob/main/tests/test_geophires_x.py#L828 |
Beta Was this translation helpful? Give feedback.
-
@SHerrboldt can provide a writeup of their work here, possibly to be incorporated into docs for others to learn from |
Beta Was this translation helpful? Give feedback.
-
Written code to run multiple instances of GEOPHIRES from a data table (.csv). It takes a data table from a .csv file and populates an input file provided by the user. Each input file is saved to a specified folder. GEOPHIRES is initialized, and each input file is run through GEOPHIRES. The .out files are saved to a specified folder. Currently working on saving output files as .csv (possibly specific info: LCOE, NPV, IRR, etc.). Included is a zip file containing:
Workflow for loop2.py:
The file is hardcoded for my specific files, but it is not too complicated. The depth, frm_thickness, and temp_gradient in lines 27 - 29 can be changed to your specific column header. Lines 40 - 46 write the data values to the template file for GEOPHIRES. Working to save output files as .csv and specific info instead of the whole file. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Suggestions for running GEOPHIRES on datasets e.g. take inputs from CSV and run GEOPHIRES on each row
(@softwareengineerprogrammer to provide examples)
Beta Was this translation helpful? Give feedback.
All reactions