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