Skip to content
Snippets Groups Projects
Commit 0778253b authored by Kyle's avatar Kyle
Browse files

passes colbeck tests

parent f4efb18f
No related branches found
No related tags found
No related merge requests found
Source diff could not be displayed: it is too large. Options to address this: view the blob.
Run start time on system: ccyy=2022 - mm=09 - dd=08 - hh=18 - mi=40 - ss=09.307 Run start time on system: ccyy=2022 - mm=09 - dd=09 - hh=14 - mi=35 - ss=25.724
No preview for this file type
Run start time on system: ccyy=2022 - mm=09 - dd=08 - hh=22 - mi=30 - ss=05.308 Run start time on system: ccyy=2022 - mm=09 - dd=09 - hh=14 - mi=37 - ss=21.620
...@@ -58,7 +58,7 @@ def verify(verified_data_path, data_to_compare_path, output_variables, numHRU): ...@@ -58,7 +58,7 @@ def verify(verified_data_path, data_to_compare_path, output_variables, numHRU):
print("variable -",var, "has different values at", elem) print("variable -",var, "has different values at", elem)
print(" verified_hru = ", verified_data[elem]) print(" verified_hru = ", verified_data[elem])
print(" hru_to_compare = ", to_verify_data[elem]) print(" hru_to_compare = ", to_verify_data[elem])
break # break
except TypeError: except TypeError:
print("variable - ", var, "Cannot be compared with len") print("variable - ", var, "Cannot be compared with len")
...@@ -80,13 +80,13 @@ mLayerDepth = "mLayerDepth" ...@@ -80,13 +80,13 @@ mLayerDepth = "mLayerDepth"
output_variables = [scalarRainfall, scalarSnowfall, scalarRainPlusMelt, mLayerVolFracLiq, \ output_variables = [scalarRainfall, scalarSnowfall, scalarRainPlusMelt, mLayerVolFracLiq, \
mLayerVolFracIce, iLayerNrgFlux, iLayerHeight, mLayerDepth] mLayerVolFracIce, iLayerNrgFlux, iLayerHeight, mLayerDepth]
# verified_data_path = Path("./verification_data/colbeck1976-exp1_G1-1_timestep.nc") verified_data_path = Path("./verification_data/colbeck1976-exp1_G1-1_timestep.nc")
# data_to_compare_path = Path("./output/colbeck1976-exp1GRU1-1_timestep.nc") data_to_compare_path = Path("./output/colbeck1976-exp1GRU1-1_timestep.nc")
# verify(verified_data_path, data_to_compare_path, output_variables, numHRU) verify(verified_data_path, data_to_compare_path, output_variables, numHRU)
# verified_data_path = Path("./verification_data/colbeck1976-exp2_G1-1_timestep.nc") verified_data_path = Path("./verification_data/colbeck1976-exp2_G1-1_timestep.nc")
# data_to_compare_path = Path("./output/colbeck1976-exp2GRU1-1_timestep.nc") data_to_compare_path = Path("./output/colbeck1976-exp2GRU1-1_timestep.nc")
# verify(verified_data_path, data_to_compare_path, output_variables, numHRU) verify(verified_data_path, data_to_compare_path, output_variables, numHRU)
verified_data_path = Path("./verification_data/colbeck1976-exp3_G1-1_timestep.nc") verified_data_path = Path("./verification_data/colbeck1976-exp3_G1-1_timestep.nc")
data_to_compare_path = Path("./output/colbeck1976-exp3GRU1-1_timestep.nc") data_to_compare_path = Path("./output/colbeck1976-exp3GRU1-1_timestep.nc")
......
#! /bin/bash
echo "Starting Celia"
cd celia1990
./run_test_summa.sh
echo "Starting Colbeck"
cd colbeck1976
./run_test_summa.sh
echo "Starting Miller"
cd miller1998
./run_test_summa.sh
echo "Starting Mizoguchi"
cd mizoguchi1990
./run_test_summa.sh
echo "Starting Vanderborght"
cd vanderborght2005
./run_test_summa.sh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment