<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>You're are correct Jennifer. I checked the configuration for the grads version I was using, which was 2.1.a2 and it was linked to netcdf-4.3.2. So I tried the newest version as you suggested and the script worked with no problems. Thank for your help on this matter. Very nice plot and wonderful job on the scripting.<br>—James<br><br><div><hr id="stopSpelling">From: jadams21@gmu.edu<br>To: gradsusr@gradsusr.org<br>Date: Wed, 11 May 2016 13:08:00 +0000<br>Subject: Re: [gradsusr] ENSO Forecast Plumes<br><br>
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.
<div><br>
</div>
<div>I’m not having any problem opening that URL with 2.1.a3 but 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 <<a href="mailto:jspin881@hotmail.com">jspin881@hotmail.com</a>> 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">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" target="_blank">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 = "subset requests must include a constraint expression"^;};<br>
sdfdeflev: nc_get_vara_double failed to read coordinate axis values<br>
NetCDF: Malformed or inaccessible DAP DATADDS<br>
gadsdf: Failed to define X coordinate values.<br>
SET Error: No files open yet<br>
SET Error: No files open yet<br>
SET Error: No files open yet<br>
SET Error: No files open yet<br>
SET Error: No files open yet<br>
DEFINE error: 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>* build a server-side analysis URL<br>
dset='nmme/'year%mm'/tmpsfc_'model.m<br>
expr='eloop(tloop(aave(tmpsfc,lon=-170,lon=-120,lat=-5,lat=5)))' ;* NINO3.4 definition<br>
dims='0:0,-90:-90,0:0,'time1':'time2',01:'numens.m<br>
URL=server'_expr_{'dset'}{'expr'}{'dims'}'<br>
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_%7bnmme/201605/tmpsfc_CMC1%7d%7beloop%28tloop%28aave%28tmpsfc%2clon=-170%2clon=-120%2clat=-5%2clat=5%29%29%29%7d%7b0:0%2c-90:-90%2c0:0%2c00Z01MAY2016:00Z01DEC2016%2c01: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><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>* This may take some time if the calculation result is not cached<br>
'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%2clon=-170%2clon=-120%2clat=-5%2clat=5%29%29%29%7d%7b0:0%2c-90:-90%2c0:0%2c00Z01MAY2016:00Z01DEC2016%2c01: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 = "subset requests must include a constraint expression"^;};<br>
sdfdeflev: nc_get_vara_double failed to read coordinate axis values<br>
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="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: Tue, 10 May 2016 17:12:19 +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.
<div>—Jennifer</div>
<div>p.s. The site has been updated with the plume for May 2016.
<div><br>
<div>
<div>On May 10, 2016, at 12:22 PM, James Spinks <<a href="mailto:jspin881@hotmail.com">jspin881@hotmail.com</a>> 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 = "/nmme/201605/tmpsfc_CFSv1 is not an available dataset"^;};<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 = "subset requests must include a constraint expression"^;};<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 +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. </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" target="_blank">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" 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>
http://gradsusr.org/mailman/listinfo/gradsusr<br>
</blockquote>
</div>
<br>
<div>
<div style="color:rgb(0, 0, 0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word;">
<div style="color:rgb(0, 0, 0);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>
</div>
</div>
<br>_______________________________________________
gradsusr mailing list
gradsusr@gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr</div>                                            </div></body>
</html>