<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'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'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"><<a href="mailto:dvollaro@albany.edu" target="_blank">dvollaro@albany.edu</a>></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 = "<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>"<br>
filename = url + "ERA_Interim_atmospheric_model_forecast_for_surface-198808/files/ei.oper.fc.sfc.regn128sc.1988080100"<br>
print(filename)<br>
;***********************************************<br>
; DATA SOURCE<br>
;***********************************************<br>
<br>
exists = isfilepresent(filename)<br>
if(.not.exists) then <br>
print("OPeNDAP isfilepresent test unsuccessful.")<br>
print("File doesn't exist or NCL doesn't have OPeNDAP ability on this system")<br>
else<br>
print("OPeNDAP isfilepresent test successful.")<br>
file_nc = addfile(filename,"r")<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: <html^><head><title>Apache Tomcat/7.0.63 - Error report</title><style><!--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;}--></style> </head><body><h1>HTTP Status 401 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>This request requires HTTP
authentication.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.63</h3></body></html><br>
ncopen: filename "<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>": NetCDF: Malformed or inaccessible DAP DDS<br>
(0) OPeNDAP isfilepresent test unsuccessful.<br>
(0) File doesn't exist or NCL doesn'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>