Skip to content

Commit

Permalink
Remove build date from output as it's both inaccurate and redundant w…
Browse files Browse the repository at this point in the history
…ith version - #139
  • Loading branch information
softwareengineerprogrammer committed May 8, 2024
1 parent 8cf4ee9 commit 0568ba7
Show file tree
Hide file tree
Showing 40 changed files with 0 additions and 41 deletions.
1 change: 0 additions & 1 deletion src/geophires_x/AGSOutputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ def PrintOutputs(self, model: Model):
f.write("Simulation Metadata\n")
f.write("----------------------\n")
f.write(f' GEOPHIRES Version: {geophires_x.__version__}\n')
f.write(" GEOPHIRES Build Date: 2022-06-30\n")
f.write(" Simulation Date: " + datetime.datetime.now().strftime("%Y-%m-%d\n"))
f.write(" Simulation Time: " + datetime.datetime.now().strftime("%H:%M\n"))
f.write(" Calculation Time: " + "{0:10.3f}".format((time.time() - model.tic)) + " sec\n")
Expand Down
2 changes: 0 additions & 2 deletions src/geophires_x/Outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,6 @@ def PrintOutputs(self, model: Model):
pumping_power_results = []

simulation_metadata.append(OutputTableItem('GEOPHIRES Version', geophires_x.__version__))
simulation_metadata.append(OutputTableItem('GEOPHIRES Build Date', '2024-03-05'))
simulation_metadata.append(OutputTableItem('Simulation Date', datetime.datetime.now().strftime('%Y-%m-%d')))
simulation_metadata.append(OutputTableItem('Simulation Time', datetime.datetime.now().strftime('%H:%M')))
simulation_metadata.append(OutputTableItem('Calculation Time', '{0:10.3f}'.format((time.time() - model.tic)) + ' sec'))
Expand Down Expand Up @@ -1554,7 +1553,6 @@ def PrintOutputs(self, model: Model):
f.write('Simulation Metadata\n')
f.write('----------------------\n')
f.write(f' GEOPHIRES Version: {geophires_x.__version__}\n')
f.write(' GEOPHIRES Build Date: 2024-03-05\n') # FIXME TODO https://github.com/NREL/GEOPHIRES-X/issues/139
f.write(' Simulation Date: '+ datetime.datetime.now().strftime('%Y-%m-%d\n'))
f.write(' Simulation Time: '+ datetime.datetime.now().strftime('%H:%M\n'))
f.write(' Calculation Time: '+'{0:10.3f}'.format((time.time()-model.tic)) + ' sec\n')
Expand Down
1 change: 0 additions & 1 deletion src/geophires_x/SUTRAOutputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ def PrintOutputs(self, model: Model):
f.write("Simulation Metadata\n")
f.write("----------------------\n")
f.write(f' GEOPHIRES Version: {geophires_x.__version__}\n')
f.write(" GEOPHIRES Build Date: 2023-11-06\n")
f.write(" Simulation Date: "+ datetime.datetime.now().strftime("%Y-%m-%d\n"))
f.write(" Simulation Time: "+ datetime.datetime.now().strftime("%H:%M\n"))
f.write(" Calculation Time: "+"{0:10.3f}".format((time.time()-model.tic)) + " sec\n")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.4
GEOPHIRES Build Date: 2022-06-30
Simulation Date: 2024-03-02
Simulation Time: 14:11
Calculation Time: 1.178 sec
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.4
GEOPHIRES Build Date: 2022-06-30
Simulation Date: 2024-03-02
Simulation Time: 14:12
Calculation Time: 1.004 sec
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.4
GEOPHIRES Build Date: 2022-06-30
Simulation Date: 2024-03-02
Simulation Time: 14:13
Calculation Time: 1.085 sec
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.4
GEOPHIRES Build Date: 2022-06-30
Simulation Date: 2024-03-02
Simulation Time: 14:13
Calculation Time: 1.093 sec
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.4
GEOPHIRES Build Date: 2022-06-30
Simulation Date: 2024-03-02
Simulation Time: 14:14
Calculation Time: 1.073 sec
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.4
GEOPHIRES Build Date: 2022-06-30
Simulation Date: 2024-03-02
Simulation Time: 14:14
Calculation Time: 1.026 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/FIXME_example1_outputunits.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.0
GEOPHIRES Build Date: 2022-06-30
Simulation Date: 2023-09-29
Simulation Time: 21:03
Calculation Time: 13.691 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/Fervo_Norbeck_Latimer_2024.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.28
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-05-07
Simulation Time: 13:15
Calculation Time: 0.612 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/S-DAC-GT.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.22
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-03-20
Simulation Time: 17:51
Calculation Time: 0.433 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/SUTRAExample1.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.0
GEOPHIRES Build Date: 2023-11-06
Simulation Date: 2023-11-06
Simulation Time: 17:26
Calculation Time: 1.566 sec
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.25
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-04-30
Simulation Time: 08:43
Calculation Time: 1.706 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/example1.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.25
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-04-16
Simulation Time: 10:32
Calculation Time: 0.962 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/example10_HP.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.25
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-04-16
Simulation Time: 10:37
Calculation Time: 0.275 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/example11_AC.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.25
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-04-16
Simulation Time: 10:36
Calculation Time: 0.274 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/example12_DH.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.25
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-04-16
Simulation Time: 10:46
Calculation Time: 0.257 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/example13.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.25
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-04-16
Simulation Time: 10:29
Calculation Time: 0.088 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/example1_addons.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.25
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-04-16
Simulation Time: 10:26
Calculation Time: 0.937 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/example2.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.25
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-04-16
Simulation Time: 10:33
Calculation Time: 0.365 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/example3.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.25
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-04-16
Simulation Time: 10:34
Calculation Time: 0.333 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/example4.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.25
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-04-16
Simulation Time: 10:30
Calculation Time: 0.127 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/example5.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.25
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-04-16
Simulation Time: 10:31
Calculation Time: 0.124 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/example8.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.15
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-03-05
Simulation Time: 09:59
Calculation Time: 0.617 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/example9.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.25
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-04-16
Simulation Time: 10:49
Calculation Time: 0.949 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/example_ITC.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.25
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-04-16
Simulation Time: 10:38
Calculation Time: 0.929 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/example_PTC.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.25
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-04-16
Simulation Time: 10:36
Calculation Time: 0.971 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/example_SHR-1.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.22
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-04-10
Simulation Time: 14:58
Calculation Time: 1.538 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/example_SHR-2.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.25
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-04-16
Simulation Time: 10:45
Calculation Time: 0.957 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/example_multiple_gradients.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.25
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-04-16
Simulation Time: 10:47
Calculation Time: 0.953 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/example_overpressure.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.25
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-04-21
Simulation Time: 20:27
Calculation Time: 1.553 sec
Expand Down
1 change: 0 additions & 1 deletion tests/examples/example_overpressure2.out
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.26
GEOPHIRES Build Date: 2024-03-05
Simulation Date: 2024-05-02
Simulation Time: 11:44
Calculation Time: 1.647 sec
Expand Down
1 change: 0 additions & 1 deletion tests/geophires-result_example-1.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.0
GEOPHIRES Build Date: 2022-06-30
Simulation Date: 2023-09-30
Simulation Time: 11:10
Calculation Time: 1.065 sec
Expand Down
1 change: 0 additions & 1 deletion tests/geophires-result_example-2.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.0
GEOPHIRES Build Date: 2022-06-30
Simulation Date: 2023-09-30
Simulation Time: 11:08
Calculation Time: 2.897 sec
Expand Down
1 change: 0 additions & 1 deletion tests/geophires-result_example-3.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.0
GEOPHIRES Build Date: 2022-06-30
Simulation Date: 2023-09-30
Simulation Time: 11:11
Calculation Time: 0.057 sec
Expand Down
1 change: 0 additions & 1 deletion tests/geophires-result_example-4.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.0
GEOPHIRES Build Date: 2022-06-30
Simulation Date: 2023-09-30
Simulation Time: 17:51
Calculation Time: 0.117 sec
Expand Down
1 change: 0 additions & 1 deletion tests/geophires-result_example-5.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.0
GEOPHIRES Build Date: 2022-06-30
Simulation Date: 2023-09-28
Simulation Time: 17:14
Calculation Time: 7.460 sec
Expand Down
1 change: 0 additions & 1 deletion tests/result_with_ccus_profile.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.11
GEOPHIRES Build Date: 2022-06-30
Simulation Date: 2024-03-01
Simulation Time: 12:31
Calculation Time: 0.616 sec
Expand Down
1 change: 0 additions & 1 deletion tests/result_with_revenue_and_cashflow_profile.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Simulation Metadata
----------------------
GEOPHIRES Version: 3.4.12
GEOPHIRES Build Date: 2022-06-30
Simulation Date: 2024-03-04
Simulation Time: 07:46
Calculation Time: 0.611 sec
Expand Down

0 comments on commit 0568ba7

Please sign in to comment.