<div>thanks Wesley for the code line,<br>my script runs,but it builds an incomplete grib file in output (only this variable: APCP=Total precipitation [kg/m^2] ) and this error:<br><br>getgbem prog error jf= 0<br>STOP 8<br>
</div>
<div>Do you know it?</div>
<div> </div>
<div>thanks for the patience</div>
<div> </div>
<div>Teresa</div>
<div> </div>
<div> </div>
<div>PS this is my bash script:</div>
<div><font size="2">
<p>grid='255 0 162 162 279 -62459 128 89795 70381 550 820 64'</p>
<p>g1='/home/grib/UKM/UKM_D_2007122900.grb'</p>
<p>g2='/home/grib/UKM/UKM_A_2007122900.grb'</p>
<p>command='/home/grib/teresa/xgrib/copygb-g95/copygb.fd/copygb'</p>
<p>$command -g"$grid" -M $g1 -x $g2 scriptgribout.grb</p></font></div>
<div> </div>
<div> </div>
<div><br>2007/12/31, Wesley Ebisuzaki <<a href="mailto:Wesley.Ebisuzaki@noaa.gov">Wesley.Ebisuzaki@noaa.gov</a>>:<br>> Teressa,<br>> <br>> I clipped a line from a script:<br>> <br>> copygb -g"$outgrid" -M$file.tile.1 -x $file.tile.2 $out
<br>> <br>> Not clear what the problem is. Maybe shouldn't have a space after the -M.<br>> You can also add a -X to get more error messages.<br>> <br>> Wesley<br>> <br>> <br>> teresa tiberi wrote:
<br>> > dear Wesley,<br>> ><br>> > I'm testing different ways to work with copygb to obtain a grib file<br>> > from my two grib files,but I haven't results.<br>> > I use this command lines:
<br>> > grid='255 0 162 216 279 -106739 128 89795 70381 550 820 64'<br>> > # grid='255 0 162 162 279 -62459 128 89795 70381 550 820 64'<br>> > g1='/home/grib/UKM/UKM_D_2007122900.grb'
<br>> > g2='/home/grib/UKM/UKM_A_2007122900.grb'<br>> > command='/home/grib/teresa/xgrib/copygb-g95/copygb.fd/copygb'<br>> > $command -xg"$grid" -M $g1 $g2 scriptgribout.grb<br>
> ><br>> > but my output is a null file.<br>> ><br>> > my two grib file have the same time,same lat but different lon.I will<br>> > make a big grib where I put the same variable from lon of file g1 and
<br>> > from lon of file g2.<br>> > g1: lon -108.75 -19.618<br>> > g2: lon -18.75 70.381<br>> > out: lon -106.279 70.318<br>> ><br>> > could you tell me if I wrong in some step?<br>> > thanks in advance
<br>> ><br>> > Teresa<br>> ><br>> ><br>> > 2007/12/29, teresa tiberi <<a href="mailto:crancyfera@gmail.com">crancyfera@gmail.com</a>>:<br>> ><br>> >> hello,<br>> >> I read the readme and so on,but does copygb work only with 1 grib file?
<br>> >> can I put in input 2 grib file?<br>> >> thanks in advance<br>> >><br>> >> Teresa<br>> >><br>> >> 2007/12/28, Wesley Ebisuzaki <<a href="mailto:Wesley.Ebisuzaki@noaa.gov">
Wesley.Ebisuzaki@noaa.gov</a>>:<br>> >><br>> >><br>> >>> teresa tiberi wrote:<br>> >>><br>> >>>> hello!<br>> >>>><br>> >>>> can someone help me to join 2 grib file where there are the same
<br>> >>>> time, lat and quote dimensions but different lat?<br>> >>>><br>> >>>> thanks<br>> >>>> Teresa<br>> >>>><br>> >>>>
<br>> >>>><br>> >>> Teresa,<br>> >>><br>> >>> Copygb can combine different grids together.<br>> >>><br>> >>> Wesley<br>> >>>
<br>> >>><br>> >><br>> <br> </div>