[gradsusr] remove some grid values?

Joey Woodson instantweathermaps at gmail.com
Thu Feb 23 14:16:52 EST 2012


Have you tried the maskout function (possibly nested within the const
function)?

-- 

http://www.instantweathermaps.com


On Thu, Feb 23, 2012 at 12:25 PM, Jofre Janué <jjanue at hotmail.com> wrote:

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


More information about the gradsusr mailing list