<div dir="ltr">Hi Soeren, <div><br></div><div>yes, i've tested it... both the map and the strds are fine, in fact t.rast.mapcalc works just fine when i use a different map with the target strds and viceversa, when i use the map of maximums in question with a different strds... boh... </div>
<div><br></div><div>I tried again, but changing the name of the resulting maximum map to something that did not include any of the name of the strds...and it worked! </div><div><br></div><div>So, I guess there was maybe "interference" between map names and parsing method... is that possible? </div>
<div><br></div><div>Here the details with the real names and after changing the maximum name:  <a href="http://pastebin.com/PPVizfE2">http://pastebin.com/PPVizfE2</a> in case they are useful for further advice :)</div><div>
<br></div><div>Problem solved! I'm so sorry for bothering! and thank you very much for such a quick response and help!</div><div class="gmail_extra"><br></div><div class="gmail_extra">Best! :)</div><div class="gmail_extra">
Vero</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-27 19:13 GMT-03:00 Sören Gebbert <span dir="ltr"><<a href="mailto:soerengebbert@googlemail.com" target="_blank">soerengebbert@googlemail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Veronica,<br>
i have tested the strds/map comparison and it works for me with the<br>
latest grass7.1 build. Can you please check if the max_my_strds map<br>
exists and has valid values and that all maps in the strds exists and<br>
have valid values?<br>
<br>
Best regards<br>
Soeren<br>
<br>
2014-07-27 23:24 GMT+02:00 Veronica Andreo <<a href="mailto:veroandreo@gmail.com">veroandreo@gmail.com</a>>:<br>
<div class=""><div class="h5">> Hi Soeren, Markus and list,<br>
><br>
> I'm having trouble with t.rast.mapcalc... these are the commands I'm using:<br>
><br>
> # get the max value for each pixel in the strds<br>
> t.rast.series input=my_strds method=maximum output=max_my_strds<br>
><br>
> # then, i need to compare all values in the strds with the map of maximums<br>
> and whenever it's the same value, save the start_doy, otherwise null<br>
> t.rast.mapcalc -n inputs=my_strds output=date_max_my_strds \<br>
> expression="if(my_strds == max_my_strds,start_doy(),null())"<br>
> basename=date_max_my_strds<br>
><br>
> # to get a map with dates of maximum values afterwards<br>
> t.rast.series input=date_max_my_strds method=maximum<br>
> output=series_date_max_my_strds<br>
><br>
> This is the error I'm getting in newly compiled GRASS 7<br>
><br>
> Start temporal sampling<br>
> Start mapcalc computation<br>
> Invalid map <max_cla_hants25_corrected_1><br>
> Parse error<br>
> ERROR: parse error<br>
> ERROR: Error while mapcalc computation<br>
><br>
> However, when i follow the exact same steps, but using an older map of<br>
> maximums (created a month ago or so), it works just fine... that's the only<br>
> difference i've found... this used to work a couple of weeks ago...<br>
><br>
> Am I doing something wrong? Or is it no longer possible to compare all maps<br>
> in strds with a single map??? Please, help!<br>
><br>
> Thanks much in advance!<br>
><br>
> Best,<br>
> Vero<br>
</div></div></blockquote></div><br></div></div>