[gradsusr] creating ctl files again

Wesley Ebisuzaki wesley.ebisuzaki at noaa.gov
Thu Jul 5 12:57:43 EDT 2012


Hi,

   Here it is.

--------------------------------------------- start of junk.ctl
-------------------------------------------------------
dset ^wnd10mx0.5.cdas1.201104.grb2
index ^wnd10mx0.5.cdas1.201104.grb2.idx
undef 9.999E+20
title wnd10mx0.5.cdas1.201104.grb2
* produced by g2ctl v0.0.8.5
* command line options: wnd10mx0.5.cdas1.201104.grb2
* griddef=1.1:0:(31 x 21):grid_template=0:winds(N/S): lat-lon grid:(31 x
21) units 1e-06 input WE:NS output WE:SN res 48 lat 52.000000 to 42.000000
by 0.500000 lon 354.000000 to 9.000000 by 0.500000 #points=651:winds(N/S)

dtype grib2
ydef 21 linear 42.000000 0.5
xdef 31 linear -6 0.500000
tdef 120 linear 01Z01apr2011 6hr
zdef 1 linear 1 1
vars 2
UGRD10m   0,103,10   0,2,2 ** 10 m above ground U-Component of Wind [m/s]
VGRD10m   0,103,10   0,2,3 ** 10 m above ground V-Component of Wind [m/s]
ENDVARS
---------------------------------------------------- end of junk.ctl
--------------------------------------------------

On Thu, Jul 5, 2012 at 11:06 AM, Antoine Molin <amolin at plenr.fr> wrote:

> Hi,****
>
> ** **
>
> In fact, i have not the g2ctl, and i wrote my cfsr5.ctl with the grads
> Users guide.****
>
> ** **
>
> Could you send me your junk.ctl ?****
>
> There should be another difference between your .ctl and mine.****
>
> Thanks, and best regards.****
>
> Antoine Molin****
>
> ** **
>
> *De :* gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org]
> *De la part de* Wesley Ebisuzaki
> *Envoyé :* jeudi 5 juillet 2012 15:58
> *À :* GrADS Users Forum
> *Objet :* Re: [gradsusr] creating ctl files again****
>
> ** **
>
> Antoine,
>
> I tried your grb2 file and I didn't have any problems on my linux box.
>
>        g2ctl wnd10mx0.5.cdas1.201104.grb2  >junk.ctl
>        gribmap -i junk.ctl               (gribmap version 2)
>
> I noticed that your ctl file doesn't have the line:  "* produced by g2ctl
> vXXXX.XXXX"
> This suggests that you are using a very old g2ctl (within 4 months of the
> initial release
> back in 2008).  You should upgrade to a more recent g2ctl and wgrib2.
> There have
> been 17 releases of g2ctl since then.
>
>
>        Wesley Ebisuzaki
>
>
>
>
>
> ****
>
> On Thu, Jul 5, 2012 at 8:24 AM, Antoine Molin <amolin at plenr.fr> wrote:****
>
> Hi,****
>
>  ****
>
> Well, i don’t know the perl language !****
>
>  ****
>
> I tried changing the path, working  in local, but it is not that ;
> looking at Grads User’s guide,
> http://www.iges.org/grads/gadoc/descriptorfile.html#VARS, it could be the
> format of the variable records ;****
>
>  ****
>
> From grib2scan –V :   parameter : disc, cat, num=0,2,3 and ltype, lval :
> 103, 1 e-129****
>
> From gribmap –V : lev1=103,10   var=0,2,2  ****
>
>  ****
>
> I tried both (see « cfsr5.ctl » for example) ; the .idx is well created ,
> but the UGRD & VGRD data are still false (« -9.99 E+0.8 »).****
>
>  ****
>
> Well, have i to learn Perl ??  any other solution ?****
>
>  ****
>
> Is gribmap working well with grib2 files ?****
>
>  ****
>
> Antoine****
>
>  ****
>
>  ****
>
>  ****
>
> *De :* gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org]
> *De la part de* Antoine Molin
> *Envoyé :* lundi 2 juillet 2012 15:37
> *À :* gradsusr at gradsusr.org
> *Objet :* [gradsusr] creating ctl files****
>
>  ****
>
> Good morning,****
>
>  ****
>
> I am trying to create a ctl file for grb2 files, and it doesn’t work ; see
> enclosed the grb2 file and my creation…****
>
>  ****
>
> Well, could you tell me where i could find a grib2ctl.exe under windows ?
> i am using the grads-2.0.1.oga.1-win32_superpack.****
>
> If this grib2ctl.exe doesn’t exist under windows, could you please tell me
> what is wrong with my .ctl ?****
>
> In fact, i can create the .idx with gribmap, but all my data are false…***
> *
>
> THanks a lot.****
>
>  ****
>
>  ****
>
> Antoine Molin****
>
> Etudes de vent PlenR****
>
> Tel : 03 20 47 99 76****
>
>  ****
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr****
>
> ** **
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120705/43277787/attachment-0003.html 


More information about the gradsusr mailing list