[gradsusr] ENSO Forecast Plumes
James Spinks
jspin881 at hotmail.com
Tue May 10 19:08:47 EDT 2016
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 say dfile to make sure the dfile showed the correct url, which it did.
http://monsoondata.org:9090/dods/nmme/201505/tmpsfc_CFSv2
syntax error, unexpected WORD_STRING, expecting WORD_WORD
context: Error { code = 0; message = "subset requests must include a constraint expression"^;};
sdfdeflev: nc_get_vara_double failed to read coordinate axis values
NetCDF: Malformed or inaccessible DAP DATADDS
gadsdf: Failed to define X coordinate values.
SET Error: No files open yet
SET Error: No files open yet
SET Error: No files open yet
SET Error: No files open yet
SET Error: No files open yet
DEFINE error: no file open yet
I further investigated the script and added say URL to this portion of your script to see what came up.
* build a server-side analysis URL
dset='nmme/'year%mm'/tmpsfc_'model.m
expr='eloop(tloop(aave(tmpsfc,lon=-170,lon=-120,lat=-5,lat=5)))' ;* NINO3.4 definition
dims='0:0,-90:-90,0:0,'time1':'time2',01:'numens.m
URL=server'_expr_{'dset'}{'expr'}{'dims'}'
say URL
The script returned the same error as shown above, but now I have this URL result from the say URL command, which is:
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}
I tried to sdfopen on this URL without the script since it was the next part of the script:
* This may take some time if the calculation result is not cached
'sdfopen 'URL
When I did sdfopen 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} on the command line without the script. The error I got was:
syntax error, unexpected WORD_STRING, expecting WORD_WORD
context: Error { code = 0; message = "subset requests must include a constraint expression"^;};
sdfdeflev: nc_get_vara_double failed to read coordinate axis values
NetCDF: Malformed or inaccessible DAP DATADDS
gadsdf: Failed to define X coordinate values.
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?
From: jadams21 at gmu.edu
To: gradsusr at gradsusr.org
Date: Tue, 10 May 2016 17:12:19 +0000
Subject: Re: [gradsusr] ENSO Forecast Plumes
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.
—Jennifer
p.s. The site has been updated with the plume for May 2016.
On May 10, 2016, at 12:22 PM, James Spinks <jspin881 at hotmail.com> wrote:
Hello Jennifer,
Excellent job with this plot! I am kind of getting road blocked. I am getting this error when I run the script:
syntax error, unexpected WORD_STRING, expecting WORD_WORD
context: Error { code = 0; message = "/nmme/201605/tmpsfc_CFSv1 is not an available dataset"^;};
Error: nc_open failed to open file
http://monsoondata.org:9090/dods/nmme/201605/tmpsfc_CFSv1
NetCDF: Malformed or inaccessible DAP DDS
gadsdf: Couldn't ingest SDF metadata.
syntax error, unexpected WORD_STRING, expecting WORD_WORD
context: Error { code = 0; message = "subset requests must include a constraint expression"^;};
sdfdeflev: nc_get_vara_double failed to read coordinate axis values
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).
Thanks,
James
From: jadams21 at gmu.edu
To: gradsusr at gradsusr.org
Date: Thu, 5 May 2016 20:48:14 +0000
Subject: [gradsusr] ENSO Forecast Plumes
Dear All,
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.
http://cola.gmu.edu/enso_forecast_plumes.html
—Jennifer
--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University
_______________________________________________ gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr
--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160510/ab78ea78/attachment-0001.html
More information about the gradsusr
mailing list