[gradsusr] Issues With Calling "T = 1" Dimension Via Q Dims

Perry, Aaron @ LSC Aaron.Perry at lsc.vsc.edu
Sun Dec 15 01:09:47 EST 2013


Good Morning All,

I'm currently having a bit of an issue where I'm trying to call the "T = 1" section that pops up when querying "Dims." I'm pulling NOMADS GFS data via the sdfopen command.

When querying dims, the following pops up:

Default file number is: 1
X is varying  Lon = 0 to 360  X = 1 to 73
Y is varying  Lat = -90 to 90  Y = 1 to 37
Z is fixed  Lev = 1000 Z = 1
T is fixed  Time = 12Z15DEC2013 T = 1

What I'm trying to do is pull the "T = 1" to be displayed on a plot. Currently, I'm able to extract the date portion of Line 5 with:

ftime = sublin(result,5)
fdate1 = subwrd(ftime,6)
fmonth = substr(fdate1,6,3)

I've tried moving over to the right by increasing the "6" in the fdate1 = subwrd(ftime,6) line to 7, 8, 9, etc but, it only displays a space and never catches the "T = 1."

I was wondering if anyone has encountered this problem before and if so, possibly knows of a solution.


Onward and Upward,

Aaron Perry
Boston, MA
Mobile: 617-780-4312
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20131215/20a219b5/attachment.html 


More information about the gradsusr mailing list