UDF help (1.9.4)

Bernd Becker bernd.becker at METOFFICE.GOV.UK
Tue May 12 06:59:52 EDT 2009


Hello.

I managed to build a udf  to sort data but cannot quite make it do what
I want.

tmean is a 1-d vector of temperature values, no missing data, nice.

What are the important aspects of calling a udf this way

   'd sort(tmean, first)'

that works and this way,

   'define a=sort(tmean,first)'

that does not work.

I want to access the values of a, those that are plotted successfully in
the first case for further processing.

And I want to avoid to write the data out and read them back in!

How can that be achieved?
Are there better ways to do this in grads2?

As usual many thanks!

Bernd.


--
Bernd Becker   The Monthly Outlook
Met Office  FitzRoy Road  Exeter   Devon EX1 3PB  United Kingdom
Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
E-mail:bernd.becker at metoffice.com  -  http://www.metoffice.com



More information about the gradsusr mailing list