Changes between Initial Version and Version 12 of Ticket #2735
- Timestamp:
- 02/21/18 08:25:51 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2735
- Property Milestone 7.1.0 → 7.0.6
- Property Component Default → Temporal
- Property Keywords t.rast.mapcalc added
- Property Status new → reopened
-
Ticket #2735 – Description
initial v12 1 1 I'm facing a problem with an expression in the t.rast.mapcalc module which I think is a Bug... 2 2 3 {{{ 3 4 t.rast.mapcalc inputs=QA_mask,ndvi,ndvi_smooth_spacetime expression="if(QA_mask==0,ndvi,ndvi_smooth_spacetime)" output=ndvi_fixed basename=ndvi_fixed 4 5 It throws the following error: … … 9 10 ERROR: parse error 10 11 ERROR: Error while mapcalc computation 12 }}} 11 13 12 14 The QA_mask maps are: 15 16 {{{ 13 17 QA_mask_01|PERMANENT|2009-01-01 00:00:00|2009-01-17 00:00:00 14 18 QA_mask_02|PERMANENT|2009-01-17 00:00:00|2009-02-02 00:00:00 15 19 ...... 20 }}} 16 21 17 22 The ndvi_smooth_spacetime maps are: 23 24 {{{ 18 25 ndvi_smooth_spacetime_0|PERMANENT|2009-01-17 00:00:00|2009-02-02 00:00:00 19 26 ndvi_smooth_spacetime_1|PERMANENT|2009-02-02 00:00:00|2009-02-18 00:00:00 20 27 ........... 28 }}} 21 29 22 30 The ndvi maps are 31 32 {{{ 23 33 MOD13Q1.A2009001.h12v12.005.2009019145228_01_4326|PERMANENT|2009-01-01 00:00:00|2009-01-17 00:00:00 24 34 MOD13Q1.A2009017.h12v12.005.2009035110230_01_4326|PERMANENT|2009-01-17 00:00:00|2009-02-02 00:00:00 35 }}} 36 25 37 M 26 38 27 As you see, there is no such a map like.. MOD13Q1.A2009017.h12v12.005.2009035110230_01_4326_smooth_spacetime_0 39 As you see, there is no such a map like.. 40 41 {{{ 42 MOD13Q1.A2009017.h12v12.005.2009035110230_01_4326_smooth_spacetime_0 43 }}} 28 44 29 45 I guess the module is mixing ndvi (a temporal dataset) with _smooth_spacetime... the second part of the name....