Skip to content

Commit

Permalink
Investigate Large Horizon Models #213. Added some test scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinecarme committed Feb 23, 2023
1 parent 2c31039 commit 637efd4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/long_term_forecasts/gen_yosemite_horizons.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
lHorizons = [1] + [h for h in range(100, 1000+1, 100)]

for H in lHorizons:
lDir = "tests/long_term_forecasts"
filename = lDir + "/test_yosemite_temps_Horizon_" + str(H) + ".py";
file = open(filename, "w");
print("WRTITING_FILE" , filename);
file.write("import tests.long_term_forecasts.test_yosemite_temps as yos\n\n");
file.write("yos.buildModel(" + str(H) + ");\n\n");
file.close();

0 comments on commit 637efd4

Please sign in to comment.