瀏覽代碼

r.series.interp: removed obsolete shell script test (trunk, https://trac.osgeo.org/grass/changeset/61241)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@63633 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 10 年之前
父節點
當前提交
2431f373b4

+ 0 - 4
raster/r.series.interp/test_suite/infile_2.txt

@@ -1,4 +0,0 @@
-map_10|10
-map_20|20
-map_30|30
-map_40|40

+ 0 - 9
raster/r.series.interp/test_suite/outfile_1.txt

@@ -1,9 +0,0 @@
-
-prec_2|0.25
-
-
-prec_3|0.5
-
-prec_4|0.75
-
-

+ 0 - 6
raster/r.series.interp/test_suite/outfile_2.txt

@@ -1,6 +0,0 @@
-map_12|12
-map_14|14
-map_16|16
-map_18|18
-map_25|25
-map_35|35

+ 0 - 3
raster/r.series.interp/test_suite/outfile_corrupt.txt

@@ -1,3 +0,0 @@
-prec_2|0.25
-prec_3|0.5
-prec_4

+ 0 - 56
raster/r.series.interp/test_suite/test.r.series.interp.sh

@@ -1,56 +0,0 @@
-# Test r.series.interp 
-# We need to set a specific region in the
-# @preprocess step of this test. We generate
-# raster maps with r.mapcalc 
-# The region setting should work for UTM and LL test locations
-g.region s=0 n=80 w=0 e=120 b=0 t=50 res=10 res3=10 -p3
-
-r.mapcalc --o expr="prec_1 = 100"
-r.mapcalc --o expr="prec_5 = 500"
-
-r.mapcalc --o expr="map_10 = 10"
-r.mapcalc --o expr="map_20 = 20"
-r.mapcalc --o expr="map_30 = 30"
-r.mapcalc --o expr="map_40 = 40"
-
-# We create an input files containing empty lines. 
-# However, r.series.interp should process the 
-# valid raster maps and positions listed in the files.
-
-# The first @test with map input and @precision=3
-r.series.interp --o --v input=prec_1,prec_5 datapos=0.0,1.0 output=prec_2,prec_3,prec_4 samplingpos=0.25,0.5,0.75 method=linear
-
-#r.out.ascii --o input=prec_2 output=test_1_prec_2.ref dp=3
-#r.out.ascii --o input=prec_3 output=test_1_prec_3.ref dp=3
-#r.out.ascii --o input=prec_4 output=test_1_prec_4.ref dp=3
-
-# The second @test with file input and @precision=3
-r.series.interp --o --v input=prec_1,prec_5 datapos=0.0,1.0 outfile=outfile_1.txt method=linear
-r.series.interp --o --v infile=infile_2.txt outfile=outfile_2.txt method=linear
-
-#r.out.ascii --o input=prec_2 output=test_2_prec_2.ref dp=3
-#r.out.ascii --o input=prec_3 output=test_2_prec_3.ref dp=3
-#r.out.ascii --o input=prec_4 output=test_2_prec_4.ref dp=3
-#r.out.ascii --o input=map_12 output=test_2_map_12.ref dp=3
-#r.out.ascii --o input=map_14 output=test_2_map_14.ref dp=3
-#r.out.ascii --o input=map_16 output=test_2_map_16.ref dp=3
-#r.out.ascii --o input=map_18 output=test_2_map_18.ref dp=3
-#r.out.ascii --o input=map_25 output=test_2_map_25.ref dp=3
-#r.out.ascii --o input=map_35 output=test_2_map_35.ref dp=3
-
-# We need @tests to check the @failure handling, as outputs, file and sampling points
-# are not handled by the grass parser
-# No outputs
-r.series.interp --o --v input=prec_1,prec_5 datapos=0.0,1.0 samplingpos=0.25,0.5,0.75
-# No sampling points
-r.series.interp --o --v input=prec_1,prec_5 datapos=0.0,1.0 output=prec_2,prec_3,prec_4 
-# Output and file at once
-r.series.interp --o --v  input=prec_1,prec_5 datapos=0.0,1.0 outfile=outfile_1.txt \
-                  output=prec_2,prec_3,prec_4 samplingpos=0.25,0.5,0.75 method=linear
-# Sampling points and file at once 
-r.series.interp --o --v  input=prec_1,prec_5 datapos=0.0,1.0 outfile=outfile_1.txt samplingpos=0.25,0.5,0.75 method=linear
-# Wrong input file
-r.series.interp --o --v input=prec_1,prec_5 datapos=0.0,1.0 outfile=no_file_there method=linear
-# Corrupt input file
-r.series.interp --o --v  input=prec_1,prec_5 datapos=0.0,1.0 outfile=outfile_corrupt.txt method=linear
-

+ 0 - 14
raster/r.series.interp/test_suite/test_1_prec_2.ref

@@ -1,14 +0,0 @@
-north: 80
-south: 0
-east: 120
-west: 0
-rows: 8
-cols: 12
-200 200 200 200 200 200 200 200 200 200 200 200 
-200 200 200 200 200 200 200 200 200 200 200 200 
-200 200 200 200 200 200 200 200 200 200 200 200 
-200 200 200 200 200 200 200 200 200 200 200 200 
-200 200 200 200 200 200 200 200 200 200 200 200 
-200 200 200 200 200 200 200 200 200 200 200 200 
-200 200 200 200 200 200 200 200 200 200 200 200 
-200 200 200 200 200 200 200 200 200 200 200 200 

+ 0 - 14
raster/r.series.interp/test_suite/test_1_prec_3.ref

@@ -1,14 +0,0 @@
-north: 80
-south: 0
-east: 120
-west: 0
-rows: 8
-cols: 12
-300 300 300 300 300 300 300 300 300 300 300 300 
-300 300 300 300 300 300 300 300 300 300 300 300 
-300 300 300 300 300 300 300 300 300 300 300 300 
-300 300 300 300 300 300 300 300 300 300 300 300 
-300 300 300 300 300 300 300 300 300 300 300 300 
-300 300 300 300 300 300 300 300 300 300 300 300 
-300 300 300 300 300 300 300 300 300 300 300 300 
-300 300 300 300 300 300 300 300 300 300 300 300 

+ 0 - 14
raster/r.series.interp/test_suite/test_1_prec_4.ref

@@ -1,14 +0,0 @@
-north: 80
-south: 0
-east: 120
-west: 0
-rows: 8
-cols: 12
-400 400 400 400 400 400 400 400 400 400 400 400 
-400 400 400 400 400 400 400 400 400 400 400 400 
-400 400 400 400 400 400 400 400 400 400 400 400 
-400 400 400 400 400 400 400 400 400 400 400 400 
-400 400 400 400 400 400 400 400 400 400 400 400 
-400 400 400 400 400 400 400 400 400 400 400 400 
-400 400 400 400 400 400 400 400 400 400 400 400 
-400 400 400 400 400 400 400 400 400 400 400 400 

+ 0 - 14
raster/r.series.interp/test_suite/test_2_map_12.ref

@@ -1,14 +0,0 @@
-north: 80
-south: 0
-east: 120
-west: 0
-rows: 8
-cols: 12
-12 12 12 12 12 12 12 12 12 12 12 12 
-12 12 12 12 12 12 12 12 12 12 12 12 
-12 12 12 12 12 12 12 12 12 12 12 12 
-12 12 12 12 12 12 12 12 12 12 12 12 
-12 12 12 12 12 12 12 12 12 12 12 12 
-12 12 12 12 12 12 12 12 12 12 12 12 
-12 12 12 12 12 12 12 12 12 12 12 12 
-12 12 12 12 12 12 12 12 12 12 12 12 

+ 0 - 14
raster/r.series.interp/test_suite/test_2_map_14.ref

@@ -1,14 +0,0 @@
-north: 80
-south: 0
-east: 120
-west: 0
-rows: 8
-cols: 12
-14 14 14 14 14 14 14 14 14 14 14 14 
-14 14 14 14 14 14 14 14 14 14 14 14 
-14 14 14 14 14 14 14 14 14 14 14 14 
-14 14 14 14 14 14 14 14 14 14 14 14 
-14 14 14 14 14 14 14 14 14 14 14 14 
-14 14 14 14 14 14 14 14 14 14 14 14 
-14 14 14 14 14 14 14 14 14 14 14 14 
-14 14 14 14 14 14 14 14 14 14 14 14 

+ 0 - 14
raster/r.series.interp/test_suite/test_2_map_16.ref

@@ -1,14 +0,0 @@
-north: 80
-south: 0
-east: 120
-west: 0
-rows: 8
-cols: 12
-16 16 16 16 16 16 16 16 16 16 16 16 
-16 16 16 16 16 16 16 16 16 16 16 16 
-16 16 16 16 16 16 16 16 16 16 16 16 
-16 16 16 16 16 16 16 16 16 16 16 16 
-16 16 16 16 16 16 16 16 16 16 16 16 
-16 16 16 16 16 16 16 16 16 16 16 16 
-16 16 16 16 16 16 16 16 16 16 16 16 
-16 16 16 16 16 16 16 16 16 16 16 16 

+ 0 - 14
raster/r.series.interp/test_suite/test_2_map_18.ref

@@ -1,14 +0,0 @@
-north: 80
-south: 0
-east: 120
-west: 0
-rows: 8
-cols: 12
-18 18 18 18 18 18 18 18 18 18 18 18 
-18 18 18 18 18 18 18 18 18 18 18 18 
-18 18 18 18 18 18 18 18 18 18 18 18 
-18 18 18 18 18 18 18 18 18 18 18 18 
-18 18 18 18 18 18 18 18 18 18 18 18 
-18 18 18 18 18 18 18 18 18 18 18 18 
-18 18 18 18 18 18 18 18 18 18 18 18 
-18 18 18 18 18 18 18 18 18 18 18 18 

+ 0 - 14
raster/r.series.interp/test_suite/test_2_map_25.ref

@@ -1,14 +0,0 @@
-north: 80
-south: 0
-east: 120
-west: 0
-rows: 8
-cols: 12
-25 25 25 25 25 25 25 25 25 25 25 25 
-25 25 25 25 25 25 25 25 25 25 25 25 
-25 25 25 25 25 25 25 25 25 25 25 25 
-25 25 25 25 25 25 25 25 25 25 25 25 
-25 25 25 25 25 25 25 25 25 25 25 25 
-25 25 25 25 25 25 25 25 25 25 25 25 
-25 25 25 25 25 25 25 25 25 25 25 25 
-25 25 25 25 25 25 25 25 25 25 25 25 

+ 0 - 14
raster/r.series.interp/test_suite/test_2_map_35.ref

@@ -1,14 +0,0 @@
-north: 80
-south: 0
-east: 120
-west: 0
-rows: 8
-cols: 12
-35 35 35 35 35 35 35 35 35 35 35 35 
-35 35 35 35 35 35 35 35 35 35 35 35 
-35 35 35 35 35 35 35 35 35 35 35 35 
-35 35 35 35 35 35 35 35 35 35 35 35 
-35 35 35 35 35 35 35 35 35 35 35 35 
-35 35 35 35 35 35 35 35 35 35 35 35 
-35 35 35 35 35 35 35 35 35 35 35 35 
-35 35 35 35 35 35 35 35 35 35 35 35 

+ 0 - 14
raster/r.series.interp/test_suite/test_2_prec_2.ref

@@ -1,14 +0,0 @@
-north: 80
-south: 0
-east: 120
-west: 0
-rows: 8
-cols: 12
-200 200 200 200 200 200 200 200 200 200 200 200 
-200 200 200 200 200 200 200 200 200 200 200 200 
-200 200 200 200 200 200 200 200 200 200 200 200 
-200 200 200 200 200 200 200 200 200 200 200 200 
-200 200 200 200 200 200 200 200 200 200 200 200 
-200 200 200 200 200 200 200 200 200 200 200 200 
-200 200 200 200 200 200 200 200 200 200 200 200 
-200 200 200 200 200 200 200 200 200 200 200 200 

+ 0 - 14
raster/r.series.interp/test_suite/test_2_prec_3.ref

@@ -1,14 +0,0 @@
-north: 80
-south: 0
-east: 120
-west: 0
-rows: 8
-cols: 12
-300 300 300 300 300 300 300 300 300 300 300 300 
-300 300 300 300 300 300 300 300 300 300 300 300 
-300 300 300 300 300 300 300 300 300 300 300 300 
-300 300 300 300 300 300 300 300 300 300 300 300 
-300 300 300 300 300 300 300 300 300 300 300 300 
-300 300 300 300 300 300 300 300 300 300 300 300 
-300 300 300 300 300 300 300 300 300 300 300 300 
-300 300 300 300 300 300 300 300 300 300 300 300 

+ 0 - 14
raster/r.series.interp/test_suite/test_2_prec_4.ref

@@ -1,14 +0,0 @@
-north: 80
-south: 0
-east: 120
-west: 0
-rows: 8
-cols: 12
-400 400 400 400 400 400 400 400 400 400 400 400 
-400 400 400 400 400 400 400 400 400 400 400 400 
-400 400 400 400 400 400 400 400 400 400 400 400 
-400 400 400 400 400 400 400 400 400 400 400 400 
-400 400 400 400 400 400 400 400 400 400 400 400 
-400 400 400 400 400 400 400 400 400 400 400 400 
-400 400 400 400 400 400 400 400 400 400 400 400 
-400 400 400 400 400 400 400 400 400 400 400 400