[gradsusr] [EXTERNAL] Assign an image to a parameter number

Mikovitz, Colleen (LARC-E302)[Science Systems & Applications, Inc.] j.c.mikovitz at nasa.gov
Wed Jan 27 10:20:42 EST 2021


If you are talking about using scripts, it shouldn’t be too difficult.  Something like this works for me:

'd aave(sfc_elev_1h,g)'
val=subwrd(result,4)
if (val >= 200)
   'draw title Hot'
else
   'draw title Cold'
endif

You can use draw string instead. The important part is setting up the variable from your result value for whatever operation you are using.  You can also set another script variable to ‘Hot’ to use in an output file name.

Colleen

From: gradsusr <gradsusr-bounces at gradsusr.org> on behalf of Simon Keeling <simon at weatherweb.net>
Reply-To: GrADS Users Forum <gradsusr at gradsusr.org>
Date: Wednesday, January 27, 2021 at 8:31 AM
To: "gradsusr at gradsusr.org" <gradsusr at gradsusr.org>
Subject: [EXTERNAL] [gradsusr] Assign an image to a parameter number

Hi everyone,

Is it possible to assign an image to a number output by a model?

So for example, if a max temp os 25C, display 'Hot' etc?

Many thanks,
Simon

--

Dr. Simon Keeling MSc, PhD, RMet, FRMetS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20210127/a930d027/attachment.html>


More information about the gradsusr mailing list