[gradsusr] An upper bound on "set ylabs?"

Ryglicki, David CIV FNMOC david.ryglicki at navy.mil
Thu Aug 23 16:35:39 EDT 2012


Hello, group.
 
I'm plotting ensemble members in gxout grfill mode at a given point (essentially a plume plot) using an idea from a colleague. See attached figure 1 (21N, 2W) for 40 members (NOGAPS and GFS Ensembles).
 
However, if I boost the number of members to 60 (additional 20 from CMC), using the same coding logic as before, it stops at the fiftieth name. See attached figure 2 (60N, 2W).
 
The relevant coding logic is thus:
 
   ylabber=''
   ii=1
   say nens
   while(ii<=nens)
    if(ii=nens)
     ylabber=ylabber%''ename.ii
    else
     ylabber=ylabber%''ename.ii'|'
    endif
    ii=ii+1
   endwhile

where ename.ii is the name of the ensemble from the control file (all are correct upon visual inspection and printing). Later on in the code when it comes time to display, it's just, 'set ylabs 'ylabber. When I print ylabber directly, it gives me the correct string - that is, cmc001|cmc002|cmc003|...|ngp018|ngp019|ngp020. I've tried adding and subtracting spaces in the script when concatenating ylabber. No differences. "nens" is correct (60).
 
So I'm wondering, is there an upper limit on "set ylabs?" Is this a string length issue?
 
I'm using OpenGrADS v2.0.1.
 
David Ryglicki
N3 - Models Team
702/146
x4519
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nue.q2m.abbr.21N.2W.2012072600.png
Type: image/x-png
Size: 141991 bytes
Desc: nue.q2m.abbr.21N.2W.2012072600.png
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20120823/ece9a8ba/attachment-0006.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nue.q2m.abbr.60N.2W.2012082300.png
Type: image/x-png
Size: 145761 bytes
Desc: nue.q2m.abbr.60N.2W.2012082300.png
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20120823/ece9a8ba/attachment-0007.bin 


More information about the gradsusr mailing list