[gradsusr] Plot data text in a grid instead of random
Davide Sacchetti
davide.sacchetti at arpal.liguria.it
Mon Dec 6 09:54:07 EST 2021
about second question: run basemap.gs before t2m (or display t2m again after basemap)
about first question use maskout, eg.:
d maskout(t2m,t2m-32) displays only t2m>32
d maskout(t2m,33-t2m) displays only t2m<33
you can combine both:
d maskout(maskout(t2m,33-t2m),t2m-32)
(I haven't tried this command ... but the idea could be this)
Davide
Dott. Davide Sacchetti
Dipartimento Stato dell’Ambiente e Tutela dai Rischi Naturali
U.O. Clima Meteo Idro
Viale Brigate Partigiane 2, 16129 Genova (I)
tel: +39 0106437535
mail: davide.sacchetti at arpal.liguria.it web: https://www.arpal.liguria.it/homepage/meteo.html
Da: Jeff Chabot <jsc219 at gmail.com>
A: GrADS Users Forum <gradsusr at gradsusr.org>
Inviato: 06/12/2021 15:33
Oggetto: Re: [gradsusr] Plot data text in a grid instead of random
Duh! That was a dumb question on my part, and I apologize. I have set ccolor working. Two more better questions however.
Is there any way to do a set gxout grid at just 32 degrees F?
I tried the following with set gxout grid:'set gxout grid'
'set gridln off'
'set cint 1'
'set cmin 32'
'set cmax 32'
'set ccolor 4'
'set digsiz 0.1'
'display skip(t2m,12,12)'
*where t2m = ((tmp2m - 273.15) * 9 / 5) + 32
The result is the full grid.
My other question is probably much more complicated. I am using basemap.gs to mask out the oceans. It is cropping the grid numbers by the oceans as seen here: http://jeffsweatherservice.com/grads/temp_US_2.png north of San Francisco and in southern Louisiana. Is there a workaround for that issue?
'run 'basemap.gs o 202 1 H' (run after the lines above).
Thanks again!
Jeff C
On Mon, Dec 6, 2021 at 4:50 AM Davide Sacchetti <davide.sacchetti at arpal.liguria.it> wrote:
great!set ccolor color_number
bye bye
Davide
Dott. Davide Sacchetti
Dipartimento Stato dell’Ambiente e Tutela dai Rischi Naturali
U.O. Clima Meteo Idro
Viale Brigate Partigiane 2, 16129 Genova (I)
tel: +39 0106437535
mail: davide.sacchetti at arpal.liguria.it web: https://www.arpal.liguria.it/homepage/meteo.html
Da: Jeff Chabot <jsc219 at gmail.com>
A: GrADS Users Forum <gradsusr at gradsusr.org>
Inviato: 06/12/2021 6:52
Oggetto: Re: [gradsusr] Plot data text in a grid instead of random
The following worked very well:
'set gxout grid'
'set gridln off'
'display skip(t2m,10,10)'
Thanks guys!
Can you control the color of those numbers? I can only get them in white.
Sincerely,
Jeff C
On Thu, Dec 2, 2021 at 12:23 PM Jeff Duda <jeffduda319 at gmail.com> wrote:
You can also use a loop with 'draw string' to achieve this.
Jeff Duda
On Thu, Dec 2, 2021 at 9:28 AM Stephen McMillan <smcmillan at planalytics.com> wrote:
In addition to Davide's suggestion, you can use:
'set gridln off' to hide the grid lines
Use "skip" function to skip plotting every other, every third, etc. grid value
Stephen Mc
On Thu, Dec 2, 2021 at 10:17 AM Jeff Chabot <jsc219 at gmail.com> wrote:
Hi GrADS Users,
Does anyone know if it is possible to plot data text in a grid pattern instead of random plots in GrADS?
For example, this is the grid pattern that I would like to use:
https://www.tropicaltidbits.com/analysis/models/gfs/2021120206/gfs_T2m_neus_1.png
Instead, I am currently showing numbers randomly attached to a contour line:
https://jeffsweatherservice.com/grads/hrrr/temp_NE_1.png
Thanks,
Jeff C
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr
***************************************************The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary. If you are not the intended recipient, you may notreview, copy or distribute this message. If you havereceived this communication in error, please notify the sender immediately by e-mail, and delete the original message.***************************************************_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr
--
Jeff Duda, Research Scientist
University of Colorado Boulder
Cooperative Institute for Research in Environmental Sciences
NOAA/OAR/ESRL/Global Systems Laboratory
Boulder, CO
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
https://urlsand.esvalabs.com/?u=http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr&e=7312d17f&h=5ee7e1e3&f=y&p=n
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
https://urlsand.esvalabs.com/?u=http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr&e=7312d17f&h=5ee7e1e3&f=y&p=n
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20211206/4ff9bc9b/attachment.html>
More information about the gradsusr
mailing list