On Thu, Apr 21, 2011 at 6:32 PM, Ghan, Steven J <span dir="ltr"><<a href="mailto:Steve.Ghan@pnl.gov">Steve.Ghan@pnl.gov</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks Arlindo, that solved it. I was using grads from /Classic. I removed the GA* env variable from my .cshrc and added the path to Contents. I am good to go.<br>
<br></blockquote><div><br></div><div>Glad to hear. Yes, use grads (or opengrads for colors) from Contents/, it requires basically no setup. There you will also find lats4d.sh which can be used from the csh command line.</div>
<div> </div><div> Arlindo</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
-Steve<br>
<div class="im"><br>
From: Arlindo da Silva <<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><mailto:<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>>><br>
</div><div class="im">Date: Thu, 21 Apr 2011 14:25:33 -0700<br>
To: Steven J Ghan <<a href="mailto:steve.ghan@pnl.gov">steve.ghan@pnl.gov</a><mailto:<a href="mailto:steve.ghan@pnl.gov">steve.ghan@pnl.gov</a>>><br>
Subject: Re: FW: [gradsusr] lata42<br>
<br>
</div><div class="im">On Thu, Apr 21, 2011 at 4:54 PM, Ghan, Steven J <<a href="mailto:Steve.Ghan@pnl.gov">Steve.Ghan@pnl.gov</a><mailto:<a href="mailto:Steve.Ghan@pnl.gov">Steve.Ghan@pnl.gov</a>>> wrote:<br>
Arlindo, do have any suggestions here? It looks like I need udx<br>
capability. Where do I get that?<br>
<br>
<br>
I am a little puzzled here. Could you do this?<br>
<br>
1) Download a fresh opengrads bundle tarball from:<br>
<br>
</div> grads-2.0.a9.oga.1-bundle-i386-apple-darwin9.8.0.tar.gz<<a href="http://sourceforge.net/projects/opengrads/files/grads2/2.0.a9.oga.1/grads-2.0.a9.oga.1-bundle-i386-apple-darwin9.8.0.tar.gz/download" target="_blank">http://sourceforge.net/projects/opengrads/files/grads2/2.0.a9.oga.1/grads-2.0.a9.oga.1-bundle-i386-apple-darwin9.8.0.tar.gz/download</a>> <<a href="http://sourceforge.net/projects/opengrads/files/grads2/2.0.a9.oga.1/grads-2.0.a9.oga.1-bundle-i386-apple-darwin9.8.0.tar.gz/download" target="_blank">http://sourceforge.net/projects/opengrads/files/grads2/2.0.a9.oga.1/grads-2.0.a9.oga.1-bundle-i386-apple-darwin9.8.0.tar.gz/download</a>><br>
<div class="im">'<br>
<br>
2) Untar<br>
<br>
3) Make sure no GA* environment variable is set<br>
<br>
4) enter this<br>
<br>
% cd grads-2.0.a9.oga.1/Contents<br>
% ./opengrads<br>
...<br>
ga-> q udx<br>
<br>
Any luck? If so, add the "grads-2.0.a9.oga.1/Contents" directory to your path (move it somewhere if you wish) and you are good to go, no need to set any env variables.<br>
<br>
Mac OS X is what I use on a daily basis (and where I do grads development), so we should be able to get it working for you. I want to make sure you didn't have a corrupted tarball the first time around.<br>
<br>
Good Luck,<br>
<br>
Arlindo<br>
<br>
<br>
<br>
<br>
<br>
-Steve Ghan<br>
<br>
</div><div><div></div><div class="h5">On 4/19/11 6:49 PM, "Ghan, Steven J" <<a href="mailto:Steve.Ghan@pnl.gov">Steve.Ghan@pnl.gov</a><mailto:<a href="mailto:Steve.Ghan@pnl.gov">Steve.Ghan@pnl.gov</a>>> wrote:<br>
<br>
>Hi Arlindo. I was using lats4d from opengrads, and had replaced the old<br>
>version in my GASCRP directory.<br>
><br>
>ga-> q config<br>
>Config: v2.0.a9.oga.1 little-endian readline printim grib2 netcdf<br>
>hdf4-sds hdf5 opendap-grids,stn athena geotiff shapefile<br>
>Grid Analysis and Display System (GrADS) Version 2.0.a9.oga.1<br>
>Copyright (c) 1988-2010 by Brian Doty and the<br>
>Institute for Global Environment and Society (IGES)<br>
>This program is distributed WITHOUT ANY WARRANTY<br>
>See file COPYRIGHT for more information.<br>
><br>
>Built Mon Oct 4 20:21:14 EDT 2010 for i386-apple-darwin9.8.0<br>
><br>
>This version of GrADS has been configured with the following options:<br>
> o Built on a LITTLE ENDIAN machine<br>
> o Athena Widget GUI ENABLED<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 ENABLED<br>
> <a href="http://www.ijg.org" target="_blank">http://www.ijg.org</a><br>
> <a href="http://www.ece.uvic.ca/~mdadams/jasper" target="_blank">http://www.ece.uvic.ca/~mdadams/jasper</a><br>
> <a href="http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2" target="_blank">http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2</a><br>
> g2clib-1.1.8<br>
> o NetCDF interface ENABLED<br>
> <a href="http://www.unidata.ucar.edu/software/netcdf" target="_blank">http://www.unidata.ucar.edu/software/netcdf</a><br>
> netcdf 4.1.1 of Jul 19 2010 20:44:20 $<br>
> o OPeNDAP gridded data interface ENABLED<br>
> o OPeNDAP station data interface ENABLED<br>
> <a href="http://iges.org/grads/gadoc/supplibs.html" target="_blank">http://iges.org/grads/gadoc/supplibs.html</a><br>
> libgadap 2.0.oga.1<br>
> o HDF4 and HDF5 interfaces ENABLED<br>
> <a href="http://hdfgroup.org" target="_blank">http://hdfgroup.org</a><br>
> HDF 4.2r5<br>
> HDF5 1.8.4<br>
> o GeoTIFF and KML/TIFF output ENABLED<br>
> <a href="http://www.libtiff.org" target="_blank">http://www.libtiff.org</a><br>
> <a href="http://geotiff.osgeo.org" target="_blank">http://geotiff.osgeo.org</a><br>
> o KML contour output ENABLED<br>
> o Shapefile interface ENABLED<br>
> <a href="http://shapelib.maptools.org" target="_blank">http://shapelib.maptools.org</a><br>
><br>
>For additional information please consult <a href="http://iges.org/grads" target="_blank">http://iges.org/grads</a><br>
><br>
>ga-> q udx<br>
>Invalid QUERY argument: udx<br>
><br>
><br>
</div></div>>From: Arlindo da Silva <<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><mailto:<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>><mailto:<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><mailto:<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>>>><br>
<div class="im">>Reply-To: GrADS Users Forum<br>
</div>><<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>>>><br>
<div class="im">>Date: Tue, 19 Apr 2011 08:30:10 -0700<br>
>To: GrADS Users Forum<br>
</div>><<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>>>><br>
<div class="im">>Subject: Re: [gradsusr] lata42<br>
><br>
>On Mon, Apr 18, 2011 at 1:44 PM, Ghan, Steven J<br>
</div><div class="im">><<a href="mailto:Steve.Ghan@pnl.gov">Steve.Ghan@pnl.gov</a><mailto:<a href="mailto:Steve.Ghan@pnl.gov">Steve.Ghan@pnl.gov</a>><mailto:<a href="mailto:Steve.Ghan@pnl.gov">Steve.Ghan@pnl.gov</a><mailto:<a href="mailto:Steve.Ghan@pnl.gov">Steve.Ghan@pnl.gov</a>>>> wrote:<br>
>Thanks Pete.<br>
><br>
>I downloaded the latest grads from opengrads:<br>
><br>
</div>>ga-> lats4d -i gxBC_all_0.nc -de <a href="http://mam3.nc" target="_blank">mam3.nc</a><<a href="http://mam3.nc" target="_blank">http://mam3.nc</a>><<a href="http://mam3.nc" target="_blank">http://mam3.nc</a>> -func<br>
<div class="im">>re(@,144,linear,0,2.5,96,linear,-89.,1.925,bl)<br>
>Invalid QUERY argument: udc<br>
>WARNING: this build of GrADS v2.0.a9.oga.1 does not include the LATS<br>
>option<br>
>WARNING: "-format grib" or "-format coads" are not supported.<br>
><RC> 1 </RC><br>
></IPC><br>
>ERROR: cannot proceed without LATS; try specifying a different -format<br>
</div>>1ga-> lats4d -i gxBC_all_0.nc -de <a href="http://mam3.nc" target="_blank">mam3.nc</a><<a href="http://mam3.nc" target="_blank">http://mam3.nc</a>><<a href="http://mam3.nc" target="_blank">http://mam3.nc</a>> -func<br>
<div class="im">>re(@,144,linear,0,2.5,96,linear,-89.,1.925,bl)<br>
>Invalid QUERY argument: udc<br>
>WARNING: this build of GrADS v2.0.a9.oga.1 does not include the LATS<br>
>option<br>
>WARNING: "-format grib" or "-format coads" are not supported.<br>
><br>
>Any other suggestions?<br>
><br>
><br>
</div>>Make sure you use the <a href="http://lats4d.gs" target="_blank">lats4d.gs</a><<a href="http://lats4d.gs" target="_blank">http://lats4d.gs</a>><<a href="http://lats4d.gs" target="_blank">http://lats4d.gs</a>> that comes with this<br>
>version of opengrads; if you have an older <a href="http://lats4d.gs" target="_blank">lats4d.gs</a><<a href="http://lats4d.gs" target="_blank">http://lats4d.gs</a>><<a href="http://lats4d.gs" target="_blank">http://lats4d.gs</a>><br>
<div class="im">>please move it out of the way. If it still does not work, send the output<br>
>of<br>
><br>
>ga-> q config<br>
>ga-> q udx<br>
><br>
> Arlindo<br>
><br>
><br>
><br>
><br>
>-Steve<br>
><br>
>From: "Colarco, Peter R. (GSFC-6133)"<br>
</div>><<a href="mailto:peter.r.colarco@nasa.gov">peter.r.colarco@nasa.gov</a><mailto:<a href="mailto:peter.r.colarco@nasa.gov">peter.r.colarco@nasa.gov</a>><mailto:<a href="mailto:peter.r.colarco@nasa.gov">peter.r.colarco@nasa.gov</a><mailto:<a href="mailto:peter.r.colarco@nasa.gov">peter.r.colarco@nasa.gov</a>>><mailto:<a href="mailto:peter.r">peter.r</a><mailto:<a href="mailto:peter.r">peter.r</a>>.<br>
><a href="mailto:colarco@nasa.gov">colarco@nasa.gov</a><mailto:<a href="mailto:colarco@nasa.gov">colarco@nasa.gov</a>><mailto:<a href="mailto:peter.r.colarco@nasa.gov">peter.r.colarco@nasa.gov</a><mailto:<a href="mailto:peter.r.colarco@nasa.gov">peter.r.colarco@nasa.gov</a>>>>><br>
<div class="im">>Reply-To: GrADS Users Forum<br>
</div>><<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>>><mailto:<a href="mailto:gradsusr@grads">gradsusr@grads</a><mailto:<a href="mailto:gradsusr@grads">gradsusr@grads</a>><br>
><a href="http://usr.org" target="_blank">usr.org</a><<a href="http://usr.org" target="_blank">http://usr.org</a>><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>>>>><br>
<div class="im">>Date: Mon, 18 Apr 2011 06:49:01 -0700<br>
>To: GrADS Users Forum<br>
</div>><<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>>><mailto:<a href="mailto:gradsusr@grads">gradsusr@grads</a><mailto:<a href="mailto:gradsusr@grads">gradsusr@grads</a>><br>
><a href="http://usr.org" target="_blank">usr.org</a><<a href="http://usr.org" target="_blank">http://usr.org</a>><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>>>>><br>
<div class="im">>Subject: Re: [gradsusr] lata42<br>
><br>
>I think you need the opengrads version to do with:<br>
><a href="http://opengrads.org/" target="_blank">http://opengrads.org/</a><br>
><br>
>Pete<br>
><br>
>On Apr 18, 2011, at 2:39 AM, Ghan, Steven J wrote:<br>
><br>
>I'm trying to use lats4d for the first time to regrid:<br>
><br>
</div>>lats4d -i <a href="http://infilename.nc" target="_blank">infilename.nc</a><<a href="http://infilename.nc" target="_blank">http://infilename.nc</a>><<a href="http://infilename.nc" target="_blank">http://infilename.nc</a>> -de<br>
><a href="http://outgridname.nc" target="_blank">outgridname.nc</a><<a href="http://outgridname.nc" target="_blank">http://outgridname.nc</a>><<a href="http://outgridname.nc" target="_blank">http://outgridname.nc</a>> -func<br>
<div class="im">>re(@,144,linear,0,2.5,96,linear,-89.,1.925,bl)<br>
><br>
>The result:<br>
>Invalid QUERY argument: udc<br>
>WARNING: this build of GrADS v2.0.a9 does not include the LATS option<br>
>WARNING: "-format grib" or "-format coads" are not supported.<br>
><RC> 1 </RC><br>
></IPC><br>
>ERROR: cannot proceed without LATS; try specifying a different -format<br>
>1ga-><br>
><br>
>Will this problem be corrected if I upgrade to the latest grads, or is<br>
>there another workaround?<br>
><br>
>-Steve Ghan<br>
><br>
>_______________________________________________<br>
>gradsusr mailing list<br>
</div>><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>>><mailto:<a href="mailto:gradsusr@gradsu">gradsusr@gradsu</a><mailto:<a href="mailto:gradsusr@gradsu">gradsusr@gradsu</a>><br>
><a href="http://sr.org" target="_blank">sr.org</a><<a href="http://sr.org" target="_blank">http://sr.org</a>><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>>>><br>
<div class="im">><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
><br>
>--------------------------------------------------------------------<br>
>Peter Colarco<br>
>NASA GSFC<br>
>Code 613.3<br>
>NASA Goddard Space Flight Center<br>
>Greenbelt, MD 20771<br>
</div>><a href="tel:301.614.6382" value="+13016146382">301.614.6382</a><tel:<a href="tel:301.614.6382" value="+13016146382">301.614.6382</a>><tel:<a href="tel:301.614.6382" value="+13016146382">301.614.6382</a><tel:<a href="tel:301.614.6382" value="+13016146382">301.614.6382</a>>> (ph)<br>
><a href="tel:301.614.5903" value="+13016145903">301.614.5903</a><tel:<a href="tel:301.614.5903" value="+13016145903">301.614.5903</a>><tel:<a href="tel:301.614.5903" value="+13016145903">301.614.5903</a><tel:<a href="tel:301.614.5903" value="+13016145903">301.614.5903</a>>> (fax)<br>
><br>
><a href="mailto:peter.r.colarco@nasa.gov">peter.r.colarco@nasa.gov</a><mailto:<a href="mailto:peter.r.colarco@nasa.gov">peter.r.colarco@nasa.gov</a>><mailto:<a href="mailto:peter.r.colarco@nasa.gov">peter.r.colarco@nasa.gov</a><mailto:<a href="mailto:peter.r.colarco@nasa.gov">peter.r.colarco@nasa.gov</a>>><mailto:<a href="mailto:peter.r.c">peter.r.c</a><mailto:<a href="mailto:peter.r.c">peter.r.c</a>><br>
><a href="mailto:olarco@nasa.gov">olarco@nasa.gov</a><mailto:<a href="mailto:olarco@nasa.gov">olarco@nasa.gov</a>><mailto:<a href="mailto:peter.r.colarco@nasa.gov">peter.r.colarco@nasa.gov</a><mailto:<a href="mailto:peter.r.colarco@nasa.gov">peter.r.colarco@nasa.gov</a>>>><br>
<div class="im">><a href="http://hyperion.gsfc.nasa.gov/People/Colarco" target="_blank">http://hyperion.gsfc.nasa.gov/People/Colarco</a><br>
>--------------------------------------------------------------------<br>
><br>
><br>
><br>
><br>
><br>
>_______________________________________________<br>
>gradsusr mailing list<br>
</div>><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>>><br>
<div class="im">><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
><br>
><br>
><br>
>--<br>
>Arlindo da Silva<br>
</div>><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><mailto:<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>><mailto:<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><mailto:<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>>><br>
<div><div></div><div class="h5">><br>
>_______________________________________________<br>
>gradsusr mailing list<br>
><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><mailto:<a href="mailto:gradsusr@gradsusr.org">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">dasilva@alum.mit.edu</a><mailto:<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>