Closed landam closed 5 months ago
Currently dpre.save is not saved on workflow: dpre. How to test:
dpre.save
workflow: dpre
Change .config.ini:
.config.ini
-workflow_mode: full +workflow_mode: dpre
Run:
./tests/run_grass_gistest.sh rain_sim 001
Enter GRASS location:
grass /tmp/smoderp2d-rain_sim/test
and run:
PYTHONPATH=$PYTHONPATH:`pwd` ./bin/grass/r.smoderp2d/r.smoderp2d.py \ elevation=dem@PERMANENT \ soil=soils@PERMANENT \ soil_type_fieldname=Soil \ vegetation=landuse@PERMANENT \ vegetation_type_fieldname=LandUse \ rainfall_file=tests/data/rainfall_nucice.txt \ maxdt=5 end_time=5 \ points=points@PERMANENT points_fieldname='point_id' \ table_soil_vegetation=soil_veg_tab@PERMANENT \ table_soil_vegetation_fieldname=soilveg \ streams=streams@PERMANENT \ channel_properties_table=streams_shape@PERMANENT \ streams_channel_type_fieldname=channel_id \ output=tests/data/output
Check existence of dpre.save:
file tests/data/output/dpre.save
Currently
dpre.save
is not saved onworkflow: dpre
. How to test:Change
.config.ini
:Run:
Enter GRASS location:
and run:
Check existence of
dpre.save
: