[gradsusr] Fwd: Grads_map

Gensini, Vittorio gensiniv at cod.edu
Thu Sep 15 12:35:35 EDT 2016


Hi Rita,


You can use math_nint() or math_format():


'draw string 'xval' 'yval' 'math_nint(value)

or C-style formatting...for example (two digits):

fmt = '%-6.2f'
'draw string 'xval' 'yval' 'math_format(fmt,value)

Best,
__
Dr. Vittorio (Victor) A. Gensini
Associate Professor
Meteorology
College of DuPage
President, Chicago Chapter of the American Meteorological Society
425 Fawell Blvd.
Glen Ellyn, IL 60137
Office: Berg Instructional Center (BIC) 3503
ph: +1 (630) 942-3496
http://weather.cod.edu/~vgensini
________________________________
From: gradsusr-bounces at gradsusr.org <gradsusr-bounces at gradsusr.org> on behalf of Rita Abrahamyan <rita_60 at mail.ru>
Sent: Thursday, September 15, 2016 11:13 AM
To: gradsusr at gradsusr.org
Subject: [gradsusr] Fwd: Grads_map




-------- ???????????? ????????? --------
?? ????: Rita Abrahamyan <rita_60 at mail.ru>
????: wrfhelp <wrfhelp at ucar.edu>
????: ???????, 8 ???????? 2016, 18:53 +04:00
????: Grads_map


Dear all,
attach two map(surface T(K,C) &SLM(mb) produced using the Grads from the WRF model output, but as you can see values of temperatures on the maps are decimal numbers.
Please, can anyone tell how to get temperature in integers.  It can be done in the Grads.
In advance thank you very much.



Regards,
Rita Abrahamyan.

________________________________

Regards,
Rita Abrahamyan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160915/ac15f256/attachment.html 


More information about the gradsusr mailing list