grib2join

teresa tiberi crancyfera at GMAIL.COM
Thu Jan 3 12:09:57 EST 2008


thanks Wesley for the code line,
my script runs,but it builds an incomplete grib file in output (only this
variable:  APCP=Total precipitation [kg/m^2] ) and this error:

getgbem prog error jf= 0
STOP 8

Do you know it?

thanks for the patience

Teresa


PS this is my bash script:

grid='255 0 162 162 279 -62459 128 89795 70381 550 820 64'

g1='/home/grib/UKM/UKM_D_2007122900.grb'

g2='/home/grib/UKM/UKM_A_2007122900.grb'

command='/home/grib/teresa/xgrib/copygb-g95/copygb.fd/copygb'

$command -g"$grid" -M $g1 -x $g2 scriptgribout.grb



2007/12/31, Wesley Ebisuzaki <Wesley.Ebisuzaki at noaa.gov>:
> Teressa,
>
> I clipped a line from a script:
>
>   copygb -g"$outgrid" -M$file.tile.1 -x $file.tile.2 $out
>
> Not clear what the problem is.  Maybe shouldn't have a space after the -M.
> You can also add a -X to get more error messages.
>
>       Wesley
>
>
> teresa tiberi wrote:
> > dear Wesley,
> >
> > I'm testing different ways to work with copygb to obtain a grib file
> > from my two grib files,but I haven't results.
> > I use this command lines:
> > grid='255 0 162 216 279 -106739 128 89795 70381 550 820 64'
> > # grid='255 0 162 162 279 -62459 128 89795 70381 550 820 64'
> > g1='/home/grib/UKM/UKM_D_2007122900.grb'
> > g2='/home/grib/UKM/UKM_A_2007122900.grb'
> > command='/home/grib/teresa/xgrib/copygb-g95/copygb.fd/copygb'
> > $command -xg"$grid" -M $g1 $g2 scriptgribout.grb
> >
> > but my output is a null file.
> >
> > my two grib file have the same time,same lat but different lon.I will
> > make a big grib where I put the same variable from lon of file g1 and
> > from lon of file g2.
> > g1: lon -108.75 -19.618
> > g2: lon -18.75 70.381
> > out: lon -106.279 70.318
> >
> > could you tell me if I wrong in some step?
> > thanks in advance
> >
> > Teresa
> >
> >
> > 2007/12/29, teresa tiberi <crancyfera at gmail.com>:
> >
> >> hello,
> >> I read the readme and so on,but does copygb work only with 1 grib file?
> >> can I put in input 2 grib file?
> >> thanks in advance
> >>
> >> Teresa
> >>
> >> 2007/12/28, Wesley Ebisuzaki <Wesley.Ebisuzaki at noaa.gov>:
> >>
> >>
> >>> teresa tiberi wrote:
> >>>
> >>>>     hello!
> >>>>
> >>>>     can someone help me to join 2 grib file where there are the same
> >>>>     time, lat and quote dimensions but different lat?
> >>>>
> >>>>     thanks
> >>>>     Teresa
> >>>>
> >>>>
> >>>>
> >>> Teresa,
> >>>
> >>>   Copygb can combine different grids together.
> >>>
> >>>         Wesley
> >>>
> >>>
> >>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20080103/0cf279ea/attachment.html 


More information about the gradsusr mailing list