[gradsusr] gradsusr Digest, Vol 74, Issue 36

Alvin Pura alvingpura at gmail.com
Thu Apr 28 22:50:45 EDT 2016


Hi Wesley,

It works!
Thanks a lot.


*Alvin*


On Fri, Apr 29, 2016 at 12:00 AM, <gradsusr-request at gradsusr.org> wrote:

> 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: WGRIB2 (Wesley Ebisuzaki - NOAA Federal)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 28 Apr 2016 09:51:30 -0400
> From: Wesley Ebisuzaki - NOAA Federal <wesley.ebisuzaki at noaa.gov>
> Subject: Re: [gradsusr] WGRIB2
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
>         <CAMHOGe=Vm8WtLzRp9S7FKHmGKiNuM55Z69jO=
> x1pWydXaAyn_Q at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Alvin,
>
> You might want to consider learning about regular expressions (regex).
> They are used in a
> number of computer languages and many utilities.  I had a little fun and
> wrote the regex on one line.
>
> wgrib2 in.grb -match ":((U|V)GRD:10 m above
> ground|PRMSL|(ABSV|HGT|UGRD|VGRD|TMP):(850|700|500) mb):" -grib out.grb
>
> For readability, I would use a slower version
>
> wgrib2 in.grb -match ":(UGRD:10 m above ground|VGRD:10 m above
> ground|PRMSL):" -grib out.grb
> wgrib2 in.grb -match ":(HGT|UGRD|VGRD|TMP):(850|700|500) mb:" -append -grib
> out.grb
>
> Wesley
>
>
> On Thu, Apr 28, 2016 at 3:42 AM, J43 <webmaster at meteorologic.net> wrote:
>
> > Hi,
> >
> > Use the command -match, wgrib2 -s  FullGrib.grb2 -match "(:HGT:500
> > mb:|:VGRD:10 m above ground:|:TMP:850 mb:)" -grib_out MinIGribFile.grb2
> >
> > To have a level and variable, make a simple index with a command -s :
> > wgrib2 -s FullGrib.grb2
> >
> > Best regards,
> >
> > J?r?my
> >
> >
> > Le 28/04/2016 ? 09:36, Alvin Pura a ?crit :
> >
> > Dear all,
> >
> > I have grib2 to files, but only wanted to select the following variables
> @
> > 850, 700 and 500 mb.
> >
> > 1. ABSV
> > 2.HGT
> > 3. PRMSL
> > 4. UGRD
> > 5. UGRD:10m
> > 6. VGRD
> > 7. VGRD:10m
> > 8. TMP
> >
> > I am successful using wgrib2 but cant figure out how to limit the
> > variables only for  850, 700 and 500mb level.
> >
> > Thanks.
> >
> >
> > *Alvin *
> >
> >
> >
> > _______________________________________________
> > gradsusr mailing listgradsusr at gradsusr.orghttp://
> gradsusr.org/mailman/listinfo/gradsusr
> >
> >
> >
> > _______________________________________________
> > 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/20160428/af6d015f/attachment-0001.html
>
> ------------------------------
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> End of gradsusr Digest, Vol 74, Issue 36
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160429/31baff26/attachment.html 


More information about the gradsusr mailing list