Have you tried the maskout function (possibly nested within the const function)?<br><br>-- <br><br><a href="http://www.instantweathermaps.com/" target="_blank">http://www.instantweathermaps.com</a><br><br><br><div class="gmail_quote">
On Thu, Feb 23, 2012 at 12:25 PM, Jofre Janué <span dir="ltr"><<a href="mailto:jjanue@hotmail.com">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">
<div><div dir="ltr">
How can I use the command "cmin" or something similar, to remove some grid values when I use gxout grid?<br><br><div><div></div>> From: <a href="mailto:gradsusr-request@gradsusr.org" target="_blank">gradsusr-request@gradsusr.org</a><br>
> Subject: gradsusr Digest, Vol 24, Issue 32<br>> To: <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>> Date: Thu, 23 Feb 2012 07:26:11 -0500<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. How to resolve reading of files and units? (Marshall Mdoka)<br>> 2. help (Dr AP DIMRI)<br>> 3. Error when using VINT function (Michael Bala)<br>
> <br>> <br>> ----------------------------------------------------------------------<br>> <br>> Message: 1<br>> Date: Wed, 22 Feb 2012 18:14:38 +0200<br>> From: Marshall Mdoka <<a href="mailto:marshall.mdoka@monash.edu" target="_blank">marshall.mdoka@monash.edu</a>><br>
> Subject: [gradsusr] How to resolve reading of files and units?<br>> To: <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>> Message-ID: <<a href="mailto:4F45146E.3080703@monash.edu" target="_blank">4F45146E.3080703@monash.edu</a>><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> Dear All,<br>> <br>> I haven't used Grads in a while and was trying to open nc files and got<br>> the message below:<br>> <br>
> Definition of "kt" in "/usr/share/xml/udunits2.xml", line 86, overrides<br>> prefixed-unit 1000kg.......<br>> <br>> How do I resolve the problem of not reading .nc or .dat files in Grads?<br>
> I have used the sdfopen/open for nc/dat respectively without success.<br>> <br>> Your assistance is greatly appreciated.<br>> <br>> Regards,<br>> <br>> Marshall<br>> <br>> -- <br>> ?? ??? ?<br>
> <br>> -------------- next part --------------<br>> A non-text attachment was scrubbed...<br>> Name: marshall_mdoka.vcf<br>> Type: text/x-vcard<br>> Size: 366 bytes<br>> Desc: not available<br>> Url : <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20120222/63e33111/attachment-0001.vcf" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20120222/63e33111/attachment-0001.vcf</a> <br>
> <br>> ------------------------------<br>> <br>> Message: 2<br>> Date: Thu, 23 Feb 2012 13:32:17 +0530<br>> From: Dr AP DIMRI <<a href="mailto:apdimri@hotmail.com" target="_blank">apdimri@hotmail.com</a>><br>
> Subject: [gradsusr] help<br>> To: <<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>><br>> Message-ID: <SNT115-W40FEE9D2CB79CA62B873B7A5650@phx.gbl><br>> Content-Type: text/plain; charset="iso-8859-1"<br>
> <br>> <br>> How to compute phase velocity ( along 35N cross section) in GrADs? Any script? <br>> Please help.<br>> <br>> <br>> Sincerely<br>> Dimri<br>> ______________________________<br>> Dimri, A. P.<br>
> School of Environmental Sciences<br>> Jawaharlal Nehru University<br>> New Delhi, India<br>> ______________________________<br>> <br>> <br>> Date: Wed, 22 Feb 2012 08:55:01 +0700<br>> From: <a href="mailto:chinhth2010@gmail.com" target="_blank">chinhth2010@gmail.com</a><br>
> To: <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>> Subject: Re: [gradsusr] Problem with station data<br>> <br>> Dear user<br>> For stn station format, you can consult by attached files that I sent<br>
> Best wish<br>> <br>> <br>> <br>> On 2/22/12, Arlindo da Silva <<a href="mailto:dasilva@alum.mit.edu" target="_blank">dasilva@alum.mit.edu</a>> wrote:<br>> > On Tue, Feb 21, 2012 at 10:14 AM, Francesco Piani <<br>
> > <a href="mailto:piani@lamma.rete.toscana.it" target="_blank">piani@lamma.rete.toscana.it</a>> wrote:<br>> ><br>> >> Hi all.<br>> >> I'm always using a fortran program (attached) to convert an ASCII file<br>
> >> into a binary station-data file readable from Grads.<br>> >> Recently, I try to port this program in a 64-bit machine and the procedure<br>> >> doesn't work. Fortran program (compiler gfortran) seems to work because it<br>
> >> produces a binary data (.gra file) and the correspondent ctl file (.ctl<br>> >> file) but stnmap gives an error (stnmap.log attached).<br>> >> Could anyone help me?<br>> >><br>> >><br>
> > Which fortran compiler are you using? If using gfortran with sequential<br>> > files use this command line option:<br>> ><br>> > gfortran -frecord-marker=4 myfile.f<br>> ><br>> ><br>
> > Arlindo<br>> ><br>> ><br>> ><br>> ><br>> >> Thanks in advance.<br>> >><br>> >> Francesco.<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>> ><br>> <br>
> <br>> -- <br>> (Mr.) Ta Huu Chinh<br>> National, Weather Forecasting Center, Ha Noi, Viet Nam.<br>> No: 4th, Dang Thai Than, Hoan Kiem, Ha Noi<br>> Tel: 84-903-402-181<br>> Office: 84-43-824-4917<br>
> Email: <a href="mailto:chinhth2010@gmail.com" target="_blank">chinhth2010@gmail.com</a><br>> Website: <a href="http://vn.myblog.yahoo.com/chinhth2005/" target="_blank">http://vn.myblog.yahoo.com/chinhth2005/</a><br>
> Website: <a href="http://bestknowledge-chinhth.blogspot.com/" target="_blank">http://bestknowledge-chinhth.blogspot.com/</a><br>> Website: <a href="http://anhcuoidep.vn" target="_blank">http://anhcuoidep.vn</a><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>
> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20120223/847530f3/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20120223/847530f3/attachment-0001.html</a> <br>
> <br>> ------------------------------<br>> <br>> Message: 3<br>> Date: Thu, 23 Feb 2012 20:26:10 +0800<br>> From: Michael Bala <<a href="mailto:ekimalab@gmail.com" target="_blank">ekimalab@gmail.com</a>><br>
> Subject: [gradsusr] Error when using VINT function<br>> To: <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>> Message-ID:<br>>         <CAGoTcjs_dOk64N45JLxSs-=1oiZL3eUEODgKPdhcgO=<a href="mailto:GFzD8ow@mail.gmail.com" target="_blank">GFzD8ow@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> Hi,<br>> <br>> I am fairly new to GrADS and I'm trying to compute for<br>> vertically-integrated water vapor from my WRF output. I used the VINT<br>
> function<br>> <br>> 'a = vint(psfc,qvapor,275)'<br>> ><br>> <br>> but I get this error:<br>> <br>> *** glibc detected *** grads: corrupted double-linked list: 0x09c52f88 ***<br>> ><br>
> <br>> <br>> I hope you can help me. Thanks so much!<br>> <br>> Mike<br>> <br>> <br>> <br>> Here is the rest of the error message:<br>> <br>> <br>> ======= Backtrace: =========<br>> /lib/libc.so.6[0x45bbcd22]<br>
> /lib/libc.so.6[0x45bbe06d]<br>> grads[0x80ca6d1]<br>> grads[0x80e0d35]<br>> grads[0x804e776]<br>> /lib/libc.so.6(__libc_start_main+0xf3)[0x45b606b3]<br>> grads[0x804ed21]<br>> ======= Memory map: ========<br>
> 08045000-08190000 r-xp 00000000 fd:01 159805 /usr/bin/grads<br>> 08190000-08191000 r--p 0014a000 fd:01 159805 /usr/bin/grads<br>> 08191000-08195000 rw-p 0014b000 fd:01 159805 /usr/bin/grads<br>> 08195000-08394000 rw-p 00000000 00:00 0<br>
> 09c0b000-09c61000 rw-p 00000000 00:00 0 [heap]<br>> 40000000-40001000 r-xp 00000000 00:00 0 [vdso]<br>> 40001000-40004000 rw-p 00000000 00:00 0<br>> 40004000-4000b000 r--s 00000000 fd:01 155664<br>
> /usr/lib/gconv/gconv-modules.cache<br>> 4000b000-4000d000 rw-p 00000000 00:00 0<br>> 40016000-4020c000 rw-p 00000000 00:00 0<br>> 4020c000-4040c000 r--p 00000000 fd:01 155661<br>> /usr/lib/locale/locale-archive<br>
> 4040c000-40431000 rw-p 00000000 00:00 0<br>> 416be000-416f9000 r-xp 00000000 fd:01 144621 /usr/lib/libproj.so.0.6.6<br>> 416f9000-416fb000 rw-p 0003a000 fd:01 144621 /usr/lib/libproj.so.0.6.6<br>> 416fd000-4171e000 r-xp 00000000 fd:01 155774 /usr/lib/libgd.so.2.0.0<br>
> 4171e000-4171f000 r--p 00021000 fd:01 155774 /usr/lib/libgd.so.2.0.0<br>> 4171f000-4173e000 rw-p 00022000 fd:01 155774 /usr/lib/libgd.so.2.0.0<br>> 4173e000-41743000 rw-p 00000000 00:00 0<br>> 41745000-41765000 r-xp 00000000 fd:01 159820<br>
> /usr/lib/libgeotiff.so.1.2.5<br>> 41765000-4176a000 rw-p 0001f000 fd:01 159820<br>> /usr/lib/libgeotiff.so.1.2.5<br>> 4176c000-41777000 r-xp 00000000 fd:01 144506 /usr/lib/libshp.so.1.0.1<br>> 41777000-41778000 rw-p 0000a000 fd:01 144506 /usr/lib/libshp.so.1.0.1<br>
> 45b22000-45b43000 r-xp 00000000 fd:01 28657 /lib/<a href="http://ld-2.14.90.so" target="_blank">ld-2.14.90.so</a><br>> 45b43000-45b44000 r--p 00020000 fd:01 28657 /lib/<a href="http://ld-2.14.90.so" target="_blank">ld-2.14.90.so</a><br>
> 45b44000-45b45000 rw-p 00021000 fd:01 28657 /lib/<a href="http://ld-2.14.90.so" target="_blank">ld-2.14.90.so</a><br>> 45b47000-45ced000 r-xp 00000000 fd:01 28660 /lib/<a href="http://libc-2.14.90.so" target="_blank">libc-2.14.90.so</a><br>
> 45ced000-45cef000 r--p 001a6000 fd:01 28660 /lib/<a href="http://libc-2.14.90.so" target="_blank">libc-2.14.90.so</a><br>> 45cef000-45cf0000 rw-p 001a8000 fd:01 28660 /lib/<a href="http://libc-2.14.90.so" target="_blank">libc-2.14.90.so</a><br>
> 45cf0000-45cf3000 rw-p 00000000 00:00 0<br>> 45cf5000-45d0c000 r-xp 00000000 fd:01 28661 /lib/<a href="http://libpthread-2.14.90.so" target="_blank">libpthread-2.14.90.so</a><br>> 45d0c000-45d0d000 r--p 00016000 fd:01 28661 /lib/<a href="http://libpthread-2.14.90.so" target="_blank">libpthread-2.14.90.so</a><br>
> 45d0d000-45d0e000 rw-p 00017000 fd:01 28661 /lib/<a href="http://libpthread-2.14.90.so" target="_blank">libpthread-2.14.90.so</a><br>> 45d0e000-45d10000 rw-p 00000000 00:00 0<br>> 45d12000-45d15000 r-xp 00000000 fd:01 28668 /lib/<a href="http://libdl-2.14.90.so" target="_blank">libdl-2.14.90.so</a><br>
> 45d15000-45d16000 r--p 00002000 fd:01 28668 /lib/<a href="http://libdl-2.14.90.so" target="_blank">libdl-2.14.90.so</a><br>> 45d16000-45d17000 rw-p 00003000 fd:01 28668 /lib/<a href="http://libdl-2.14.90.so" target="_blank">libdl-2.14.90.so</a><br>
> 45d19000-45d21000 r-xp 00000000 fd:01 28662 /lib/<a href="http://librt-2.14.90.so" target="_blank">librt-2.14.90.so</a><br>> 45d21000-45d22000 r--p 00007000 fd:01 28662 /lib/<a href="http://librt-2.14.90.so" target="_blank">librt-2.14.90.so</a><br>
> 45d22000-45d23000 rw-p 00008000 fd:01 28662 /lib/<a href="http://librt-2.14.90.so" target="_blank">librt-2.14.90.so</a><br>> 45d25000-45d4e000 r-xp 00000000 fd:01 28672 /lib/<a href="http://libm-2.14.90.so" target="_blank">libm-2.14.90.so</a><br>
> 45d4e000-45d4f000 r--p 00028000 fd:01 28672 /lib/<a href="http://libm-2.14.90.so" target="_blank">libm-2.14.90.so</a><br>> 45d4f000-45d50000 rw-p 00029000 fd:01 28672 /lib/<a href="http://libm-2.14.90.so" target="_blank">libm-2.14.90.so</a><br>
> 45d52000-45d6e000 r-xp 00000000 fd:01 28670<br>> /lib/libgcc_s-4.6.2-20111027.so.1<br>> 45d6e000-45d6f000 rw-p 0001b000 fd:01 28670<br>> /lib/libgcc_s-4.6.2-20111027.so.1<br>> 45d71000-45d81000 r-xp 00000000 fd:01 158897 /usr/lib/libXpm.so.4.11.0<br>
> 45d81000-45d82000 rw-p 00010000 fd:01 158897 /usr/lib/libXpm.so.4.11.0<br>> 45d89000-45da7000 r-xp 00000000 fd:01 28676 /lib/libselinux.so.1<br>> 45da7000-45da8000 r--p 0001d000 fd:01 28676 /lib/libselinux.so.1<br>
> 45da8000-45da9000 rw-p 0001e000 fd:01 28676 /lib/libselinux.so.1<br>> 45dab000-45de1000 r-xp 00000000 fd:01 15479 /lib/libreadline.so.6.2<br>> 45de1000-45de5000 rw-p 00036000 fd:01 15479 /lib/libreadline.so.6.2<br>
> 45de5000-45de6000 rw-p 00000000 00:00 0<br>> 45ecf000-45ee6000 r-xp 00000000 fd:01 28677 /lib/<a href="http://libresolv-2.14.90.so" target="_blank">libresolv-2.14.90.so</a><br>> 45ee6000-45ee7000 r--p 00016000 fd:01 28677 /lib/<a href="http://libresolv-2.14.90.so" target="_blank">libresolv-2.14.90.so</a><br>
> 45ee7000-45ee8000 rw-p 00017000 fd:01 28677 /lib/<a href="http://libresolv-2.14.90.so" target="_blank">libresolv-2.14.90.so</a><br>> 45ee8000-45eea000 rw-p 00000000 00:00 0<br>> 4609b000-460b8000 r-xp 00000000 fd:01 158268 /usr/lib/libxcb.so.1.1.0<br>
> 460b8000-460b9000 rw-p 0001d000 fd:01 158268 /usr/lib/libxcb.so.1.1.0<br>> 460bb000-461f0000 r-xp 00000000 fd:01 158269 /usr/lib/libX11.so.6.3.0<br>> 461f0000-461f4000 rw-p 00134000 fd:01 158269 /usr/lib/libX11.so.6.3.0<br>
> 46242000-46244000 r-xp 00000000 fd:01 158267 /usr/lib/libXau.so.6.0.0<br>> 46244000-46245000 rw-p 00001000 fd:01 158267 /usr/lib/libXau.so.6.0.0<br>> 46273000-46299000 r-xp 00000000 fd:01 28673 /lib/libexpat.so.1.5.2<br>
> 46299000-4629b000 rw-p 00026000 fd:01 28673 /lib/libexpat.so.1.5.2<br>> 46414000-46447000 r-xp 00000000 fd:01 158265<br>> /usr/lib/libfontconfig.so.1.4.4<br>> 46447000-46448000 rw-p 00033000 fd:01 158265<br>
> /usr/lib/libfontconfig.so.1.4.4<br>> 4644a000-464e2000 r-xp 00000000 fd:01 158264<br>> /usr/lib/libfreetype.so.6.7.1<br>> 464e2000-464e6000 r--p 00097000 fd:01 158264<br>> /usr/lib/libfreetype.so.6.7.1<br>
> 464e6000-464e7000 rw-p 0009b000 fd:01 158264<br>> /usr/lib/libfreetype.so.6.7.1<br>> 464e9000-464f2000 r-xp 00000000 fd:01 158270<br>> /usr/lib/libXrender.so.1.3.0<br>> 464f2000-464f3000 rw-p 00008000 fd:01 158270<br>
> /usr/lib/libXrender.so.1.3.0<br>> 46636000-4663a000 r-xp 00000000 fd:01 158278 /usr/lib/libXfixes.so.3.1.0<br>> 4663a000-4663b000 rw-p 00003000 fd:01 158278 /usr/lib/libXfixes.so.3.1.0<br>> 46749000-46752000 r-xp 00000000 fd:01 158279<br>
> /usr/lib/libXcursor.so.1.0.2<br>> 46752000-46753000 rw-p 00008000 fd:01 158279<br>> /usr/lib/libXcursor.so.1.0.2<br>> 46764000-467ad000 r-xp 00000000 fd:01 26164 /lib/libfreebl3.so<br>> 467ad000-467ae000 rw-p 00048000 fd:01 26164 /lib/libfreebl3.so<br>
> 467ae000-467b2000 rw-p 00000000 00:00 0<br>> 467b4000-467bc000 r-xp 00000000 fd:01 28681 /lib/<a href="http://libcrypt-2.14.90.so" target="_blank">libcrypt-2.14.90.so</a><br>> 467bc000-467bd000 r--p 00007000 fd:01 28681 /lib/<a href="http://libcrypt-2.14.90.so" target="_blank">libcrypt-2.14.90.so</a><br>
> 467bd000-467be000 rw-p 00008000 fd:01 28681 /lib/<a href="http://libcrypt-2.14.90.so" target="_blank">libcrypt-2.14.90.so</a><br>> 467be000-467e5000 rw-p 00000000 00:00 0<br>> 46de2000-46e1b000 r-xp 00000000 fd:01 28689 /lib/libnspr4.so<br>
> 46e1b000-46e1d000 rw-p 00038000 fd:01 28689 /lib/libnspr4.so<br>> 46e1d000-46e1e000 rw-p 00000000 00:00 0<br>> 46ea3000-46ea6000 r-xp 00000000 fd:01 28691 /lib/libplds4.so<br>> 46ea6000-46ea7000 rw-p 00002000 fd:01 28691 /lib/libplds4.so<br>
> 46ea9000-46ead000 r-xp 00000000 fd:01 28690 /lib/libplc4.so<br>> 46ead000-46eae000 rw-p 00003000 fd:01 28690 /lib/libplc4.so<br>> 46eb0000-46fee000 r-xp 00000000 fd:01 158300 /usr/lib/libnss3.so<br>
> 46fee000-46ff2000 rw-p 0013d000 fd:01 158300 /usr/lib/libnss3.so<br>> 46ff2000-46ff3000 rw-p 00000000 00:00 0<br>> 47008000-4701f000 r-xp 00000000 fd:01 158299 /usr/lib/libnssutil3.so<br>> 4701f000-47022000 rw-p 00017000 fd:01 158299<br>
> /usr/lib/libnssutil3.soAborted (core dumped)<br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20120223/9459c6c7/attachment.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20120223/9459c6c7/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 24, Issue 32<br>> ****************************************<br>
</div>                                            </div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<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></blockquote></div><br><br clear="all"><br><br>