[gradsusr] Sub regions
Lee Byerle
lbyerle at yahoo.com
Sun Jan 8 12:34:21 EST 2012
Steven,
If you have wgrib2 and g2grb.gs, you can create a grib2 file for your
subregion using grads.
See:
http://www.cpc.ncep.noaa.gov/products/wesley/g2grb.html
Here is an example that would put 6 records in a single grib2 file:
'open your_file.ctl'
'set x __ __'
'set y __ __ '
'g2grb h(lev=1000) extrap.grb HGT:1000 mb:anl:packing=j:center=7'
'g2grb h(lev=925) +extrap.grb HGT:925 mb:anl:packing=j:center=7'
'g2grb h(lev=850) +extrap.grb HGT:850 mb:anl:packing=j:center=7'
'g2grb h(lev=700) +extrap.grb HGT:700 mb:anl:packing=j:center=7'
'g2grb h(lev=600) +extrap.grb HGT:600 mb:anl:packing=j:center=7'
'g2grb h(lev=500) +extrap.grb HGT:500 mb:anl:packing=j:center=7'
Lee
On Jan 7, 2012, at 9:31 AM, Steven Weiss wrote:
> Hi,
>
> I've got a grib2 file and would like to get a lat/lon sub region.
> I've seen lats4d can do this but it creates grib1 files. I'd like a
> grib2 file.
>
> Any ideas ?
>
> Regards
> Steven
> _______________________________________________
> 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/20120108/6f4d1727/attachment-0003.html
More information about the gradsusr
mailing list