[gradsusr] Output file is not written

Geeta Geeta geeta124 at hotmail.com
Sat Jun 12 08:27:30 EDT 2010


Dear All, 

I am running this following grads script for extracting the FORECAST temperature for a particular lat/lon.  
  This script opens this grads template ctl file and the data files.  
'reinit'

''open /temp/WORK/RUN00/wrf-outp_d01.ctl'

'set x 77.5'

'set y 12.5'

'set gxout print'

'set prnopts %1.2f'

ts=1

while (ts=52)

'd (t2(t='ts')-273.16)'

tmpbng=sublin(result,1)

rc=write(/testuser/model/abc.dat,tmpbng,append)

ts=ts+1

endwhile
On running the grads, 

ga-> run t2avg.gs


No hardcopy metafile open


All files closed; all defined objects released


All GrADS attributes have been reinitialized



This scripts is RUN OK. But No output file is created. 
Kindly suggest. 
geeta



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


More information about the gradsusr mailing list