[gradsusr] Lats4d

Arlindo da Silva dasilva at alum.mit.edu
Mon Nov 14 16:14:56 EST 2011


2011/11/14 Дарья <darik777 at i.ua>

> According to wgrib .grb file created by  lats4d command has the following
> structure
>
> rec 1:0:date 2007081500 TMP kpds5=11 kpds6=1 kpds7=0 levels=(0,0) grid=255
> sfc anl:
>  TMP=Temp. [K]
>  timerange 0 P1 0 P2 0 TimeU 1  nx 209 ny 139 GDS grid 0 num_in_ave 0
> missing
> 0
>  center 100 subcenter 2 process 13 Table 128
>  latlon: lat  37.788000 to 48.977000 by 0.081000  nxny 29051
>          long 21.610000 to 38.475000 by 0.081000, (209 x 139) scan 2 mode
> 128 bdsgrid 1
>  min/max data 271.97 300.67  num bits 9  BDS_Ref 2719.7  DecScale 1
> BinScale 0
>
> However, I need to change some parameters of the grb file:
> "grid" (from 255 to 3)
> "center" (from 100 to 7)
> "subcenter" (from 2 to 0)
>  "process" (from 13 to 82)
> "scan" (from 2 to 0)
>
> Is there any way to do it by lats4d command?
>
>
You can control some of the details of the grib-1 file with a lats
parameter table, see the lats4d documentation (with "lats4d.sh -h"). When a
parameter table it is not specified, lats4d creates one for you on the fly.
Look for file .grads.lats.table on the directory you ran lats4d from.
Rename this file and edit it by hand. However, not everything can be
customized this way.

Wes, the resident GRIB wizard,  may be able to suggest some wgrib trick for
doing this.

     Arlindo






> -- реклама -----------------------------------------------------------
> Акция в Книжном Клубе - Более 100 книг по 10 грн + книга в подарок!
> http://www.bookclub.ua/catalog/join/?utm_source=iua&utm_medium=email
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>



-- 
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20111114/802b85d0/attachment-0003.html 


More information about the gradsusr mailing list