grib2join

Wesley Ebisuzaki Wesley.Ebisuzaki at NOAA.GOV
Mon Dec 31 13:21:29 EST 2007


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
>>>
>>>
>>


More information about the gradsusr mailing list