[gradsusr] How to handle Ensemble using sdfopen
Lee Byerle
lbyerle at yahoo.com
Tue Jun 3 21:24:16 EDT 2014
Hi, Howard,
The command:
'set e 1'
should work...
Here is a sample I use:
'sdfopen http://nomads.ncep.noaa.gov:9090/dods/gens/gens20140603/gep_all_00z'
'set lon 180 360'
'set lat 22 90'
'set lev 500'
'set e 1'
'set grads off'
'set cmark 0'
'set clevs 5640'
'set clab off'
'd hgtprs'
e=2
cols='2 3 4 5 6 8 9 10 11 12 13 14 2 3 4 5 6 8 9 10 11 12 13 14 2 3 4 5 6 7 8 9 10 11 12 13 14 '
while (e<=21)
'set e 'e
c=subwrd(cols,e)
'set ccolor 'c
'set cmark 0'
'set clab off'
'set clevs 5640'
'd hgtprs'
e=e+1
endwhile
Hope this helps,
Lee
On Jun 3, 2014, at 8:55 PM, Howard Staines wrote:
> Good morning,
> I am trying to do some work with ensembles using dods opendap access
> to gens datasets.
> Novice at this and I am having issues with the ens ensemble of e dimention
> in the script.
>
> With other dimentions in a script like time
>
> 'set t 1'
>
> So I have tried to use the same for e
>
> .... the data has only one ensemble item for each time step
>
> So I have tried
> 'set e 1'
> 'set e 0'
> Or
> 'set ens 1'
> Or
> 'set ens 0'
> All no joy
> Error is an ' all underfined values' ... the variable ( prmslmsl ) is ok so
> I guess the
> The error is all about the e
>
> Any help appreciated
>
> kind regards
>
> Howard Staines
> Manager
>
> METRIS forecast systems
> P O Box 24, Featherston | ph 0800 372 433 | mailto:metris at xtra.co.nz |
> www.metris.co.nz |
>
>
>
> _______________________________________________
> 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/20140603/90f0b40f/attachment-0001.html
More information about the gradsusr
mailing list