[gradsusr] Plot data text in a grid instead of random

Jeff Chabot jsc219 at gmail.com
Mon Dec 6 09:33:38 EST 2021


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 NaturaliU.O. Clima
> Meteo IdroViale Brigate Partigiane 2, 16129 Genova (I)tel: +39
> 0106437535mail: davide.sacchetti at arpal.liguria.it
> <mauro.damonte at arpal.liguria.it>
> web: https://www.arpal.liguria.it/homepage/meteo.html
> <http://www.meteoliguria.it/>*
>
>
> * 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
> <https://urlsand.esvalabs.com/?u=https%3A%2F%2Fwww.tropicaltidbits.com%2Fanalysis%2Fmodels%2Fgfs%2F2021120206%2Fgfs_T2m_neus_1.png&e=7312d17f&h=27bc95a0&f=y&p=n>
>
> Instead, I am currently showing numbers randomly attached to a contour
> line:
>
> https://jeffsweatherservice.com/grads/hrrr/temp_NE_1.png
> <https://urlsand.esvalabs.com/?u=https%3A%2F%2Fjeffsweatherservice.com%2Fgrads%2Fhrrr%2Ftemp_NE_1.png&e=7312d17f&h=f81a2820&f=y&p=n>
>
> Thanks,
>
> Jeff C
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> <https://urlsand.esvalabs.com/?u=http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr&e=7312d17f&h=5ee7e1e3&f=y&p=n>
>
>
> ***************************************************
>
> 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 not
>
> review, copy or distribute this message. If you have
>
> received 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
> <https://urlsand.esvalabs.com/?u=http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr&e=7312d17f&h=5ee7e1e3&f=y&p=n>
>
>
>
> --
> 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
> <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
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20211206/673e2be5/attachment-0001.html>


More information about the gradsusr mailing list