<div dir="ltr"><div class="gmail_default" style="font-size:small">Dave,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I didn&#39;t see any response to this. Was it ever resolved?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The issue is that these files are not being served by an OPeNDAP server, and hence you can&#39;t open them with an OPeNDAP-enabled client.<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 4, 2015 at 3:29 PM, Vollaro, David <span dir="ltr">&lt;<a href="mailto:dvollaro@albany.edu" target="_blank">dvollaro@albany.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi,</p>
<p><br>
</p>
<p>I am trying to read an ECMWF dataset from the NCAR RDA THREDDS servver using NCL.</p>
<p>I am using the example OPENDAP script from NCL but am having trouble accessing the data.</p>
<p><br>
</p>
<p>The snippet of the NCL script I am using is below, as is the link to the datasset I am trying to access.</p>
<p>I have sucessfully accessed data using OPENDAP before, so I am hoping that it is just an incorrecct</p>
<p>link-id.  I am running 6.1.2...Thanks...</p>
<p><br>
</p>
<p>Dave Vollaro</p>
<p><br>
</p>
<p>--------------- code snippet --------------</p>
<p>  url = &quot;<a href="http://rda.ucar.edu/thredds/fileServer/aggregations/e/ds627.0/15/" target="_blank">http://rda.ucar.edu/thredds/fileServer/aggregations/e/ds627.0/15/</a>&quot;<br>
filename = url + &quot;ERA_Interim_atmospheric_model_forecast_for_surface-198808/files/ei.oper.fc.sfc.regn128sc.1988080100&quot;<br>
print(filename)<br>
;***********************************************<br>
;  DATA SOURCE<br>
;***********************************************<br>
<br>
  exists = isfilepresent(filename)<br>
  if(.not.exists) then <br>
    print(&quot;OPeNDAP isfilepresent test unsuccessful.&quot;)<br>
    print(&quot;File doesn&#39;t exist or NCL doesn&#39;t have OPeNDAP ability on this system&quot;)<br>
  else<br>
    print(&quot;OPeNDAP isfilepresent test successful.&quot;)<br>
    file_nc = addfile(filename,&quot;r&quot;)<br>
  end if<br>
  names = getfilevarnames(file_nc)          ;Get the variable names in the<br>
  print(names)                               ;GRIB file and print them out.<br>
end</p>
<p><br>
</p>
<p>--------- end snippet-------</p>
<p>  link:<br>
<a title="Ctrl+Click or tap to follow the link" href="http://rda.ucar.edu/thredds/catalog/aggregations/e/ds627.0/15/ERA_Interim_atmospheric_model_forecast_for_surface-198808/catalog.html?dataset=aggregations/e/ds627.0/15/ERA_Interim_atmospheric_model_forecast_for_surface-198808/files/ei.oper.fc.sfc.regn128sc.1988080100" target="_blank">http://rda.ucar.edu/thredds/catalog/aggregations/e/ds627.0/15/ERA_Interim_atmospheric_model_forecast_for_surface-198808/catalog.html?dataset=aggregations/e/ds627.0/15/ERA_Interim_atmospheric_model_forecast_for_surface-198808/files/ei.oper.fc.sfc.regn128sc.1988080100</a><br>
  <br>
</p>
<p><br>
</p>
<p>error:</p>
<p>(0)     <a href="http://rda.ucar.edu/thredds/fileServer/aggregations/e/ds627.0/15/ERA_Interim_atmospheric_model_forecast_for_surface-198808/files/ei.oper.fc.sfc.regn128sc.1988080100" target="_blank">http://rda.ucar.edu/thredds/fileServer/aggregations/e/ds627.0/15/ERA_Interim_atmospheric_model_forecast_for_surface-198808/files/ei.oper.fc.sfc.regn128sc.1988080100</a><br>
syntax error, unexpected WORD_WORD, expecting SCAN_ATTR or SCAN_DATASET or SCAN_ERROR<br>
context: &lt;html^&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/7.0.63 - Error report&lt;/title&gt;&lt;style&gt;&lt;!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
 H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
 {color : black;}A.name {color : black;}HR {color : #525D76;}--&gt;&lt;/style&gt; &lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTTP Status 401 - &lt;/h1&gt;&lt;HR size=&quot;1&quot; noshade=&quot;noshade&quot;&gt;&lt;p&gt;&lt;b&gt;type&lt;/b&gt; Status report&lt;/p&gt;&lt;p&gt;&lt;b&gt;message&lt;/b&gt; &lt;u&gt;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;description&lt;/b&gt; &lt;u&gt;This request requires HTTP
 authentication.&lt;/u&gt;&lt;/p&gt;&lt;HR size=&quot;1&quot; noshade=&quot;noshade&quot;&gt;&lt;h3&gt;Apache Tomcat/7.0.63&lt;/h3&gt;&lt;/body&gt;&lt;/html&gt;<br>
ncopen: filename &quot;<a href="http://rda.ucar.edu/thredds/fileServer/aggregations/e/ds627.0/15/ERA_Interim_atmospheric_model_forecast_for_surface-198808/files/ei.oper.fc.sfc.regn128sc.1988080100" target="_blank">http://rda.ucar.edu/thredds/fileServer/aggregations/e/ds627.0/15/ERA_Interim_atmospheric_model_forecast_for_surface-198808/files/ei.oper.fc.sfc.regn128sc.1988080100</a>&quot;: NetCDF: Malformed or inaccessible DAP DDS<br>
(0)     OPeNDAP isfilepresent test unsuccessful.<br>
(0)     File doesn&#39;t exist or NCL doesn&#39;t have OPeNDAP ability on this system<br>
<br>
</p>
<p><br>
</p>
</div>
</div>

<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>