TEST: add a test for otb conversion application (simpler than bandmath)

This commit is contained in:
Manuel Grizonnet 2016-08-23 18:43:43 +02:00 committed by Alexander Bruy
parent d4f410a307
commit 7b22f5d8da
2 changed files with 13 additions and 11 deletions

View File

@ -1,18 +1,20 @@
# See ../README.md for a description of the file format # See ../README.md for a description of the file format
tests: tests:
- algorithm: otb:bandmath
name: Test (otb:bandmath) - algorithm: otb:imageconversion
name: Test (otb:imageconversion)
params: params:
!!python/unicode '-exp': im1b1==826?255:0 -hcp.high: 2
!!python/unicode '-il': -hcp.low: 2
params: -in:
- name: raster.tif name: raster.tif
type: raster type: raster
type: multi -ram: 128
!!python/unicode '-ram': 128 -type: '1'
-type.linear.gamma: 1
results: results:
!!python/unicode '-out': -out:
hash: a8acb8da3cf40a156fe26f815588a7cbf8f3c8f6b3c226968b1eab1e hash: b3657f4d848b64f688db41638ea6d86d9de1d0a169bc1bafef8af82a
type: rasterhash type: rasterhash