<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
What version of GrADS are you using? Check the output from ‘q config’ and look for the version of the netcdf library. GrADS version 2.1.a2 was linked with a version (netcdf-4.3.2) that had introduced a bug when getting very small data volumes from opendap servers.
 The bug was fixed in netcdf-4.3.3 which is what’s linked with GrADS version 2.1.a3.&nbsp;
<div><br>
</div>
<div>I’m not having any problem opening that URL with 2.1.a3 but &nbsp;can duplicate your error with 2.1.a2.<br>
<div>—Jennifer<br>
<div><br>
<div><br>
</div>
<div><br>
<div>
<div>On May 10, 2016, at 7:08 PM, James Spinks &lt;<a href="mailto:jspin881@hotmail.com">jspin881@hotmail.com</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite"><style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div class="hmmessage">
<div dir="ltr">I am still unable to plot the data using your script. I have modified the script so that it only grabs the CFSv2 and CMC1 data, I am still getting the same error message. I added
<b>say dfile </b>to make sure the dfile showed the correct url, which it did.<br>
<br>
<i><a href="http://monsoondata.org:9090/dods/nmme/201505/tmpsfc_CFSv2">http://monsoondata.org:9090/dods/nmme/201505/tmpsfc_CFSv2</a><br>
syntax error, unexpected WORD_STRING, expecting WORD_WORD<br>
context: Error { code = 0; message = &quot;subset requests must include a constraint expression&quot;^;};<br>
sdfdeflev: nc_get_vara_double failed to read coordinate axis values<br>
&nbsp;NetCDF: Malformed or inaccessible DAP DATADDS<br>
gadsdf: Failed to define X coordinate values.<br>
SET Error:&nbsp; No files open yet<br>
SET Error:&nbsp; No files open yet<br>
SET Error:&nbsp; No files open yet<br>
SET Error:&nbsp; No files open yet<br>
SET Error:&nbsp; No files open yet<br>
DEFINE error:&nbsp; no file open yet<br>
<br>
<br>
</i>I further investigated the script and added <b>say URL</b> to this portion of your script to see what came up.<br>
<br>
<i>*&nbsp;&nbsp; build a server-side analysis URL<br>
&nbsp;&nbsp;&nbsp; dset='nmme/'year%mm'/tmpsfc_'model.m<br>
&nbsp;&nbsp;&nbsp; expr='eloop(tloop(aave(tmpsfc,lon=-170,lon=-120,lat=-5,lat=5)))' ;* NINO3.4 definition<br>
&nbsp;&nbsp;&nbsp; dims='0:0,-90:-90,0:0,'time1':'time2',01:'numens.m<br>
&nbsp;&nbsp;&nbsp; URL=server'_expr_{'dset'}{'expr'}{'dims'}'<br>
&nbsp;&nbsp;&nbsp; say URL</i><br>
<br>
The script returned the same error as shown above, but now I have this URL result from the
<b>say URL</b> command, which is:<br>
<i><br>
<a href="http://monsoondata.org:9090/dods/_expr_{nmme/201605/tmpsfc_CMC1}{eloop(tloop(aave(tmpsfc,lon=-170,lon=-120,lat=-5,lat=5)))}{0:0,-90:-90,0:0,00Z01MAY2016:00Z01DEC2016,01:10}" target="_blank">http://monsoondata.org:9090/dods/_expr_{nmme/201605/tmpsfc_CMC1}{eloop(tloop(aave(tmpsfc,lon=-170,lon=-120,lat=-5,lat=5)))}{0:0,-90:-90,0:0,00Z01MAY2016:00Z01DEC2016,01:10}</a><br>
<br>
</i>I tried to sdfopen on this URL without the script since it was the next part of the script:<br>
<br>
<i>*&nbsp;&nbsp; This may take some time if the calculation result is not cached<br>
&nbsp;&nbsp;&nbsp; 'sdfopen 'URL</i><br>
<br>
When I did sdfopen <a href="http://monsoondata.org:9090/dods/_expr_%7Bnmme/201605/tmpsfc_CMC1%7D%7Beloop%28tloop%28aave%28tmpsfc,lon=-170,lon=-120,lat=-5,lat=5%29%29%29%7D%7B0:0,-90:-90,0:0,00Z01MAY2016:00Z01DEC2016,01:10%7D" target="_blank">
http://monsoondata.org:9090/dods/_expr_{nmme/201605/tmpsfc_CMC1}{eloop(tloop(aave(tmpsfc,lon=-170,lon=-120,lat=-5,lat=5)))}{0:0,-90:-90,0:0,00Z01MAY2016:00Z01DEC2016,01:10}</a> on the command line without the script.<i>
</i>The error I got was: <i><br>
</i><br>
<i>syntax error, unexpected WORD_STRING, expecting WORD_WORD<br>
context: Error { code = 0; message = &quot;subset requests must include a constraint expression&quot;^;};<br>
sdfdeflev: nc_get_vara_double failed to read coordinate axis values<br>
&nbsp;NetCDF: Malformed or inaccessible DAP DATADDS<br>
gadsdf: Failed to define X coordinate values.<br>
<br>
</i>Which is the same error I get when I run the script. So this leads me to believe that the opening error of the file is coming from the 'building server-side URL' portion of the script. Does the URL that was outputted from the say URL command seem right
 to you?<br>
<br>
<br>
<br>
<i><br>
</i><br>
<br>
<div>
<hr id="stopSpelling">
From: <a href="mailto:jadams21@gmu.edu">jadams21@gmu.edu</a><br>
To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
Date: Tue, 10 May 2016 17:12:19 &#43;0000<br>
Subject: Re: [gradsusr] ENSO Forecast Plumes<br>
<br>
The models included in the NMME have changed over the years, the list in the script is complete but many of them will be absent for any one forecast. Error messages like this one are harmless, it only means that a forecast initialized 2016-05 for CFSv1 does
 not exist. The script should include whatever models are available for the desired initalization date.&nbsp;
<div>—Jennifer</div>
<div>p.s. The site has been updated with the plume for May 2016.&nbsp;
<div><br>
<div>
<div>On May 10, 2016, at 12:22 PM, James Spinks &lt;<a href="mailto:jspin881@hotmail.com">jspin881@hotmail.com</a>&gt; wrote:</div>
<br class="ecxApple-interchange-newline">
<blockquote><style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div class="ecxhmmessage">
<div dir="ltr">Hello Jennifer,<br>
<br>
Excellent job with this plot! I am kind of getting road blocked. I am getting this error when I run the script:<br>
<br>
<i>syntax error, unexpected WORD_STRING, expecting WORD_WORD<br>
context: Error { code = 0; message = &quot;/nmme/201605/tmpsfc_CFSv1 is not an available dataset&quot;^;};<br>
Error: nc_open failed to open file <a href="http://monsoondata.org:9090/dods/nmme/201605/tmpsfc_CFSv1" target="_blank">
http://monsoondata.org:9090/dods/nmme/201605/tmpsfc_CFSv1</a><br>
NetCDF: Malformed or inaccessible DAP DDS<br>
gadsdf: Couldn't ingest SDF metadata.<br>
syntax error, unexpected WORD_STRING, expecting WORD_WORD<br>
context: Error { code = 0; message = &quot;subset requests must include a constraint expression&quot;^;};<br>
sdfdeflev: nc_get_vara_double failed to read coordinate axis values<br>
<br>
</i>Do you have any idea what may be causing the problem? I tried to sdfopen the links by themselves without the script the links work fine (well the ones that are available on the GDS server in the NMME directory).
<br>
<br>
Thanks,<br>
James<br>
<br>
<br>
<div>
<hr id="ecxstopSpelling">
From: <a href="mailto:jadams21@gmu.edu">jadams21@gmu.edu</a><br>
To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
Date: Thu, 5 May 2016 20:48:14 &#43;0000<br>
Subject: [gradsusr] ENSO Forecast Plumes<br>
<br>
<div>Dear All,</div>
<div>I created a graphic that depicts ensemble forecast plumes with embedded histograms at each lead time. The plots convey information about the variability in the ensemble in a clear and easy-to-interpret format. The initial application uses forecasts of
 NINO3.4 index from the NMME data archive. The web site given below explains the graphic, presents an archive of images, and provides a link to the script, which accesses the data from COLA’s GDS, so you can try it without having to download any data. There’s
 a companion web page with an animation of plumes spanning the recent El Nino event — look for the link at the end of the explantory text.&nbsp;</div>
<div><br>
</div>
<div><a href="http://cola.gmu.edu/enso_forecast_plumes.html" target="_blank">http://cola.gmu.edu/enso_forecast_plumes.html</a></div>
<div><br>
</div>
<div>—Jennifer</div>
<div><br>
</div>
<div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word;">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word;">
<div style="font-size:12px;orphans:2;widows:2;">--</div>
<div style="font-size:12px;orphans:2;widows:2;">Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
<br>
_______________________________________________ gradsusr mailing list <a href="mailto:gradsusr@gradsusr.org">
gradsusr@gradsusr.org</a> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">
http://gradsusr.org/mailman/listinfo/gradsusr</a></div>
</div>
</div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote>
</div>
<br>
<div>
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;">
<div style="font-size:12px;orphans:2;widows:2;">--</div>
<div style="font-size:12px;orphans:2;widows:2;">Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
_______________________________________________ gradsusr mailing list <a href="mailto:gradsusr@gradsusr.org">
gradsusr@gradsusr.org</a> <a href="http://gradsusr.org/mailman/listinfo/gradsusr">
http://gradsusr.org/mailman/listinfo/gradsusr</a></div>
</div>
</div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
http://gradsusr.org/mailman/listinfo/gradsusr<br>
</blockquote>
</div>
<br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="font-size: 12px; orphans: 2; widows: 2;">--</div>
<div style="font-size: 12px; orphans: 2; widows: 2;">Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>