<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Dear All, <br><br>I am running this following grads script for extracting the FORECAST temperature for a particular lat/lon. <br> This script opens this grads template ctl file and the data files. <br>'reinit'<br>
''open /temp/WORK/RUN00/wrf-outp_d01.ctl'<br>
'set x 77.5'<br>
'set y 12.5'<br>
'set gxout print'<br>
'set prnopts %1.2f'<br>
ts=1<br>
while (ts=52)<br>
'd (t2(t='ts')-273.16)'<br>
tmpbng=sublin(result,1)<br>
rc=write(/testuser/model/abc.dat,tmpbng,append)<br>
ts=ts+1<br>
endwhile<br>On running the grads, <br>
ga-> run t2avg.gs<br>
No hardcopy metafile open<br>
All files closed; all defined objects released<br>
All GrADS attributes have been reinitialized<br>
<br>This scripts is RUN OK. But No output file is created. <br>Kindly suggest. <br>geeta<br><br><br><br>> From: gradsusr-request@gradsusr.org<br>> Subject: gradsusr Digest, Vol 4, Issue 13<br>> To: gradsusr@gradsusr.org<br>> Date: Fri, 11 Jun 2010 17:26:55 -0400<br>> <br>> Send gradsusr mailing list submissions to<br>>         gradsusr@gradsusr.org<br>> <br>> To subscribe or unsubscribe via the World Wide Web, visit<br>>         http://gradsusr.org/mailman/listinfo/gradsusr<br>> or, via email, send a message with subject or body 'help' to<br>>         gradsusr-request@gradsusr.org<br>> <br>> You can reach the person managing the list at<br>>         gradsusr-owner@gradsusr.org<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: unsupported --with-jpeg option in hdf5 configure file<br>> (Jennifer Adams)<br>> 2. Re: Point Vertical Cross-Section to Text ouput (Stephen McMillan)<br>> 3. Re: Enable netcdf 4.1.1 option in grads configure file<br>> (Huber Pa?l Gilt L?pez)<br>> <br>> <br>> ----------------------------------------------------------------------<br>> <br>> Message: 1<br>> Date: Fri, 11 Jun 2010 14:39:00 -0400<br>> From: Jennifer Adams <jma@cola.iges.org><br>> Subject: Re: [gradsusr] unsupported --with-jpeg option in hdf5<br>>         configure file<br>> To: GrADS Users Forum <gradsusr@gradsusr.org><br>> Message-ID: <D567BB37-DB7E-453B-97B3-DA95EA838F58@cola.iges.org><br>> Content-Type: text/plain; charset="windows-1252"<br>> <br>> Yes, that is my mistake, although it is harmless. The HDF4 library <br>> uses jpeg, but hdf5 does not, and I accidentally left it in my ./ <br>> configure command.<br>> --Jennifer<br>> <br>> <br>> On Jun 10, 2010, at 11:15 AM, Huber Pa?l Gilt L?pez wrote:<br>> <br>> > Hello Everybody,<br>> ><br>> > I?m trying to compile the hdf5, supplemental library, but in the <br>> > documentation file (http://iges.org/grads/gadoc/supplibs<br>> > ), say to configure with the command:<br>> > cd $HOME/supplibs/src/<br>> > tar xvfz tarfiles/hdf5-1.8.4-patch1.tar.gz<br>> > cd hdf5-1.8.4-patch1/<br>> > ./configure --disable-shared --disable-fortran \<br>> > --with-zlib=$HOME/supplibs/src/zlib-1.2.3 \<br>> > --with-jpeg=$HOME/supplibs/src/jpeg-6b \<br>> > --with-szlib=$HOME/supplibs/src/szip-2.1 \<br>> > --prefix=$HOME/supplibs/src/hdf5-1.8.4-patch1<br>> > make<br>> > make install<br>> > cp ./lib/libhdf5.a $HOME/supplibs/lib<br>> > cp ./lib/libhdf5_hl.a $HOME/supplibs/lib<br>> > mkdir $HOME/supplibs/include/hdf5<br>> > cp ./include/*.h $HOME/supplibs/include/hdf5/<br>> ><br>> > Then throws the warning, hdf5 don?t need jpeg libraries?<br>> ><br>> > configure: WARNING: unrecognized options: --with-jpeg<br>> > configure: WARNING: unrecognized options: --with-jpeg<br>> ><br>> > Thanks a lot,<br>> ><br>> > Best regards,<br>> > Huber<br>> > _______________________________________________<br>> > gradsusr mailing list<br>> > gradsusr@gradsusr.org<br>> > http://gradsusr.org/mailman/listinfo/gradsusr<br>> <br>> --<br>> Jennifer M. Adams<br>> IGES/COLA<br>> 4041 Powder Mill Road, Suite 302<br>> Calverton, MD 20705<br>> jma@cola.iges.org<br>> <br>> <br>> <br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100611/2493cd1f/attachment-0001.html <br>> <br>> ------------------------------<br>> <br>> Message: 2<br>> Date: Fri, 11 Jun 2010 14:48:26 -0400<br>> From: Stephen McMillan <smcmillan@planalytics.com><br>> Subject: Re: [gradsusr] Point Vertical Cross-Section to Text ouput<br>> To: GrADS Users Forum <gradsusr@gradsusr.org><br>> Message-ID:<br>>         <AANLkTil1Yi0CILq8uf9ONjPDoimZa3WqUS-_WL7Syj5V@mail.gmail.com><br>> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> Justin,<br>> Attached script may accomplish what you want. It is for a single grid point<br>> (-76, 40) and timestep (5). You would need to edit the variable names, add<br>> additional while loops for time, location, etc. I hope it's what you had in<br>> mind. I also included sample output from this script, using today's 12z GFS<br>> run.<br>> <br>> Stephen McMillan<br>> <br>> On Fri, Jun 11, 2010 at 12:08 PM, Justin Traiteur <<br>> jtraite2@atmos.illinois.edu> wrote:<br>> <br>> > Does anybody know how to take a vertical sounding of a lat lon<br>> > location of an analysis map and output the values at each vertical<br>> > level to a text document? I will need temperature, pressure, U, V,<br>> > and Specific humidity exported into a text file in order to be<br>> > ingested into the WRF.<br>> ><br>> > Thanks!<br>> > Justin<br>> > _______________________________________________<br>> > gradsusr mailing list<br>> > gradsusr@gradsusr.org<br>> > http://gradsusr.org/mailman/listinfo/gradsusr<br>> ><br>> <br>> ***************************************************<br>> The information contained in this e-mail message <br>> is intended only for the use of the recipient(s) <br>> named above and may contain information that is <br>> privileged, confidential, and/or proprietary. <br>> If you are not the intended recipient, you may not<br>> review, copy or distribute this message. If you have<br>> received this communication in error, please notify <br>> the sender immediately by e-mail, and delete the original message.<br>> ***************************************************<br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100611/646b4357/attachment-0001.html <br>> -------------- next part --------------<br>> tmp(c) u(m/s) v(m/s) plev(mb)<br>> 22.54 -1.5 3.6 1000<br>> 21.84 -1.3 5.0 975<br>> 19.74 -0.7 4.7 950<br>> 17.54 0.2 3.7 925<br>> 15.64 1.8 2.0 900<br>> 14.34 4.1 -0.7 875<br>> 13.34 6.5 -3.9 850<br>> 12.44 7.8 -6.9 825<br>> 11.24 6.9 -8.5 800<br>> 10.24 5.5 -8.4 775<br>> 8.84 5.6 -8.2 750<br>> 7.14 6.5 -8.5 725<br>> 5.34 7.1 -9.3 700<br>> 3.94 7.1 -9.7 675<br>> 3.34 8.3 -9.2 650<br>> 2.24 9.2 -8.7 625<br>> 0.94 9.8 -8.1 600<br>> -0.06 9.6 -7.8 575<br>> -1.46 8.2 -8.7 550<br>> -2.86 6.4 -9.6 525<br>> -4.36 4.4 -10.0 500<br>> -7.26 3.8 -10.9 475<br>> -10.16 3.7 -11.8 450<br>> -13.16 4.2 -12.7 425<br>> -16.46 6.8 -13.4 400<br>> -19.86 8.2 -13.6 375<br>> -23.86 8.4 -13.0 350<br>> -28.66 8.3 -12.2 325<br>> -33.36 9.8 -14.1 300<br>> -38.16 10.6 -14.1 275<br>> -43.46 10.8 -14.4 250<br>> -48.96 10.5 -13.1 225<br>> -54.96 14.4 -10.2 200<br>> -60.66 17.9 -10.5 175<br>> -64.36 12.1 -12.0 150<br>> -67.06 3.0 -8.2 125<br>> -67.16 4.0 -13.1 100<br>> -61.96 -2.1 -6.6 70<br>> -59.36 -8.1 -4.3 50<br>> -51.96 -5.1 -1.2 30<br>> -------------- next part --------------<br>> A non-text attachment was scrubbed...<br>> Name: vertout.gs<br>> Type: application/octet-stream<br>> Size: 850 bytes<br>> Desc: not available<br>> Url : http://gradsusr.org/pipermail/gradsusr/attachments/20100611/646b4357/attachment-0001.obj <br>> <br>> ------------------------------<br>> <br>> Message: 3<br>> Date: Fri, 11 Jun 2010 16:24:19 -0500<br>> From: Huber Pa?l Gilt L?pez <huber.gilt@igp.gob.pe><br>> Subject: Re: [gradsusr] Enable netcdf 4.1.1 option in grads configure<br>>         file<br>> To: "'GrADS Users Forum'" <gradsusr@gradsusr.org><br>> Message-ID: <201006112131.o5BLVWs6015700@geo.igp.gob.pe><br>> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> Hello Jennifer,<br>> <br>> <br>> <br>> Thanks you for your help, I just enabled the netcdf option but now after<br>> make command, akin the error message:<br>> <br>> <br>> <br>> <br>> <br>> gcc -DHAVE_CONFIG_H -I. -I../../supplibs/include/udunits<br>> -I../../supplibs/include/netcdf -I../../supplibs/include/hdf5<br>> -I/usr/include/hdf -g -O2 -c gasdf.c<br>> <br>> gasdf.c: In function 'read_metadata':<br>> <br>> gasdf.c:2278: error: 'name' undeclared (first use in this function)<br>> <br>> gasdf.c:2278: error: (Each undeclared identifier is reported only once<br>> <br>> gasdf.c:2278: error: for each function it appears in.)<br>> <br>> make[2]: *** [gasdf.o] Error 1<br>> <br>> make[2]: Leaving directory `/home/huber/grads/grads-2.0.a8/src'<br>> <br>> make[1]: *** [all] Error 2<br>> <br>> make[1]: Leaving directory `/home/huber/grads/grads-2.0.a8/src'<br>> <br>> make: *** [all-recursive] Error 1<br>> <br>> <br>> <br>> <br>> <br>> How can I fix this undeclared ?name??<br>> <br>> <br>> <br>> Please help me,<br>> <br>> <br>> <br>> Best regards,<br>> <br>> Huber<br>> <br>> <br>> <br>> <br>> <br>> _____ <br>> <br>> De: gradsusr-bounces@gradsusr.org [mailto:gradsusr-bounces@gradsusr.org] En<br>> nombre de Jennifer Adams<br>> Enviado el: viernes, 11 de junio de 2010 13:37<br>> Para: GrADS Users Forum<br>> Asunto: Re: [gradsusr] Enable netcdf 4.1.1 option in grads configure file<br>> <br>> <br>> <br>> <br>> <br>> On Jun 11, 2010, at 2:11 PM, Huber Pa?l Gilt L?pez wrote:<br>> <br>> <br>> <br>> <br>> <br>> Hello,<br>> <br>> <br>> <br>> I?m trying to build grads with netcdf option enable, after I configured the<br>> grads with this command:<br>> <br>> <br>> <br>> ./configure -?prefix=/opt/grads-2.0.a8 --with-sdf<br>> --with-netcdf-include=/home/huber/grads/supplibs/include/netcdf > config.out<br>> <br>> <br>> <br>> You should not need to specify any configure options (other than --prefix)<br>> to get netcdf support. I did not write any code to support the<br>> "--with-netcdf-include" option... <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> I had the following message that ludunits library is not found:<br>> <br>> <br>> <br>> Checking in supplibs for libraries to support netcdf-4 ...<br>> <br>> checking for udunits.h... (cached) yes<br>> <br>> checking for utInit in -ludunits... (cached) no<br>> <br>> - netcdf-4 disabled<br>> <br>> <br>> <br>> Then, I tried to build the source ldudunits library with the make command,<br>> and also I had this error:<br>> <br>> <br>> <br>> cc -o udunits -O udunits.o -R/data/hoop/udunits-1.11.7/src/lib<br>> -L/data/hoop/udunits-1.11.7/src/lib -ludunits<br>> -R/data/hoop/udunits-1.11.7/src/port/misc<br>> -L/data/hoop/udunits-1.11.7/src/port/misc -ludport -ly -lm<br>> <br>> (Bundled) cc: warning 922: "-O" is unsupported in the bundled compiler,<br>> ignored.<br>> <br>> (Bundled) cc: warning 901: unknown option:<br>> `-R/data/hoop/udunits-1.11.7/src/lib': use +help for online documentation.<br>> <br>> (Bundled) cc: warning 901: unknown option:<br>> `-R/data/hoop/udunits-1.11.7/src/port/misc': use +help for online<br>> documentation.<br>> <br>> ld: Can't find library for -ludunits<br>> <br>> Fatal error.<br>> <br>> <br>> <br>> Why the compilation needs the ludunits library, I was thought this library<br>> will be the output?<br>> <br>> <br>> <br>> What you're trying to build here is a utility called 'udunits' -- that is<br>> something that is built along with the library, but it is not necessary for<br>> GrADS. <br>> <br>> <br>> <br>> Look for a file called libudunits.a -- that is what GrADS needs -- and put<br>> it in your $SUPPLIBS/lib location. <br>> <br>> <br>> <br>> --Jennifer<br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> Please help me<br>> <br>> Best regards,<br>> <br>> <br>> <br>> Huber Paul Gilt Lopez<br>> <br>> IGP-Peru<br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> _______________________________________________<br>> gradsusr mailing list<br>> gradsusr@gradsusr.org<br>> http://gradsusr.org/mailman/listinfo/gradsusr<br>> <br>> <br>> <br>> --<br>> <br>> Jennifer M. Adams<br>> <br>> IGES/COLA<br>> <br>> 4041 Powder Mill Road, Suite 302<br>> <br>> Calverton, MD 20705<br>> <br>> jma@cola.iges.org<br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100611/1031c56a/attachment.html <br>> <br>> ------------------------------<br>> <br>> _______________________________________________<br>> gradsusr mailing list<br>> gradsusr@gradsusr.org<br>> http://gradsusr.org/mailman/listinfo/gradsusr<br>> <br>> <br>> End of gradsusr Digest, Vol 4, Issue 13<br>> ***************************************<br>                                            <br /><hr />Manage your finance and manage money through MSN Money Special <a href='http://news.in.msn.com/moneyspecial/' target='_new'>Drag n' drop</a></body>
</html>