Hi Soeren, 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...
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! So, I guess there was maybe "interference" between map names and parsing method... is that possible? Here the details with the real names and after changing the maximum name: http://pastebin.com/PPVizfE2 in case they are useful for further advice :) Problem solved! I'm so sorry for bothering! and thank you very much for such a quick response and help! Best! :) Vero 2014-07-27 19:13 GMT-03:00 Sören Gebbert <[email protected]>: > Hi Veronica, > i have tested the strds/map comparison and it works for me with the > latest grass7.1 build. Can you please check if the max_my_strds map > exists and has valid values and that all maps in the strds exists and > have valid values? > > Best regards > Soeren > > 2014-07-27 23:24 GMT+02:00 Veronica Andreo <[email protected]>: > > Hi Soeren, Markus and list, > > > > I'm having trouble with t.rast.mapcalc... these are the commands I'm > using: > > > > # get the max value for each pixel in the strds > > t.rast.series input=my_strds method=maximum output=max_my_strds > > > > # 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 > > t.rast.mapcalc -n inputs=my_strds output=date_max_my_strds \ > > expression="if(my_strds == max_my_strds,start_doy(),null())" > > basename=date_max_my_strds > > > > # to get a map with dates of maximum values afterwards > > t.rast.series input=date_max_my_strds method=maximum > > output=series_date_max_my_strds > > > > This is the error I'm getting in newly compiled GRASS 7 > > > > Start temporal sampling > > Start mapcalc computation > > Invalid map <max_cla_hants25_corrected_1> > > Parse error > > ERROR: parse error > > ERROR: Error while mapcalc computation > > > > 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... > > > > Am I doing something wrong? Or is it no longer possible to compare all > maps > > in strds with a single map??? Please, help! > > > > Thanks much in advance! > > > > Best, > > Vero >
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
