[gradsusr] COPYGB

Alvin Pura alvingpura at gmail.com
Wed Mar 9 00:35:02 EST 2016


*Dear all,I run copygb with the following option as shown below:*



*grid='255 0 NX NY LAT0 LON0 128 LAT1 LON1 DX DY 0'
copygb -g"$grid" -x inxxx.grb outxxx.grb*




*However,upon checking (using wgrib -V option) I found out that the
min/max data on the New GRID shows a rounded off numbers instead of
having a four decimal value. Is someone has an idea how can I get the
same value as the Original GRID (with 4 decimal place value)?*

* Original GRID*

rec 137:6098988:date 2013110700 VGRD kpds5=34 kpds6=103 kpds7=13716
levels=(53,148) grid=255 13716 m above MSL anl:
  VGRD=v wind [m/s]
  timerange 1 P1 0 P2 0 TimeU 1  nx 181 ny 213 GDS grid 1 num_in_ave 0 missing 0
  center 201 subcenter 1 process 1 Table 2 scan: WE:SN winds(grid)
  Mercator: lat  2.351000 to 25.088000 by 12.000000 km  nxny 38553
          long 114.990000 to 135.009000 by 12.000000 km, (181 x 213)
scan 64 mode 136 Latin 14.000000 bdsgrid 1
 * min/max data -24.2939 34.5061  num bits 10  BDS_Ref -242.939*
DecScale 1 BinScale 0


* New GRID*

rec 137:6073536:date 2013110700 VGRD kpds5=34 kpds6=103 kpds7=13716
levels=(53,148) grid=255 13716 m above MSL anl:
  VGRD=v wind [m/s]
  timerange 1 P1 0 P2 0 TimeU 1  nx 181 ny 213 GDS grid 0 num_in_ave 0 missing 0
  center 201 subcenter 1 process 1 Table 2 scan: WE:NS winds(N/S)
  latlon: lat  2.351000 to 25.088000 by 0.108000  nxny 38553
          long 114.990000 to 135.009000 by 0.108000, (181 x 213) scan
0 mode 128 bdsgrid 1
  *min/max data -24.3 34.5  num bits 10  BDS_Ref -243*  DecScale 1 BinScale 0

Thanks.

*Alvin G. Pura*
*Weather Specialist I*
Numerical Modeling Section
Research and Development and Training Division
PAGASA - DOST
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160308/1dee0416/attachment.html 


More information about the gradsusr mailing list