Parcourir la source

temporal modules: fixed tests

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@67959 15284696-431f-4ddb-bdfa-cd5b030d7da7
Luca Delucchi il y a 9 ans
Parent
commit
68dd19ea95

+ 2 - 2
temporal/t.rast.accdetect/testsuite/test.t.rast.accdetect.reverse.sh

@@ -22,10 +22,10 @@ t.register -i type=raster input=temp_abs1 maps=temp_1,temp_2,temp_3,temp_4,temp_
 # The first @test
 
 t.rast.accumulate -r input=temp_abs1 output=temp_accumulation base=temp_acc \
-    limits=10,25 start="2001-01-01" gran="2 months" cycle="12 months"
+    limits=10,25 start="2001-01-01" gran="2 months" cycle="12 months" suffix="num%03"
 
 t.rast.accdetect -r input=temp_accumulation occurrence=temp_occ base=temp_occ \
-    range=20,80 start="2001-01-01" cycle="12 months" staend=1,2,3 indi=temp_indi
+    range=20,80 start="2001-01-01" cycle="12 months" staend=1,2,3 indi=temp_indi suffix="num%03"
 
 t.rast.list temp_accumulation col=name,start_time,min,max > data/test_2_temp_accumulation.txt
 t.rast.list temp_occ col=name,start_time,min,max  > data/test_2_temp_occ.txt

+ 3 - 3
temporal/t.rast.accdetect/testsuite/test.t.rast.accdetect.sh

@@ -22,10 +22,10 @@ t.register -i type=raster input=temp_abs1 maps=temp_1,temp_2,temp_3,temp_4,temp_
 # The first @test
 
 t.rast.accumulate input=temp_abs1 output=temp_accumulation base=temp_acc \
-    limits=10,25 start="2001-01-01" gran="2 months" cycle="12 months"
+    limits=10,25 start="2001-01-01" gran="2 months" cycle="12 months" suffix="num%03"
 
 t.rast.accdetect input=temp_accumulation occurrence=temp_occ base=temp_occ \
-    range=20,80 start="2001-01-01" cycle="12 months"
+    range=20,80 start="2001-01-01" cycle="12 months" suffix="num%03"
 
 # Check the registered maps metadata
 t.rast.list temp_accumulation col=name,start_time,min,max > data/test_1_temp_accumulation.txt
@@ -45,7 +45,7 @@ t.register -i type=raster input=maximum maps=maximum start="2001-01-01" incremen
 
 t.rast.accdetect input=temp_accumulation occurrence=temp_occ base=temp_occ \
     range=20,80 start="2001-01-01" cycle="12 months" min=minimum \
-    max=maximum staend=1,2,3 indi=temp_indi
+    max=maximum staend=1,2,3 indi=temp_indi suffix="num%03"
 
 # Check the registered maps metadata
 t.rast.list temp_occ col=name,start_time,min,max          > data/test_1_temp_occ_b.txt

+ 1 - 1
temporal/t.rast.aggregate.ds/testsuite/test.t.rast.aggregate.ds.sh

@@ -43,7 +43,7 @@ t.info type=strds input=precip_abs2
 t.rast.list input=precip_abs2 method=deltagap
 
 t.rast.aggregate.ds --v input=precip_abs1 output=precip_abs2 base=prec_sum \
-    type=stvds sample=soil_abs1 method=sum sampling=contains -ns
+    type=stvds sample=soil_abs1 method=sum sampling=contains -n
 t.info type=strds input=precip_abs2
 t.rast.list input=precip_abs2 method=deltagap