<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi all,</p>
    <p>For what it's worth, I can open this file without problem.  I'm
      using:</p>
    <p>
      <blockquote type="cite">Config: v2.2.1.oga.1 little-endian
        readline grib2 netcdf hdf4-sds hdf5 opendap-grids,stn athena
        geotiff shapefile</blockquote>
      on a Mac.  My .netrc contains the same information as below
      (different username/password of course).  My .dodsrc file is also
      similar, but I think you need to remove the leading hash, and I
      use a leading dot (.netcdf and .dodsrc) in place of underscore
      (_netrc and _dodsrc)<br>
    </p>
    <p>
      <blockquote type="cite"># COOKIE_JAR=.dods_cookies<br>
        HTTP.NETRC=/Users/jimp/.netrc<br>
        HTTP.COOKIEJAR=/Users/jimp/.urs_cookies<br>
      </blockquote>
      Jim<br>
    </p>
    <div class="moz-cite-prefix">On 9/28/19 9:34 AM, avi kojokro wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFCfe=P1C_1dX_OL+DXoU3G9UorxUsLfnmCcJrhpgY=Fz6GxjQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="rtl">
        <div dir="ltr">Hi,</div>
        <div dir="ltr">I was trying to connect to <a
            href="https://goldsmr4.gesdisc.eosdis.nasa.gov/dods/"
            target="_blank" moz-do-not-send="true">this</a> site and it
          asked for login details. I have such details and I enter them
          correctly I am able to access the site. However, I couldn't
          access the same site using GrADS, probably because GrADS
          doesn't have the needed login details and consequently fails
          to authenticate. <br>
        </div>
        <div dir="ltr"><br>
        </div>
        <div dir="ltr">I talked with James <span class="gmail-gI"><span>Potemra
            </span></span>about it and he suggested to try <a
            href="https://disc.gsfc.nasa.gov/data-access#grads"
            moz-do-not-send="true">this</a>. However, in step 5 I get
          the following error in grads:</div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">Scanning self-describing file:  <a
              href="https://goldsmr4.gesdisc.eosdis.nasa.gov/dods/M2TMNXSLV"
              target="_blank" moz-do-not-send="true">https://goldsmr4.gesdisc.eosdis.nasa.gov/dods/M2TMNXSLV</a><span
              class="gmail-im"><br>
              syntax error, unexpected WORD_WORD, expecting SCAN_ATTR or
              SCAN_DATASET or SCAN_ERROR<br>
              context: HTTP^ Basic: Access denied.<br>
              sdfdeflev: nc_get_vara_double failed to read coordinate
              axis values<br>
               NetCDF: Authorization failure<br>
              gadsdf: Failed to define X coordinate values.</span></div>
        </blockquote>
        <div><br>
        </div>
        <div dir="ltr"> I get it when trying on both windows and a linux
          VM. <br>
        </div>
        <div dir="ltr"><br>
        </div>
        <div dir="ltr">The .netrc file contains the following:</div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr"><br>
            machine <a href="http://urs.earthdata.nasa.gov"
              moz-do-not-send="true">urs.earthdata.nasa.gov</a><br>
            login xxxxxx<br>
            password yyyyyy<br>
            machine <a href="http://goldsmr4.gesdisc.eosdis.nasa.gov"
              moz-do-not-send="true">goldsmr4.gesdisc.eosdis.nasa.gov</a><br>
            login xxxxxx <br>
            password  yyyyyy</div>
        </blockquote>
        <div> </div>
        <div dir="ltr">The .dodsrc file contains the following, on
          windows. (James wrote it needs to contain "remote OPeNDAP
          server access information". If that is the cause of the issue,
          what is the format?):</div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr"><br>
            #HTTP.NETRC="C:\Users\OWNER\_netrc"<br>
            #HTTP.COOKIEJAR="C:\Users\OWNER\_urs_cookies"</div>
        </blockquote>
        <div> </div>
        <div dir="ltr">The cookie file, after curl is run, contains the
          following (on windows, the base64 was modified for this
          email): <br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr"># Netscape HTTP Cookie File<br>
            # <a href="https://curl.haxx.se/docs/http-cookies.html"
              moz-do-not-send="true">https://curl.haxx.se/docs/http-cookies.html</a><br>
            # This file was generated by libcurl! Edit at your own risk.<br>
            <br>
            .<a href="http://earthdata.nasa.gov" moz-do-not-send="true">earthdata.nasa.gov</a>
            TRUE / FALSE 1568399835 urs_user_already_logged yes<br>
            #<a href="http://HttpOnly_urs.earthdata.nasa.gov"
              moz-do-not-send="true">HttpOnly_urs.earthdata.nasa.gov</a>
            FALSE / FALSE 1568399835 _urs-gui_session
            c5ad3b0da8eac8c3994ccda5c32a9fde<br>
            .<a href="http://nasa.gov" moz-do-not-send="true">nasa.gov</a>
            TRUE / FALSE 0 nasa_gesdisc_data_archive
eaweafpPJ2eERpdaefeOMyf5dsdafeaJVtEIEWSDFefwaMuPFD36eaeadHYuzievmLDSFWSF1XoXHTnXB8duM3+gshSDESTUmExUadCqWy0SEOxKdafeP9f6bs51XC48BhZaMuqMfLbARWEFDS342MA==<br>
          </div>
        </blockquote>
        <div> </div>
        <div dir="ltr">Has anyone encountered this issue and knows how
          to fix it? <br>
        </div>
        <div dir="ltr"> Avi</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
    </blockquote>
  </body>
</html>