[gradsusr] paint a colour background or sea and more borders regions
Jeffrey Duda
jdduda at iastate.edu
Mon Sep 26 12:25:27 EDT 2011
There's many different ways you can do this. Most basically, you can use
the set background<http://www.iges.org/grads/gadoc/gradcomdsetbackground.html>or
set
display <http://www.iges.org/grads/gadoc/gradcomdsetdisplay.html> commands.
Both do similar things but slightly differently. Getting more complicated,
if your data contain land use categories or a land-sea mask, you could
display that with appropriate coloring to make land green or brown and water
blue for example. You wouldn't be able to plot color shaded plots on top of
that, though. However, if you had a shapefile that contained land-sea
boundaries you could use the shapefile
commands<http://www.iges.org/grads/gadoc/shapefiles.html>to color land
and sea below any color-shaded plots you have. Finally, you
can plot whatever you want, then create an image file using
printim<http://www.iges.org/grads/gadoc/gradcomdprintim.html>and place
a background image under it. For an example, see the Users
Forum archive from November
2010<http://gradsusr.org/pipermail/gradsusr/2010-November/thread.html>with
the thread titled "Command
produces a PNG image with transparent color 0 and a background image
NE.png". Hopefully one of these possibilities will suit you. Good
luck.
Jeff Duda
On Mon, Sep 26, 2011 at 3:45 AM, Jofre Janué <jjanue at hotmail.com> wrote:
> Anyone know how can I paint a colour background or sea and more borders
> regions?
>
> Thanks.
>
>
> -----Mensaje original-----
> From: gradsusr-request at gradsusr.org
> Sent: Friday, September 23, 2011 6:52 PM
> To: gradsusr at gradsusr.org
> Subject: gradsusr Digest, Vol 19, Issue 54
>
> Send gradsusr mailing list submissions to
> gradsusr at gradsusr.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://gradsusr.org/mailman/listinfo/gradsusr
> or, via email, send a message with subject or body 'help' to
> gradsusr-request at gradsusr.org
>
> You can reach the person managing the list at
> gradsusr-owner at gradsusr.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gradsusr digest..."
>
>
> Today's Topics:
>
> 1. Re: 4 pictures into only one page (Arlindo da Silva)
> 2. GrADS v. Opengrads (Rowell, Mason D.)
> 3. Re: GrADS v. Opengrads (Theomar Trindade)
> 4. read ahvrr netcdf file (diego)
> 5. Re: GrADS v. Opengrads (Arlindo da Silva)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 23 Sep 2011 09:56:14 -0400
> From: Arlindo da Silva <dasilva at alum.mit.edu>
> Subject: Re: [gradsusr] 4 pictures into only one page
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
> <CALz7xZcRObiu9MBZaab83nW7N0s54xs5Sc-uLW2BSy9tnPggpA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Fri, Sep 23, 2011 at 6:09 AM, madhu latha <madhulatha11 at gmail.com>
> wrote:
>
> >
> > Dear all
> >
> > Iam running v2.0.a7.1 and am unable to run several options such as
> netcdf
> > interface because they are disabled. How do I enable
> > them?
> >
> >
> You can't, these were disable at compilation time. You can either rebuild
> from source, or save yourself the headache and get a pre-compiled
> distribution, either from COLA:
>
> http://grads.iges.org/grads/downloads.html
>
> or from OpenGrADS (if you need some of the extensions that it offers):
>
>
> http://opengrads.org/wiki/index.php?title=Installing_the_OpenGrADS_Bundle
>
>
> Arlindo
>
>
> > -------------------
> >
> > This version of GrADS has been configured with the following options:
> > o Built on a LITTLE ENDIAN machine
> > o Command line editing ENABLED
> > http://tiswww.case.edu/php/chet/readline/rltop.html
> > o printim command for image output ENABLED
> > http://www.zlib.net
> > http://www.libpng.org/pub/png/libpng.html
> > http://www.libgd.org/Main_Page
> > o GRIB2 interface DISABLED
> > o NetCDF interface DISABLED
> > o HDF interface DISABLED
> > o Athena Widget GUI DISABLED
> > o OPeNDAP gridded data interface DISABLED
> > o OPeNDAP station data interface DISABLED
> > o GeoTIFF and KML output DISABLED
> >
> >
> >
> > _______________________________________________
> > gradsusr mailing list
> > gradsusr at gradsusr.org
> > http://gradsusr.org/mailman/listinfo/gradsusr
> >
> >
>
>
> --
> Arlindo da Silva
> dasilva at alum.mit.edu
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
>
> http://gradsusr.org/pipermail/gradsusr/attachments/20110923/b1170122/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Fri, 23 Sep 2011 18:25:47 +0000
> From: "Rowell, Mason D." <Mason.D.Rowell-1 at ou.edu>
> Subject: [gradsusr] GrADS v. Opengrads
> To: "gradsusr at gradsusr.org" <gradsusr at gradsusr.org>
> Message-ID:
> <EF993BF88A0DA241AA5B306C9D22DDF75BDA4312 at it-kodiak.sooner.net.ou.edu>
> Content-Type: text/plain; charset="us-ascii"
>
> All,
>
> I have been keeping up with the gradusr exchanges, and it seems I may need
> to use opengrads. What is the difference between say, 2.0.a6 that I am
> using, and opengrads? Is it linux supported?
>
> Mason
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 23 Sep 2011 22:10:29 +0300
> From: Theomar Trindade <theomar_trindade at hotmail.com>
> Subject: Re: [gradsusr] GrADS v. Opengrads
> To: <gradsusr at gradsusr.org>
> Message-ID: <BAY163-W3948CC77041ED8558413EAFD0F0 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> Hi Mason,
> I use the opengrads in LINUX, but unfortunately I don't use the grads. So I
> can tell you that it works in LINUX.Others differences I don't know, but it
> is very interesting to me too.
>
> --Theomar Trindade de A. T. Neves
> Meteorology Phd Student | INPE/CPTEC
>
> Doutorando em meteorologia |Phone: 55(12)32086830email:
> theomar_trindade at hotmail.com
> theomar.neves at cptec.inpe.br
>
>
>
>
> > From: Mason.D.Rowell-1 at ou.edu
> > To: gradsusr at gradsusr.org
> > Date: Fri, 23 Sep 2011 18:25:47 +0000
> > Subject: [gradsusr] GrADS v. Opengrads
> >
> > All,
> >
> > I have been keeping up with the gradusr exchanges, and it seems I may
> need
> > to use opengrads. What is the difference between say, 2.0.a6 that I am
> > using, and opengrads? Is it linux supported?
> >
> > Mason
> > _______________________________________________
> > 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/20110923/028e2ff0/attachment-0001.html
>
> ------------------------------
>
> Message: 4
> Date: Fri, 23 Sep 2011 21:57:08 +0100 (BST)
> From: diego <diego333medina at yahoo.es>
> Subject: [gradsusr] read ahvrr netcdf file
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
> <1316811428.28229.YahooMailNeo at web26008.mail.ukl.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi everibody:
> I have a problem readind netcdf file with GRADS.? I sed my ctl file and
> ncdump_out.
> can anyone helpme ?
>
>
> Grid Analysis and Display System (GrADS) Version 2.0.a8
> Copyright (c) 1988-2010 by Brian Doty and the
> Institute for Global Environment and Society (IGES)
> GrADS comes with ABSOLUTELY NO WARRANTY
> See file COPYRIGHT for more information
>
> Config: v2.0.a8 little-endian readline printim grib2 netcdf hdf4-sds hdf5
> opendap-grids,stn geotiff shapefile
> Issue 'q config' command for more information.
> Landscape mode? ('n' for portrait):?
> GX Package Initialization: Size = 11 8.5
> ga-> open avhrr.ctl
> Scanning description file:? avhrr.ctl
> Data file avhrr-only-v2.20081225.nc is open as file 1
> LON set to 0 360
> LAT set to -89.875 89.875
> LEV set to 0 0
> Time values set: 1963:11:1:0 1963:11:1:0
> E set to 1 1
> ga-> q file
> File 1 : test AVHRR
> ? Descriptor: avhrr.ctl
> ? Binary: avhrr-only-v2.20081225.nc
> ? Type = Gridded
> ? Xsize = 1440? Ysize = 720? Zsize = 1? Tsize = 1? Esize = 1
> ? Number of Variables = 4
> ???? temp? 0? 0,y,x? sea? at surface (W/m2)
> ???? mali? 0? 0,y,x? anomal rate (kg/m2/s)
> ???? rore? 0? 0,y,x? eror pressure (hPa)
> ???? hiel? 0? 0,y,x? ice pressure (hPa)
> ga-> d temp
> gancgrid error: nc_get_vara_double failed; NetCDF: Index exceeds dimension
> bound
> Data Request Error:? Error for variable 'temp'
> ? Error ocurred at column 1
> DISPLAY error:? Invalid expression
> ? Expression = temp
> ga->
>
>
>
> tahnks
>
>
> ________________________________
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
>
> http://gradsusr.org/pipermail/gradsusr/attachments/20110923/a0d3c5ff/attachment-0001.html
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: avhrr.ctl
> Type: application/octet-stream
> Size: 465 bytes
> Desc: not available
> Url :
>
> http://gradsusr.org/pipermail/gradsusr/attachments/20110923/a0d3c5ff/attachment-0001.obj
> -------------- next part --------------
> An embedded and charset-unspecified text was scrubbed...
> Name: ncdump_out.txt
> Url:
>
> http://gradsusr.org/pipermail/gradsusr/attachments/20110923/a0d3c5ff/attachment-0001.txt
>
> ------------------------------
>
> Message: 5
> Date: Fri, 23 Sep 2011 17:07:27 -0400
> From: Arlindo da Silva <dasilva at alum.mit.edu>
> Subject: Re: [gradsusr] GrADS v. Opengrads
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
> <CALz7xZf7u-Xn6xSJbgSVqsp2dLCMsEzZG=50nKMXfc2=tBozkQ at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Fri, Sep 23, 2011 at 2:25 PM, Rowell, Mason D.
> <Mason.D.Rowell-1 at ou.edu>wrote:
>
> > All,
> >
> > I have been keeping up with the gradusr exchanges, and it seems I may
> need
> > to use opengrads. What is the difference between say, 2.0.a6 that I am
> > using, and opengrads? Is it linux supported?
> >
> >
> As far functionality is concerned, by design, the OpenGrADS
> binaries<http://sourceforge.net/projects/opengrads/files/>have all the
> features that you find in the COLA
> binaries <http://grads.iges.org/grads/downloads.html>. In addition, it has
> a
> number of extra functions and commands <http://opengrads.org/doc/#udxt>
> that
> are not available with the COLA builds. OpenGrADS includes also binaries
> for
> a few platforms that have not been included in recent COLA builds (FreeBSD,
> IBM AIX).
>
> As far as installation is concerned, the OpenGrADS
> bundle<
> http://opengrads.org/wiki/index.php?title=Installing_the_OpenGrADS_Bundle
> >is
> designed to be a turn key system. On Unix/Linux/Mac OS X the tar ball
> includes all you need to run GrADS (maps, fonts, documentation, etc.) All
> you need to do is to start the binary and it works out of the box, no need
> to set any environment variable (although it is convenient to put the
> Contents/ directory in your path). The system is entirely relocatable in
> the
> sense you can put it on a USB men stick and run it from there with no setup
> necessary. The COLA builds of GrADS are also very straightforward to
> install, but requires you to do just a bit more (download separate data
> files, set environment variables).
>
> On Windows, the OpenGrADS
> superpack<
> http://opengrads.org/wiki/index.php?title=Installing_GrADS_v2.0_on_Microsoft_Windows
> >is
> also self contained and installs like a regular, native Windows
> application (self installing package). After download, it should take less
> than 2 minutes for you to make your first plot. Although the superpack is
> built on top of cygwin and requires an X server, it is all handled under
> the
> hood; all you have to watch for is the Windows firewalls. The superpack is
> also meant to be relocatable: put it on a USB stick and ran it anywhere, no
> setup necessary. COLA's windows build is also based on cygwin, but it
> requires a separate cygwin installation, download of an X server, and
> setting up environment variables. Again, not a big deal, but something that
> an average windows user without much command line exposure may find
> intimidating.
>
> I hope this answers your question.
>
> Arlindo
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> Arlindo da Silva
> dasilva at alum.mit.edu
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
>
> http://gradsusr.org/pipermail/gradsusr/attachments/20110923/3293be24/attachment.html
>
> ------------------------------
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> End of gradsusr Digest, Vol 19, Issue 54
> ****************************************
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
--
Jeff Duda
Iowa State University
Meteorology Graduate Student
www.meteor.iastate.edu/~jdduda <http://www.meteor.iastate.edu/%7Ejdduda>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110926/0093f31e/attachment-0003.html
More information about the gradsusr
mailing list