<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" 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.&nbsp; I am running 6.1.2...Thanks...</p>
<p><br>
</p>
<p>Dave Vollaro</p>
<p><br>
</p>
<p>--------------- code snippet --------------</p>
<p>&nbsp; url = &quot;http://rda.ucar.edu/thredds/fileServer/aggregations/e/ds627.0/15/&quot;<br>
filename = url &#43; &quot;ERA_Interim_atmospheric_model_forecast_for_surface-198808/files/ei.oper.fc.sfc.regn128sc.1988080100&quot;<br>
print(filename)<br>
;***********************************************<br>
;&nbsp; DATA SOURCE<br>
;***********************************************<br>
<br>
&nbsp; exists = isfilepresent(filename)<br>
&nbsp; if(.not.exists) then <br>
&nbsp;&nbsp;&nbsp; print(&quot;OPeNDAP isfilepresent test unsuccessful.&quot;)<br>
&nbsp;&nbsp;&nbsp; print(&quot;File doesn't exist or NCL doesn't have OPeNDAP ability on this system&quot;)<br>
&nbsp; else<br>
&nbsp;&nbsp;&nbsp; print(&quot;OPeNDAP isfilepresent test successful.&quot;)<br>
&nbsp;&nbsp;&nbsp; file_nc = addfile(filename,&quot;r&quot;)<br>
&nbsp; end if<br>
&nbsp; names = getfilevarnames(file_nc)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;Get the variable names in the<br>
&nbsp; print(names)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;GRIB file and print them out.<br>
end</p>
<p><br>
</p>
<p>--------- end snippet-------</p>
<p>&nbsp; link:<br>
<a title="Ctrl&#43;Click or tap to follow the link" id="LPlnk922513" 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">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>
&nbsp; <br>
</p>
<p><br>
</p>
<p>error:</p>
<p>(0)&nbsp;&nbsp;&nbsp;&nbsp; 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<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;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&quot;: NetCDF: Malformed or inaccessible DAP DDS<br>
(0)&nbsp;&nbsp;&nbsp;&nbsp; OPeNDAP isfilepresent test unsuccessful.<br>
(0)&nbsp;&nbsp;&nbsp;&nbsp; File doesn't exist or NCL doesn't have OPeNDAP ability on this system<br>
<br>
</p>
<p><br>
</p>
</div>
</body>
</html>