<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#333333">
    <p>Hello,</p>
    <p><br>
    </p>
    <p>Thank you very much Vero and Micha, It's exactly what I was
      looking for ! That's great !<br>
    </p>
    <p><br>
    </p>
    <p>Cheers,</p>
    <p>Frank<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">
      <style>
div#signature {font-size:10px;color:#666;margin:10px 0}
div.nom {font-weight:bold}
div.titre {}
div.geophom {font-size:11px;font-weight:bold;color:#A1CD1A;margin-top:10px}
div#voeux {font-size:10px;margin-top:10px}</style>Le 26/05/2019 à 12:11,
      Micha Silver a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:dd67d05d-da07-5f19-14f5-a806b586dd24@gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
      <br>
      <div class="moz-cite-prefix">On 26/05/2019 7:02, Veronica Andreo
        wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:CAAMki4HG7RYR-qnirOB7ctXOpfTUQrHZPsfo3MQVwuqWFz3=2Q@mail.gmail.com">
        <meta http-equiv="content-type" content="text/html;
          charset=UTF-8">
        <div dir="auto">
          <div>Hi Frank<br>
            <br>
            <div class="gmail_quote">
              <div dir="ltr" class="gmail_attr">El sáb., 25 may. 2019
                22:51, Frank David <<a
                  href="mailto:frank.david@geophom.fr"
                  moz-do-not-send="true">frank.david@geophom.fr</a>>
                escribió:<br>
              </div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi
                all,<br>
                <br>
                I would like to identify the raster, in a r.series
                calculation for min <br>
                (or max), where the result is coming from.<br>
                <br>
                Is there a way to do so ?<br>
              </blockquote>
            </div>
          </div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">max_raster, min_raster in r.series will give
            you the index of the raster map in the series containing
            either max or min values</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">Is that what you need?</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">Vero</div>
        </div>
      </blockquote>
      <p><br>
      </p>
      <p>Hello Frank:</p>
      <p><br>
      </p>
      <p>I used Vero's suggestion in a script I was working on some
        months ago: I had a list of rasters, each represented a
        "station_id". I used g.list to create the list of raster names,
        and fed that into r.series input=<list> method=max_raster.</p>
      <p>Then I used r.reclass to get back the station_id from the list
        index. I had a text file with matches between the index of the
        raster in the list, and it's actual "station_id". So r.reclass
        returned a raster with each pixel value being the station_id of
        the maximum raster in the list.</p>
      <p>HTH</p>
      <p><br>
      </p>
      <blockquote type="cite"
cite="mid:CAAMki4HG7RYR-qnirOB7ctXOpfTUQrHZPsfo3MQVwuqWFz3=2Q@mail.gmail.com">
        <div dir="auto">
          <div dir="auto">
            <div class="gmail_quote">
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
                Thank you<br>
                <br>
                Frank<br>
                <br>
                _______________________________________________<br>
                grass-user mailing list<br>
                <a href="mailto:grass-user@lists.osgeo.org"
                  target="_blank" rel="noreferrer"
                  moz-do-not-send="true">grass-user@lists.osgeo.org</a><br>
                <a
                  href="https://lists.osgeo.org/mailman/listinfo/grass-user"
                  rel="noreferrer noreferrer" target="_blank"
                  moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/grass-user</a></blockquote>
            </div>
          </div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <pre class="moz-quote-pre" wrap="">_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org" moz-do-not-send="true">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/grass-user" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/grass-user</a></pre>
      </blockquote>
      <pre class="moz-signature" cols="72">-- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918</pre>
    </blockquote>
  </body>
</html>