<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Jennifer,<br>
    <br>
    I'm still not sure how is Lucas change in the API going to help you
    Jennifer. But perhaps it would help me to fully understand your
    requirement as well as your use of wget when using the FTP&nbsp;
    protocol.<br>
    <br>
    I presume what you want is to crawl the archive and get file from a
    specific directory structure?<br>
    Maybe it would be better if you just describe briefly the procedure
    you've been using for getting the CMIP3 data so we can see what
    could be done for CMIP5.<br>
    <br>
    How did you find out which data was interesting?<br>
    How did you find out which files were required to be downloaded?<br>
    How did you tell wget to download those files?<br>
    <br>
    We might have already some way of achieving what you want, if we
    knew exactly what that is.<br>
    <br>
    I guess my proposal of issuing:<br>
    bash &lt;(wget <a class="moz-txt-link-freetext"
href="http://p2pnode/wgetscript?experiment=decadal1960&amp;realm=atmos&amp;time_frequency=month&amp;variable=clt">http://p2pnode/wget?experiment=decadal1960&amp;realm=atmos&amp;time_frequency=month&amp;variable=clt</a>
    -qO - | grep -v HadCM3)<br>
    <br>
    was not acceptable to you. But I still don't know exactly why. <br>
    It would really help to know what you meant by "elegant use of wget".<br>
    <br>
    Thanks,<br>
    Estani<br>
    <br>
    <br>
    Am 14.12.2011 18:44, schrieb Cinquini, Luca (3880):
    <blockquote
      cite="mid:003B320D-938C-4269-91D4-BF083FFAA5CF@jpl.nasa.gov"
      type="cite">So Jennifer, would having the capability of doing
      negative searches (model=!CCSM), and generate the corresponding
      wget scripts, help you ?
      <div>thanks, Luca</div>
      <div><br>
        <div>
          <div>On Dec 14, 2011, at 10:38 AM, Jennifer Adams wrote:</div>
          <br class="Apple-interchange-newline">
          <blockquote type="cite">
            <div style="word-wrap: break-word; -webkit-nbsp-mode: space;
              -webkit-line-break: after-white-space; ">Well, after
              working from the client side to get CMIP3 and CMIP5
              data,&nbsp;I can say that wget is a fine tool to rely on at the
              core of the workflow. Unfortunately, the step up in
              complexity from CMIP3 to CMIP5 and the switch from FTP to
              HTTP trashed the elegant use of wget. No amount of
              customized wrapper software, browser interfaces, or
              pre-packaged tools like DML fixes that problem.&nbsp;
              <div><br>
              </div>
              <div>At the moment, the burden on the user is
                embarrassingly high. It's so easy to suggest that the
                user should "filter to remove what is not required" from
                a downloaded script, but the actual pratice of doing
                that in a timely and automated and distributed way is
                NOT simple! And if the solution to my problem of filling
                in the gaps in my incomplete collection is to go back to
                clicking in my browser and do the whole thing over again
                but make my filters smarter by looking for what's
                already been acquired or what has a new version number &#8230;
                this is unacceptable. The filtering must be a
                server-side responsibility and the interface must be
                accessible by automated scripts. Make it so!&nbsp;</div>
              <div><br>
              </div>
              <div>By the way, the version number is a piece of metadata
                that is not in the downloaded files or the gateway's
                search criteria. It appears in the wget script as part
                of the path in the file's http location, but the path is
                not preserved after the wget is complete, so it is
                effectively lost after the download is done. I guess the
                file's date stamp would be the only way to know if the
                version number of the data file in question has been
                changed, but I'm not going to write that check into my
                filtering scripts.&nbsp;</div>
              <div><br>
              </div>
              <div>--Jennifer</div>
              <div><br>
              </div>
              <div><br>
              </div>
              <div>
                <div>
                  <div>
                    <div>
                      <div apple-content-edited="true">
                        <span class="Apple-style-span"
                          style="border-collapse: separate;
                          -webkit-border-horizontal-spacing: 0px;
                          -webkit-border-vertical-spacing: 0px;
                          font-family: Helvetica; font-size: 12px;
                          font-style: normal; font-variant: normal;
                          font-weight: normal; letter-spacing: normal;
                          line-height: normal;
                          -webkit-text-decorations-in-effect: none;
                          text-indent: 0px; -webkit-text-size-adjust:
                          auto; text-transform: none; orphans: 2;
                          white-space: normal; widows: 2; word-spacing:
                          0px; "><span class="Apple-style-span"
                            style="border-collapse: separate;
                            -webkit-border-horizontal-spacing: 0px;
                            -webkit-border-vertical-spacing: 0px;
                            font-family: Helvetica; font-size: 12px;
                            font-style: normal; font-variant: normal;
                            font-weight: normal; letter-spacing: normal;
                            line-height: normal;
                            -webkit-text-decorations-in-effect: none;
                            text-indent: 0px; -webkit-text-size-adjust:
                            auto; text-transform: none; orphans: 2;
                            white-space: normal; widows: 2;
                            word-spacing: 0px; "><span
                              class="Apple-style-span"
                              style="border-collapse: separate;
                              -webkit-border-horizontal-spacing: 0px;
                              -webkit-border-vertical-spacing: 0px;
                              font-family: Helvetica; font-size: 12px;
                              font-style: normal; font-variant: normal;
                              font-weight: normal; letter-spacing:
                              normal; line-height: normal;
                              -webkit-text-decorations-in-effect: none;
                              text-indent: 0px;
                              -webkit-text-size-adjust: auto;
                              text-transform: none; orphans: 2;
                              white-space: normal; widows: 2;
                              word-spacing: 0px; ">
                              <div>--</div>
                              <div>Jennifer M. Adams</div>
                              <div>IGES/COLA</div>
                              <div>4041 Powder Mill Road, Suite 302</div>
                              <div>Calverton, MD 20705</div>
                              <div><a moz-do-not-send="true"
                                  href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div>
                              <div><br class="khtml-block-placeholder">
                              </div>
                              <br class="Apple-interchange-newline">
                            </span></span></span>
                      </div>
                      <br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            _______________________________________________<br>
            GO-ESSP-TECH mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:GO-ESSP-TECH@ucar.edu">GO-ESSP-TECH@ucar.edu</a><br>
            <a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/go-essp-tech">http://mailman.ucar.edu/mailman/listinfo/go-essp-tech</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
GO-ESSP-TECH mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GO-ESSP-TECH@ucar.edu">GO-ESSP-TECH@ucar.edu</a>
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/go-essp-tech">http://mailman.ucar.edu/mailman/listinfo/go-essp-tech</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Estanislao Gonzalez

Max-Planck-Institut f&uuml;r Meteorologie (MPI-M)
Deutsches Klimarechenzentrum (DKRZ) - German Climate Computing Centre
Room 108 - Bundesstrasse 45a, D-20146 Hamburg, Germany

Phone:   +49 (40) 46 00 94-126
E-Mail:  <a class="moz-txt-link-abbreviated" href="mailto:gonzalez@dkrz.de">gonzalez@dkrz.de</a> </pre>
  </body>
</html>