File: grass7_algorithms_imagery_tests.yaml

package info (click to toggle)
qgis 2.18.28%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,007,948 kB
  • sloc: cpp: 671,774; python: 158,539; xml: 35,690; ansic: 8,346; sh: 1,766; perl: 1,669; sql: 999; yacc: 836; lex: 461; makefile: 292
file content (620 lines) | stat: -rw-r--r-- 17,946 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
# See ../README.md for a description of the file format

tests:
# i.* modules
  - algorithm: grass7:i.emissivity
    name: GRASS7 i.emissivity
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      input:
        type: raster
        name: custom/grass7/raster_4class.tif
    results:
      output:
        type: rasterhash
        hash: cef69ed56f0b0f991ae2f7f2a54b8a29319eaf8b7d65653c75cbf985

  - algorithm: grass7:i.biomass
    name: GRASS7 i.biomass
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      dayofyear:
        name: custom/grass7/raster_4class.tif
        type: raster
      fpar:
        name: custom/grass7/raster_4class.tif
        type: raster
      latitude:
        name: custom/grass7/raster_4class.tif
        type: raster
      lightuse_efficiency:
        name: custom/grass7/raster_4class.tif
        type: raster
      transmissivity_singleway:
        name: custom/grass7/raster_4class.tif
        type: raster
      water_availability:
        name: custom/grass7/raster_4class.tif
        type: raster
    results:
      output:
        hash: 358c7745aaa5d7fbc56b34a21821fdfdc61f68e6ca79fb996a2241d8
        type: rasterhash
        
  - algorithm: grass7:i.eb.eta
    name: GRASS7 i.eb.eta
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      evaporativefraction:
        name: custom/grass7/raster_4class.tif
        type: raster
      netradiationdiurnal:
        name: custom/grass7/raster_4class.tif
        type: raster
      temperature:
        name: custom/grass7/raster_4class.tif
        type: raster
    results:
      output:
        hash: 23e65e4c5384b48d7151f781bab10e5caa398b36d363ff8c1049c917
        type: rasterhash
        
  - algorithm: grass7:i.eb.netrad
    name: GRASS7 i.eb.netrad
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      albedo:
        name: custom/grass7/raster_4class.tif
        type: raster
      dayofyear:
        name: custom/grass7/raster_4class.tif
        type: raster
      emissivity:
        name: custom/grass7/raster_4class.tif
        type: raster
      localutctime:
        name: custom/grass7/raster_4class.tif
        type: raster
      ndvi:
        name: custom/grass7/raster_4class.tif
        type: raster
      sunzenithangle:
        name: custom/grass7/raster_4class.tif
        type: raster
      temperature:
        name: custom/grass7/raster_4class.tif
        type: raster
      temperaturedifference2m:
        name: custom/grass7/raster_4class.tif
        type: raster
      transmissivity_singleway:
        name: custom/grass7/raster_4class.tif
        type: raster
    results:
      output:
        hash: 361d48c66d978d4844ae7c073c9e6d042fdc8c7739b889a1efce3c3f
        type: rasterhash

  - algorithm: grass7:i.eb.soilheatflux
    name: GRASS7 i.eb.soilheatflux
    params:
      -r: 'False'
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      albedo:
        name: custom/grass7/raster_4class.tif
        type: raster
      localutctime:
        name: custom/grass7/raster_4class.tif
        type: raster
      ndvi:
        name: custom/grass7/raster_4class.tif
        type: raster
      netradiation:
        name: custom/grass7/raster_4class.tif
        type: raster
      temperature:
        name: custom/grass7/raster_4class.tif
        type: raster
    results:
      output:
        hash: a25c4b750dd1f2f2124a117c80ac3f0e3d9b353618a86389eca794e8
        type: rasterhash
        
  - algorithm: grass7:i.evapo.mh
    name: GRASS7 i.evapo.mh
    params:
      -h: 'True'
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      average_temperature:
        name: custom/grass7/raster_4class.tif
        type: raster
      maximum_temperature:
        name: custom/grass7/raster_4class.tif
        type: raster
      minimum_temperature:
        name: custom/grass7/raster_4class.tif
        type: raster
      netradiation_diurnal:
        name: custom/grass7/raster_4class.tif
        type: raster
    results:
      output:
        hash: b0211772fe8e2c3d8c713551137f014756eb63ccd12f95a322f63ce0
        type: rasterhash

  - algorithm: grass7:i.evapo.pm
    name: GRASS7 i.evapo.pm
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      cropheight:
        name: custom/grass7/raster_4class.tif
        type: raster
      elevation:
        name: custom/grass7/raster_4class.tif
        type: raster
      netradiation:
        name: custom/grass7/raster_4class.tif
        type: raster
      relativehumidity:
        name: custom/grass7/raster_4class.tif
        type: raster
      temperature:
        name: custom/grass7/raster_4class.tif
        type: raster
      windspeed:
        name: custom/grass7/raster_4class.tif
        type: raster
    results:
      output:
        hash: 419ae792b057d2324354ce76d971d01e36751cf1c45cf3d856634576
        type: rasterhash

  - algorithm: grass7:i.evapo.pt
    name: GRASS7 i.evapo.pt
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      air_temperature:
        name: custom/grass7/raster_4class.tif
        type: raster
      atmospheric_pressure:
        name: custom/grass7/raster_4class.tif
        type: raster
      net_radiation:
        name: custom/grass7/raster_4class.tif
        type: raster
      priestley_taylor_coeff: 1.26
      soil_heatflux:
        name: custom/grass7/raster_4class.tif
        type: raster
    results:
      output:
        hash: b0211772fe8e2c3d8c713551137f014756eb63ccd12f95a322f63ce0
        type: rasterhash

  - algorithm: grass7:i.topo.coor.ill
    name: GRASS7 i.topo.coor.ill
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      azimuth: 50
      basemap:
        name: custom/grass7/raster_4class.tif
        type: raster
      zenith: 50
    results:
      output:
        hash: b08dc5b47f557ecadf0c125c99f249e49111c44e43f463c2444ab474
        type: rasterhash
        
  - algorithm: grass7:i.vi
    name: GRASS7 i.vi
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      nir:
        name: custom/grass7/raster_4class.tif
        type: raster
      red:
        name: custom/grass7/raster_4class.tif
        type: raster
      storage_bit: 1
      viname: 10
    results:
      output:
        hash: b0211772fe8e2c3d8c713551137f014756eb63ccd12f95a322f63ce0
        type: rasterhash

  - algorithm: grass7:i.zc
    name: GRASS7 i.zc
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      input:
        name: custom/grass7/raster_4class.tif
        type: raster
      orientations: 1
      threshold: 10
      width: 9
    results:
      output:
        hash: 270bbef9dd111af5df23a819cb0848e104e0cf4949e794a67fa0b3f2
        type: rasterhash

  - algorithm: grass7:i.group
    name: GRASS7 i.group
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      input:
        type: multi
        params:
        - name: custom/grass7/raster_6class.tif
          type: raster
        - name: custom/grass7/raster_5class.tif
          type: raster
        - name: custom/grass7/raster_4class.tif
          type: raster
    results:
      group:
        hash: e1a433546cc1fdf7061adc0d9b77676c9d66ee8e0773d471bdb39a37
        type: rasterhash
        
  - algorithm: grass7:i.cluster
    name: GRASS7 i.cluster
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      classes: 5
      convergence: 98
      input:
        params:
        - name: custom/grass7/raster_6class.tif
          type: raster
        - name: custom/grass7/raster_5class.tif
          type: raster
        - name: custom/grass7/raster_4class.tif
          type: raster
        type: multi
      iterations: 30
      min_size: 17
      separation: 0
    results:
      signaturefile:
        type: regex
        name: expected/grass7/i.cluster.sig.txt
        rules:
          - '#Class 1'
          - '1.83333 1.53759 3.31579'
          - '#Class 2'
          - '2.11045 4.35498 3.32266'
          - '#Class 3'
          - '5.32655 1.72558 3.32713'
          - '#Class 4'
          - '4.34567 4.36522 3.30235'
          - '#Class 5'
          - '6 4.55734 3.30291'

  - algorithm: grass7:i.oif
    name: GRASS7 i.oif
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      input:
        params:
        - name: custom/grass7/float_raster.tif
          type: raster
        - name: custom/grass7/raster_6class.tif
          type: raster
        - name: custom/grass7/raster_5class.tif
          type: raster
        - name: custom/grass7/raster_4class.tif
          type: raster
        type: multi
    results:
      output:
        type: regex
        name: expected/grass7/i.oif.txt
        rules:
          - '118773.1947'
          - '4541.9055'
          - '4369.2930'
          - '128.6900'

# this doesn't work in travis-ci environment (probably due to libfftw version).
#  - algorithm: grass7:i.fft
#    name: GRASS7 i.fft
#    params:
#      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
#      input:
#        name: custom/grass7/float_raster.tif
#        type: raster
#    results:
#      imaginary:
#        hash: 94249384dd8b6019f0024501bc9a093cba9dd025c183d3fb46d77027
#        type: rasterhash
#      real:
#        hash: 09ab93c65aa2dde4da422b62a5ed3e38208e2da072cec2b0eb837a47
#        type: rasterhash

  - algorithm: grass7:i.segment
    name: GRASS7 i.segment
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      input:
        params:
        - name: custom/grass7/raster_6class.tif
          type: raster
        - name: custom/grass7/raster_5class.tif
          type: raster
        - name: custom/grass7/raster_4class.tif
          type: raster
        type: multi
      iterations: 20
      memory: 300
      method: 0
      minsize: 1
      similarity: 0
      threshold: 0.5
    results:
      goodness:
        hash: 4d7728e28734d2b67427a514bcd155d254d30b3424bf4e0ad8f0f0c6
        type: rasterhash
      output:
        hash: b65992a5d48b867d4a32a533f38e7a72cb1ba18f1e261c6be132baca
        type: rasterhash

  - algorithm: grass7:i.gensig
    name: GRASS7 i.gensig
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      input:
        params:
        - name: custom/grass7/float_raster.tif
          type: raster
        type: multi
      trainingmap:
        name: custom/grass7/raster_4class.tif
        type: raster
    results:
      signaturefile:
        type: file
        name: expected/grass7/i.gensig.txt

  - algorithm: grass7:i.gensigset
    name: GRASS7 i.gensigset
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      input:
        params:
        - name: custom/grass7/float_raster.tif
          type: raster
        type: multi
      maxsig: 5
      trainingmap:
        name: custom/grass7/raster_4class.tif
        type: raster
    results:
      signaturefile:
        type: file
        name: expected/grass7/i.gensigset.txt

  - algorithm: grass7:i.rgb.his
    name: GRASS7 i.rgb.his
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      blue:
        name: custom/grass7/raster_6class.tif
        type: raster
      green:
        name: custom/grass7/raster_5class.tif
        type: raster
      red:
        name: custom/grass7/raster_4class.tif
        type: raster
    results:
      hue:
        hash: d82c717b0aca5c7bb49d6f2b086a188a6fbdc397c533734911261f74
        type: rasterhash
      intensity:
        hash: 6d75d7a40460611301a1f2c2b162d08ae20fb5527d80509f19748b3c
        type: rasterhash
      saturation:
        hash: 07578ad38cf948473a519f040acb0235f60a592904ac8ef46aa607e1
        type: rasterhash
        
  - algorithm: grass7:i.pansharpen
    name: GRASS7 i.pansharpen
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      blue:
        name: custom/grass7/raster_4class.tif
        type: raster
      green:
        name: custom/grass7/raster_5class.tif
        type: raster
      method: 2
      pan:
        name: custom/grass7/float_raster.tif
        type: raster
      red:
        name: custom/grass7/raster_6class.tif
        type: raster
    results:
      blueoutput:
        hash: 906de8be89e302057ed849d00eaf49332ecca73ffaba1374994f1a17
        type: rasterhash
      greenoutput:
        hash: 588ad1ef8360ce903fc2defb1a1728a1dc8335d737d5fa77797605ed
        type: rasterhash
      redoutput:
        hash: ad80c0007faa1b0dc15c0b0c21ff4e0045ff5e67b454df0f65e68899
        type: rasterhash

  - algorithm: grass7:i.smap
    name: GRASS7 i.smap
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      blocksize: 1024
      input:
        params:
        - name: custom/grass7/float_raster.tif
          type: raster
        type: multi
      signaturefile:
        type: file
        name: expected/grass7/i.gensigset.txt
    results:
      goodness:
        hash: 26c3f407312e8a9e03e91c32e526f71ea9cfa78037a90a5f78f0818e
        type: rasterhash
      output:
        hash: f9e99ac3891b23c650add0478bb5225444183c61c6a4c321a7c2a16f
        type: rasterhash

  - algorithm: grass7:i.maxlik
    name: GRASS7 i.maxlik
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      input:
        params:
        - name: custom/grass7/raster_6class.tif
          type: raster
        - name: custom/grass7/raster_5class.tif
          type: raster
        - name: custom/grass7/raster_4class.tif
          type: raster
        type: multi
      signaturefile:
        type: file
        name: custom/grass7/i.cluster.txt
    results:
      output:
        hash: a7b63bdda06fdcac715b8fe22e440238594a3dd0e189ca2328a3d694
        type: rasterhash
      reject:
        hash: 87b3d0be1315a040a61c4d4dec2bd5837881ad207a4140a89a28997a
        type: rasterhash

#  - algorithm: grass7:i.evapo.time
#    name: GRASS7 i.evapo.time
#    params:
#      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
#      eta:
#        params:
#        - name: custom/grass7/raster_5class.tif
#          type: raster
#        - name: custom/grass7/raster_4class.tif
#          type: raster
#        type: multi
#      eta_doy:
#        params:
#        - name: custom/grass7/raster_6class.tif
#          type: raster
#        - name: custom/grass7/raster_5class.tif
#          type: raster
#        type: multi
#      eto:
#        params:
#        - name: custom/grass7/float_raster.tif
#          type: raster
#        - name: custom/grass7/raster_6class.tif
#          type: raster
#        type: multi
#    results:
#      output:
#        hash: a361b729bf0b0628fa66822297dc57e71e0b2e56331f7145c3cfdce6
#        type: rasterhash

  - algorithm: grass7:i.eb.hsebal01
    name: GRASS7 i.eb.hsebal01
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      aerodynresistance:
        name: custom/grass7/raster_6class.tif
        type: raster
      frictionvelocitystar: 0.32407
      netradiation:
        name: custom/grass7/raster_4class.tif
        type: raster
      soilheatflux:
        name: custom/grass7/raster_5class.tif
        type: raster
      temperaturemeansealevel:
        name: custom/grass7/float_raster.tif
        type: raster
      vapourpressureactual: 1.511
    results:
      output:
        hash: cac9e91f9b5182fbad336fd46ecebcf5185327e009ae8dc4cc0367fc
        type: rasterhash
        
  - algorithm: grass7:i.modis.qc
    name: GRASS7 i.modis.qc
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      input:
        name: custom/grass7/float_raster.tif
        type: raster
      productname: 8
      qcname: 5
    results:
      output:
        hash: 0439e59b8c142a7f58cdece674c058891b64aafb1273ed6ce5e3ecf9
        type: rasterhash

  - algorithm: grass7:i.image.mosaic
    name: GRASS7 i.image.mosaic
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      input:
        params:
        - name: custom/grass7/raster_6class.tif
          type: raster
        - name: custom/grass7/raster_5class.tif
          type: raster
        - name: custom/grass7/raster_4class.tif
          type: raster
        type: multi
    results:
      output:
        hash: 651bde2da0f150c0dbe7790da98f371e56de20a3f1cbb13ef6a69657
        type: rasterhash

  - algorithm: grass7:i.eb.hsebal01.coords
    name: GRASS7 i.eb.hsebal01.coords
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      aerodynresistance:
        name: custom/grass7/float_raster.tif
        type: raster
      column_dry_pixel: '50'
      column_wet_pixel: '10'
      frictionvelocitystar: 0.32407
      netradiation:
        name: custom/grass7/float_raster.tif
        type: raster
      row_dry_pixel: '50'
      row_wet_pixel: '10'
      soilheatflux:
        name: custom/grass7/float_raster.tif
        type: raster
      temperaturemeansealevel:
        name: custom/grass7/float_raster.tif
        type: raster
      vapourpressureactual: 1.511
    results:
      output:
        hash: b0211772fe8e2c3d8c713551137f014756eb63ccd12f95a322f63ce0
        type: rasterhash

  - algorithm: grass7:i.atcorr
    name: GRASS7 i.atcorr
    params:
      GRASS_REGION_PARAMETER: '344500.0,358400.0,6682800.0,6693700.0'
      input:
        name: custom/grass7/raster_6class.tif
        type: raster
      visibility:
        name: custom/grass7/raster_5class.tif
        type: raster
      parameters:
        type: file
        name: custom/grass7/i.atcorr.txt
    results:
      output:
        hash: e5fada2ec43658e25a34d0486e810dec1cad289b626f6d1c4bbfea18
        type: rasterhash