[gradsusr] Display Data from only Specific Levels

Netanel_H netanel at gmx.com
Thu Oct 15 03:40:10 EDT 2020


You can use wgrib+grep for creating new grib file with selected levels:

For example:
wgrib -s <ORIG-FILE> | grep "925 mb" | grep "875 mb" | grep "825 mb" |
wgrib -i -grib <ORIG-FILE> -o <NEW-FILE>

ב־ 15/10/20 01:28, ‏Mark Sponsler כתב\ה:
> Hi Stephen
> Good idea but it didn't work, probably because I didn't provide enough
> info.
>
> I'm trying to build a shaded plot with the selected levels on the y axis
> and time on the x axis for a single location.
>
> set lat 1
> set lon 1
> set t 1 81
> set lev 1000 550 (but only 925, 875, 825 etc)
> set gxout shaded
> d wind (lev 925, lev 875, lev 825 etc)
>
> How would one select the specified levs and then execute a single
> display operation?
>
> Thanks
> Mark
>
>
> On October 14, 2020 12:15:15 PM PDT, Stephen McMillan
> <smcmillan at planalytics.com> wrote:
>
>     Mark,
>     'set lev 1000'
>     'd wind(lev=925)'
>     'd wind(lev=875)'
>     etc.
>     OR
>     'set lev 925'
>     'd wind'
>     'set lev 875'
>     'd wind'
>     etc.
>
>     Stephen McMillan
>
>     On Wed, Oct 14, 2020 at 3:07 PM MARK SPONSLER <msponsler at comcast.net
>     <mailto:msponsler at comcast.net>> wrote:
>
>         __
>         Hi,
>         I have wind data in a grib file over a broad domain for all
>         levels from 1000 to 550 mbs.
>
>         I want to display wind data for specific levels, not all levels,
>         for a specific lat and lon for all times in the grib.
>
>         Question: Is there a way to 'set levs 925, 875, 825 etc'
>         ....versus 'set lev 1000 550'?
>
>         I literally want to ignore the data in level 900, 850, 800 ... etc.
>
>         Any suggestions?
>
>         Thanks,
>         Mark
>         _______________________________________________
>         gradsusr mailing list
>         gradsusr at gradsusr.org <mailto: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.
>
>     ***************************************************
>
>
> --
> Thanks
> Mark Sponsler
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr



More information about the gradsusr mailing list