<div dir="ltr"><div>Thaks<br>If it is a bug, I should fill a bug report so that some developer can fix it!<br><br></div>Cheers<br><br><div><div><div class="gmail_extra"><div class="gmail_quote">2015-09-09 15:17 GMT-03:00 Veronica Andreo <span dir="ltr"><<a href="mailto:veroandreo@gmail.com" target="_blank">veroandreo@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p dir="ltr">Hi Leo,</p>
<p dir="ltr">Yes, I had the same problem some time ago and the solution was to change the name, as you mentioned... </p>
<p dir="ltr">Maybe a bug? Dunno :)</p>
<p dir="ltr">Cheers, <br>
Vero</p>
<p dir="ltr"> </p>
<div class="gmail_quote"><div><div class="h5">El sep 9, 2015 3:05 PM, "Leonardo Hardtke" <<a href="mailto:leohardtke@gmail.com" target="_blank">leohardtke@gmail.com</a>> escribió:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>Dear GRASS users (and developers?!),<br><br></div>I'm facing a problem with an expression in the t.rast.mapcalc module... <br></div><div><br><div style="margin-left:40px">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<br></div></div><div><div style="display:inline-block"><div><span></span></div></div><div><div> </div> </div> <div><div dir="ltr" style="zoom:1"><span lang="en"><span>It throws</span> <span>the following error:</span></span></div></div></div><div><div style="margin-left:40px"><span style="color:rgb(255,0,0)">Starting temporal sampling...<br>Starting mapcalc computation...<br>Invalid map <MOD13Q1.A2009017.h12v12.005.2009035110230_01_4326_smooth_spacetime_0><br>Parse error<br>ERROR: parse error<br>ERROR: Error while mapcalc computation</span><br></div><br>The QA_mask maps are:<br>QA_mask_01|PERMANENT|2009-01-01 00:00:00|2009-01-17 00:00:00<br>QA_mask_02|PERMANENT|2009-01-17 00:00:00|2009-02-02 00:00:00<br>......<br><br></div><div>The ndvi_smooth_spacetime maps are:<br>ndvi_smooth_spacetime_0|PERMANENT|2009-01-17 00:00:00|2009-02-02 00:00:00<br>ndvi_smooth_spacetime_1|PERMANENT|2009-02-02 00:00:00|2009-02-18 00:00:00<br>...........<br><br></div><div>The ndvi maps are<br>MOD13Q1.A2009001.h12v12.005.2009019145228_01_4326|PERMANENT|2009-01-01 00:00:00|2009-01-17 00:00:00<br>MOD13Q1.A2009017.h12v12.005.2009035110230_01_4326|PERMANENT|2009-01-17 00:00:00|2009-02-02 00:00:00<br>M<br><br></div><div>As you see, there is no such a map like.. <span style="color:rgb(255,0,0)">MOD13Q1.A2009017.h12v12.005.2009035110230_01_4326_smooth_spacetime_0<br><br></span></div><div><span style="color:rgb(255,0,0)"><font color="#000000">I guess the module is mixing ndvi (a temporal dataset) with _smooth_spacetime... the second part of the name....<br><br></font></span></div><div><span style="color:rgb(255,0,0)"><font color="#000000">I know it work ok by renaming the ndvi_</font></span><span style="color:rgb(255,0,0)"><font color="#000000">smooth_spacetime by something else... but... is this a bug or shoul I use more '`" to protect names !?<br><br></font></span></div><div><span style="color:rgb(255,0,0)"><font color="#000000">Thanks!<br></font></span></div><div>-- <br><div><div>Dr. Leonardo A. Hardtke   <br>Laboratorio de Teledetección y S.I.G.  <br>Centro Nacional Patagónico (CONICET) <br>Bvd. Brown 2825, 9120 <br>Puerto Madryn, Chubut, Argentina </div></div>
</div></div>
<br></div></div>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br></blockquote></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Dr. Leonardo A. Hardtke   <br>Laboratorio de Teledetección y S.I.G.  <br>Centro Nacional Patagónico (CONICET) <br>Bvd. Brown 2825, 9120 <br>Puerto Madryn, Chubut, Argentina </div></div>
</div></div></div></div>