<div dir="ltr">Hi Soeren, Markus and list, <div><br></div><div>I'm having trouble with t.rast.mapcalc... these are the commands I'm using:</div><div><br></div><div># get the max value for each pixel in the strds</div>
<div><div>t.rast.series input=my_strds method=maximum output=max_my_strds</div><div><br></div><div># then, i need to compare all values in the strds with the map of maximums and whenever it's the same value, save the start_doy, otherwise null</div>
<div>t.rast.mapcalc -n inputs=my_strds output=date_max_my_strds \</div><div><span class="" style="white-space:pre"> </span>expression="if(my_strds == max_my_strds,start_doy(),null())" basename=date_max_my_strds </div>
<div><br></div><div># to get a map with dates of maximum values afterwards</div><div>t.rast.series input=date_max_my_strds method=maximum output=series_date_max_my_strds</div><div><br></div><div>This is the error I'm getting in newly compiled GRASS 7</div>
<div> </div></div><div><div>Start temporal sampling</div><div>Start mapcalc computation</div><div>Invalid map <max_cla_hants25_corrected_1></div><div>Parse error</div><div>ERROR: parse error</div><div>ERROR: Error while mapcalc computation</div>
</div><div><br></div><div>However, when i follow the exact same steps, but using an older map of maximums (created a month ago or so), it works just fine... that's the only difference i've found... this used to work a couple of weeks ago...</div>
<div><br></div><div>Am I doing something wrong? Or is it no longer possible to compare all maps in strds with a single map??? Please, help! </div><div><br></div><div>Thanks much in advance!</div><div><br></div><div>Best, </div>
<div>Vero</div></div>