DrylandEcology / STEPWAT2

folder
4 stars 5 forks source link

Update SOILWAT2 v6.2.0 #510

Closed dschlaep closed 3 years ago

dschlaep commented 3 years ago

Update submodule SOILWAT2 to v6.2.0

dschlaep commented 3 years ago

Hi @kpalmqui:

I confirmed that we see only expected changes (additional variables) in the SOILWAT2-related output and the STEPWAT2 output remains identical with these steps:

# Checkout previous version
cd STEPWAT2/
git checkout master
cd sw_src/
git checkout v6.1.1
cd ..

# Run STEPWAT2 testrun
make clean bint_testing_nongridded

# Save output for later
cp -r testing.sagebrush.master/Stepwat_Inputs/Output \
  testing.sagebrush.master/Stepwat_Inputs/Output_v0

# Checkout updated version
git checkout update_SOILWAT2_v6.2.0
cd sw_src/
git checkout v6.2.0
cd ..

# Run STEPWAT2 testrun
make clean bint_testing_nongridded

# Compare output
cd testing.sagebrush.master/Stepwat_Inputs/
diff -qsr Output_v0 Output

# Cleanup
rm -r Output_v0
cd ../..

Files Output_v0/.DS_Store and Output/.DS_Store are identical Files Output_v0/bmassavg.csv and Output/bmassavg.csv are identical Files Output_v0/mortavg.csv and Output/mortavg.csv are identical Files Output_v0/sw_output/sw2_daily_agg.csv and Output/sw_output/sw2_daily_agg.csv differ Files Output_v0/sw_output/sw2_daily_rep1.csv and Output/sw_output/sw2_daily_rep1.csv differ Files Output_v0/sw_output/sw2_daily_slyrs_agg.csv and Output/sw_output/sw2_daily_slyrs_agg.csv are identical Files Output_v0/sw_output/sw2_daily_slyrs_rep1.csv and Output/sw_output/sw2_daily_slyrs_rep1.csv are identical Files Output_v0/sw_output/sw2_monthly_agg.csv and Output/sw_output/sw2_monthly_agg.csv differ Files Output_v0/sw_output/sw2_monthly_rep1.csv and Output/sw_output/sw2_monthly_rep1.csv differ Files Output_v0/sw_output/sw2_monthly_slyrs_agg.csv and Output/sw_output/sw2_monthly_slyrs_agg.csv are identical Files Output_v0/sw_output/sw2_monthly_slyrs_rep1.csv and Output/sw_output/sw2_monthly_slyrs_rep1.csv are identical Files Output_v0/sw_output/sw2_yearly_agg.csv and Output/sw_output/sw2_yearly_agg.csv differ Files Output_v0/sw_output/sw2_yearly_rep1.csv and Output/sw_output/sw2_yearly_rep1.csv differ Files Output_v0/sw_output/sw2_yearly_slyrs_agg.csv and Output/sw_output/sw2_yearly_slyrs_agg.csv are identical Files Output_v0/sw_output/sw2_yearly_slyrs_rep1.csv and Output/sw_output/sw2_yearly_slyrs_rep1.csv are identical