Changes between Initial Version and Version 12 of Ticket #2735


Ignore:
Timestamp:
Feb 21, 2018, 8:25:51 AM (6 years ago)
Author:
martinl
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2735

    • Property Status newreopened
    • Property Component DefaultTemporal
    • Property Milestone 7.1.07.0.6
    • Property Keywords t.rast.mapcalc added
  • Ticket #2735 – Description

    initial v12  
    11I'm facing a problem with an expression in the t.rast.mapcalc module which I think is a Bug...
    22
     3{{{
    34t.rast.mapcalc inputs=QA_mask,ndvi,ndvi_smooth_spacetime expression="if(QA_mask==0,ndvi,ndvi_smooth_spacetime)" output=ndvi_fixed basename=ndvi_fixed
    45It throws the following error:
     
    910ERROR: parse error
    1011ERROR: Error while mapcalc computation
     12}}}
    1113
    1214The QA_mask maps are:
     15
     16{{{
    1317QA_mask_01|PERMANENT|2009-01-01 00:00:00|2009-01-17 00:00:00
    1418QA_mask_02|PERMANENT|2009-01-17 00:00:00|2009-02-02 00:00:00
    1519......
     20}}}
    1621
    1722The ndvi_smooth_spacetime maps are:
     23
     24{{{
    1825ndvi_smooth_spacetime_0|PERMANENT|2009-01-17 00:00:00|2009-02-02 00:00:00
    1926ndvi_smooth_spacetime_1|PERMANENT|2009-02-02 00:00:00|2009-02-18 00:00:00
    2027...........
     28}}}
    2129
    2230The ndvi maps are
     31
     32{{{
    2333MOD13Q1.A2009001.h12v12.005.2009019145228_01_4326|PERMANENT|2009-01-01 00:00:00|2009-01-17 00:00:00
    2434MOD13Q1.A2009017.h12v12.005.2009035110230_01_4326|PERMANENT|2009-01-17 00:00:00|2009-02-02 00:00:00
     35}}}
     36
    2537M
    2638
    27 As you see, there is no such a map like.. MOD13Q1.A2009017.h12v12.005.2009035110230_01_4326_smooth_spacetime_0
     39As you see, there is no such a map like..
     40
     41{{{
     42MOD13Q1.A2009017.h12v12.005.2009035110230_01_4326_smooth_spacetime_0
     43}}}
    2844
    2945I guess the module is mixing ndvi (a temporal dataset) with _smooth_spacetime... the second part of the name....