<div dir="auto">Thanks, I'll check them out. </div><br><div class="gmail_quote"><div dir="ltr">On Tue, 8 May 2018, 08:50 Davide Sacchetti, <<a href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I don't understand perfectly, but you could:<br>
<br>
1) extract data on surface with wgrib ... | wgrib -grib -i<br>
2) append data on pressure levs with wgrib ... | wgrib -append -grib -i<br>
... <br>
<br>
furthermore you can always join different grib datasets:<br>
cat dataset_surface dataset_levels > dataset_all<br>
or<br>
cat dataset_surface >> dataset_levels<br>
<br>
pay attention that grads works ONLY with the two datasets are on the<br>
same horizontal grid<br>
<br>
Davide<br>
<br>
On Mon, 2018-05-07 at 20:06 +0000, Charles Vanya wrote:<br>
> Dear David, <br>
> Your direction worked perfectly. Now another question would be, is it<br>
> possible to combine variables extracted from grib data on the surface<br>
> and grib data at different pressure levels such that in the end i<br>
> should have all pressure level variables and  surface or ground<br>
> variables? In the end i just need one grib data set file that<br>
> contains variables from two different files with different levels as<br>
> well.<br>
> Your <br>
> Charles Vanya<br>
> <br>
> Sent from Yahoo Mail on Android<br>
> <br>
> > On Mon, 7 May 2018 at 10:02, Davide Sacchetti<br>
> > <<a href="mailto:davide.sacchetti@arpal.gov.it" target="_blank" rel="noreferrer">davide.sacchetti@arpal.gov.it</a>> wrote:<br>
> > wgrib all_cosmodata | grep ':78hr fcst:' | egrep -i ":VGRD:|:UGRD:"<br>
> > \<br>
> > | wgrib -grib -i  all_cosmodata<br>
> > <br>
> > (in our suite U:kpds5=33:kpds6=110 -> UGRD)<br>
> > <br>
> > <br>
> > bye bye<br>
> > Davide<br>
> > <br>
> > On Mon, 2018-05-07 at 05:07 +0000, Charles Vanya wrote:<br>
> > > Dear All,<br>
> > > I am humbly looking for assistance. I have hourly data from COSMO<br>
> > > model which span for 78 hours and is in grib format. I would like<br>
> > to<br>
> > > extract specific variables for the whole 78hours and concatenate<br>
> > it<br>
> > > as one grib file.<br>
> > > I have tried to concatenate the files and when i run the wgrib<br>
> > > command to extract the variables i am looking for, i am only<br>
> > getting<br>
> > > data file for 2 days.<br>
> > > I started like this:<br>
> > > cat lfff00000000c lfff*00 > all_cosmodata<br>
> > >  To extract for specific variables<br>
> > > wgrib all_cosmodata | egrep -i<br>
> > > ":V:kpds5=34:kpds6:=110:|:U:kpds5=33:kpds6=110:" | wgrib -grep <br>
> > -i<br>
> > > all_cosmodata -o cosmodata_uv<br>
> > > Here am trying to extract surface u and v component of wind for<br>
> > all<br>
> > > 78hrs.<br>
> > > However my output shows me that i have only extracted two hours<br>
> > data.<br>
> > > Now my question is, how can i include the time steps so that i<br>
> > > extract all 78 hrs at once.<br>
> > > Your assistance will be highly appreciated.<br>
> > > Charles Langton Vanya<br>
> > > Chief Meteorological<br>
> > > Prediction Section<br>
> > > Dept. of Climate Change and Meteorological Services<br>
> > > P.O.Box 1808,<br>
> > > Blantyre.<br>
> > > Malawi<br>
> > > Tel:+265888980545<br>
> > > Sent from Yahoo Mail on Android<br>
> > <br>
> > > _______________________________________________<br>
> > > gradsusr mailing list<br>
> > > <a href="mailto:gradsusr@gradsusr.org" target="_blank" rel="noreferrer">gradsusr@gradsusr.org</a><br>
> > > <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
> > <br>
> > _______________________________________________<br>
> > gradsusr mailing list<br>
> > <a href="mailto:gradsusr@gradsusr.org" target="_blank" rel="noreferrer">gradsusr@gradsusr.org</a><br>
> > <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
> > <br>
<br>
</blockquote></div>