[gradsusr] Suggestion for an internal call.

Ryglicki, David CIV FNMOC david.ryglicki at navy.mil
Tue Jan 10 17:57:39 EST 2012


(Let's try sending this to the correct email address, shall we.)

Hey-hey, GrADS list.

I need a little bit of guidance. I want to create, I guess, a "translate" function. To put it more clearly, when you get model output, you'll get something like airtemp or t2m or precip or ugrdprs... you get the idea. I'm writing a script that'll translate, say, "t2m" to "Air Temperature @ 2m." I'm trying to make this as modular as possible for a whole host of variables. My question is should I create another .gs script that uses arguments or should I create my own .gsf function? For my purposes, is the only different between the two as simple as:

Translate.gs <variable name> <args args args...>

Translate(<variable name>, <args args args...>)

I suppose I'm a little unclear as to the difference between the two. Maybe for this specific instance they aren't that different?

And oh yes, GrADS v2.0.1, Linux OS, OpenGrADS is not an option (well, not for a few months, anyway). Thanks for any help from the list I can get!

David Ryglicki, Ph.D.
N3 Models
Fleet Numerical Meteorology and Oceanography Center
702/146
x4519


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5686 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20120110/bb44f1dc/attachment-0003.bin 


More information about the gradsusr mailing list