[gradsusr] gradsusr Digest, Vol 23, Issue 25

Nabanita Borah nabanitaborah at gmail.com
Fri Jan 20 02:21:17 EST 2012


Hi all,

Thanks for all your response.

@Andrew ::
giving full path instead of ^ , has not solved.

@Jeff and @Wesley ::
This is how my data files are named -- pgbh_{*currentDate*}.gdas2.{*
InitialConditionDate*}

So the first time of my output is 02Z20Feb2011

Following your suggestions (Earlier also I had tried this option), I
changed the tdef first time step from 00Z21feb2011 to 02Z20Feb2011. But now
when I do gribmap it says  "Time out of bounds".

So I am still stuck.

Regards,
Nabanita
=========


On Fri, Jan 20, 2012 at 2:58 AM, <gradsusr-request at gradsusr.org> wrote:

> Send gradsusr mailing list submissions to
>        gradsusr at gradsusr.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://gradsusr.org/mailman/listinfo/gradsusr
> or, via email, send a message with subject or body 'help' to
>        gradsusr-request at gradsusr.org
>
> You can reach the person managing the list at
>        gradsusr-owner at gradsusr.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gradsusr digest..."
>
>
> Today's Topics:
>
>   1. ctl file for multiple grib files (Nabanita Borah)
>   2. Re: ctl file for multiple grib files (Andrew Revering)
>   3. Re: ctl file for multiple grib files (Jeff Duda)
>   4. Re: Wgrib2 / g2ctl / gribmap (Andrew Revering)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 20 Jan 2012 01:14:41 +0530
> From: Nabanita Borah <nabanitaborah at gmail.com>
> Subject: [gradsusr] ctl file for multiple grib files
> To: gradsusr at gradsusr.org
> Message-ID:
>        <CAMPftrE7O_D7gaM9ry7JiPK770Ytiw-5LxT-MeaX2f7J1x86gg at mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> hi
>
> Following ctl file is not working ... whereas the same works for tdef
> increment 24hrs. Please help.
>
> --------------------------------------------------------------
> dset ^pgbh_201102%d2%h2.gdas2.2011022000
> index ^test.idx
> undef 9.999E+20
> title pgbh_2011022101.gdas2.2011022000
> *  produced by grib2ctl v0.9.12.5p46
> dtype grib 255
> options template yrev
> ydef 181 linear -90.000000 1
> xdef 360 linear 0.000000 1.000000
> tdef 2 linear 00Z21feb2011 01hr
> *  z has 17 levels, for prs
> zdef 17 levels 1000 925 850 700 600 500 400 300 250 200 150 100 70 50 30 20
> 10
> vars 217
> no4LFTXsfc  0 132,1,0  ** surface Best (4-layer) lifted index [K]
> no5WAVH500mb  0 222,100,500 ** 500 mb 5-wave geopotential height [gpm]
> .
> .
> .
> ENDVARS
> -------------------------------------------------------------
>
> My data files are :
> pgbh_2011022002.gdas2.2011022000
> pgbh_2011022003.gdas2.2011022000
> pgbh_2011022004.gdas2.2011022000
> pgbh_2011022005.gdas2.2011022000
> pgbh_2011022006.gdas2.2011022000
> pgbh_2011022007.gdas2.2011022000
> pgbh_2011022008.gdas2.2011022000
> pgbh_2011022009.gdas2.2011022000
> pgbh_2011022010.gdas2.2011022000
> pgbh_2011022011.gdas2.2011022000
> pgbh_2011022012.gdas2.2011022000
> pgbh_2011022013.gdas2.2011022000
> pgbh_2011022014.gdas2.2011022000
> pgbh_2011022015.gdas2.2011022000
> pgbh_2011022016.gdas2.2011022000
> pgbh_2011022017.gdas2.2011022000
> pgbh_2011022018.gdas2.2011022000
> pgbh_2011022019.gdas2.2011022000
> pgbh_2011022020.gdas2.2011022000
> pgbh_2011022021.gdas2.2011022000
> pgbh_2011022022.gdas2.2011022000
> pgbh_2011022023.gdas2.2011022000
> pgbh_2011022100.gdas2.2011022000
> pgbh_2011022101.gdas2.2011022000
> pgbh_2011022102.gdas2.2011022000
> pgbh_2011022103.gdas2.2011022000
> pgbh_2011022104.gdas2.2011022000
> pgbh_2011022105.gdas2.2011022000
> pgbh_2011022106.gdas2.2011022000
> pgbh_2011022107.gdas2.2011022000
> pgbh_2011022108.gdas2.2011022000
> pgbh_2011022109.gdas2.2011022000
> pgbh_2011022110.gdas2.2011022000
> pgbh_2011022111.gdas2.2011022000
> pgbh_2011022112.gdas2.2011022000
> pgbh_2011022113.gdas2.2011022000
> pgbh_2011022114.gdas2.2011022000
> pgbh_2011022115.gdas2.2011022000
> pgbh_2011022116.gdas2.2011022000
> pgbh_2011022117.gdas2.2011022000
> pgbh_2011022118.gdas2.2011022000
> pgbh_2011022119.gdas2.2011022000
> pgbh_2011022120.gdas2.2011022000
> pgbh_2011022121.gdas2.2011022000
> pgbh_2011022122.gdas2.2011022000
> pgbh_2011022123.gdas2.2011022000
>
>
> .
> .
> (total 336 files)
>
>
> Thanks in advance.
>
>
> --
> Nabanita
> Junior Research Fellow
> Indian Institute Of Tropical Meteorology
> Climate & Global Modeling Division
> Dr. Homi Bhabha Road, Pashan
> Pune-411008
> Tel:+91-20-25904510
> email id: nabanitaborah at gmail.com,         nita at tropmet.res.in,
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://gradsusr.org/pipermail/gradsusr/attachments/20120120/9de78500/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Thu, 19 Jan 2012 14:42:37 -0600
> From: Andrew Revering <andy at f5data.com>
> Subject: Re: [gradsusr] ctl file for multiple grib files
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
>        <CAHXC6uvWQyuQCUxHj-_nCcX8QaQGoxjwVNbJ9b_zZqEcE4sK3A at mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> In my limited experience, the dset & index variables will give you problems
> when it has the ^ instead of the full path.
> Try replacing ^ on the first two lines with the full path to the files and
> see if that helps.
>
> Andrew Revering
> Convective Development, Inc.
> http://www.convectivedevelopment.com/
>
>
> On Thu, Jan 19, 2012 at 1:44 PM, Nabanita Borah <nabanitaborah at gmail.com
> >wrote:
>
> > hi
> >
> > Following ctl file is not working ... whereas the same works for tdef
> > increment 24hrs. Please help.
> >
> > --------------------------------------------------------------
> > dset ^pgbh_201102%d2%h2.gdas2.2011022000
> > index ^test.idx
> > undef 9.999E+20
> > title pgbh_2011022101.gdas2.2011022000
> > *  produced by grib2ctl v0.9.12.5p46
> > dtype grib 255
> > options template yrev
> > ydef 181 linear -90.000000 1
> > xdef 360 linear 0.000000 1.000000
> > tdef 2 linear 00Z21feb2011 01hr
> > *  z has 17 levels, for prs
> > zdef 17 levels 1000 925 850 700 600 500 400 300 250 200 150 100 70 50 30
> > 20 10
> > vars 217
> > no4LFTXsfc  0 132,1,0  ** surface Best (4-layer) lifted index [K]
> > no5WAVH500mb  0 222,100,500 ** 500 mb 5-wave geopotential height [gpm]
> > .
> > .
> > .
> > ENDVARS
> > -------------------------------------------------------------
> >
> > My data files are :
> > pgbh_2011022002.gdas2.2011022000
> > pgbh_2011022003.gdas2.2011022000
> > pgbh_2011022004.gdas2.2011022000
> > pgbh_2011022005.gdas2.2011022000
> > pgbh_2011022006.gdas2.2011022000
> > pgbh_2011022007.gdas2.2011022000
> > pgbh_2011022008.gdas2.2011022000
> > pgbh_2011022009.gdas2.2011022000
> > pgbh_2011022010.gdas2.2011022000
> > pgbh_2011022011.gdas2.2011022000
> > pgbh_2011022012.gdas2.2011022000
> > pgbh_2011022013.gdas2.2011022000
> > pgbh_2011022014.gdas2.2011022000
> > pgbh_2011022015.gdas2.2011022000
> > pgbh_2011022016.gdas2.2011022000
> > pgbh_2011022017.gdas2.2011022000
> > pgbh_2011022018.gdas2.2011022000
> > pgbh_2011022019.gdas2.2011022000
> > pgbh_2011022020.gdas2.2011022000
> > pgbh_2011022021.gdas2.2011022000
> > pgbh_2011022022.gdas2.2011022000
> > pgbh_2011022023.gdas2.2011022000
> > pgbh_2011022100.gdas2.2011022000
> > pgbh_2011022101.gdas2.2011022000
> > pgbh_2011022102.gdas2.2011022000
> > pgbh_2011022103.gdas2.2011022000
> > pgbh_2011022104.gdas2.2011022000
> > pgbh_2011022105.gdas2.2011022000
> > pgbh_2011022106.gdas2.2011022000
> > pgbh_2011022107.gdas2.2011022000
> > pgbh_2011022108.gdas2.2011022000
> > pgbh_2011022109.gdas2.2011022000
> > pgbh_2011022110.gdas2.2011022000
> > pgbh_2011022111.gdas2.2011022000
> > pgbh_2011022112.gdas2.2011022000
> > pgbh_2011022113.gdas2.2011022000
> > pgbh_2011022114.gdas2.2011022000
> > pgbh_2011022115.gdas2.2011022000
> > pgbh_2011022116.gdas2.2011022000
> > pgbh_2011022117.gdas2.2011022000
> > pgbh_2011022118.gdas2.2011022000
> > pgbh_2011022119.gdas2.2011022000
> > pgbh_2011022120.gdas2.2011022000
> > pgbh_2011022121.gdas2.2011022000
> > pgbh_2011022122.gdas2.2011022000
> > pgbh_2011022123.gdas2.2011022000
> >
> >
> > .
> > .
> > (total 336 files)
> >
> >
> > Thanks in advance.
> >
> >
> > --
> > Nabanita
> > Junior Research Fellow
> > Indian Institute Of Tropical Meteorology
> > Climate & Global Modeling Division
> > Dr. Homi Bhabha Road, Pashan
> > Pune-411008
> > Tel:+91-20-25904510
> > email id: nabanitaborah at gmail.com,         nita at tropmet.res.in,
> >
> > _______________________________________________
> > 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/20120119/c07a7339/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Thu, 19 Jan 2012 14:43:21 -0600
> From: Jeff Duda <jeffduda319 at gmail.com>
> Subject: Re: [gradsusr] ctl file for multiple grib files
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
>        <CAAig09Dyf7E+QVYM9J0gzqYqyV0YxP==7bJoDS2BXfcw2tbRKw at mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> I think the problem may be the date in your TDEF line.  It says to start at
> 00Z on 21 FEB 2011, yet your data files seem to start at 22 FEB 2011.
>
> Jeff Duda
>
> On Thu, Jan 19, 2012 at 1:44 PM, Nabanita Borah <nabanitaborah at gmail.com
> >wrote:
>
> > hi
> >
> > Following ctl file is not working ... whereas the same works for tdef
> > increment 24hrs. Please help.
> >
> > --------------------------------------------------------------
> > dset ^pgbh_201102%d2%h2.gdas2.2011022000
> > index ^test.idx
> > undef 9.999E+20
> > title pgbh_2011022101.gdas2.2011022000
> > *  produced by grib2ctl v0.9.12.5p46
> > dtype grib 255
> > options template yrev
> > ydef 181 linear -90.000000 1
> > xdef 360 linear 0.000000 1.000000
> > tdef 2 linear 00Z21feb2011 01hr
> > *  z has 17 levels, for prs
> > zdef 17 levels 1000 925 850 700 600 500 400 300 250 200 150 100 70 50 30
> > 20 10
> > vars 217
> > no4LFTXsfc  0 132,1,0  ** surface Best (4-layer) lifted index [K]
> > no5WAVH500mb  0 222,100,500 ** 500 mb 5-wave geopotential height [gpm]
> > .
> > .
> > .
> > ENDVARS
> > -------------------------------------------------------------
> >
> > My data files are :
> > pgbh_2011022002.gdas2.2011022000
> > pgbh_2011022003.gdas2.2011022000
> > pgbh_2011022004.gdas2.2011022000
> > pgbh_2011022005.gdas2.2011022000
> > pgbh_2011022006.gdas2.2011022000
> > pgbh_2011022007.gdas2.2011022000
> > pgbh_2011022008.gdas2.2011022000
> > pgbh_2011022009.gdas2.2011022000
> > pgbh_2011022010.gdas2.2011022000
> > pgbh_2011022011.gdas2.2011022000
> > pgbh_2011022012.gdas2.2011022000
> > pgbh_2011022013.gdas2.2011022000
> > pgbh_2011022014.gdas2.2011022000
> > pgbh_2011022015.gdas2.2011022000
> > pgbh_2011022016.gdas2.2011022000
> > pgbh_2011022017.gdas2.2011022000
> > pgbh_2011022018.gdas2.2011022000
> > pgbh_2011022019.gdas2.2011022000
> > pgbh_2011022020.gdas2.2011022000
> > pgbh_2011022021.gdas2.2011022000
> > pgbh_2011022022.gdas2.2011022000
> > pgbh_2011022023.gdas2.2011022000
> > pgbh_2011022100.gdas2.2011022000
> > pgbh_2011022101.gdas2.2011022000
> > pgbh_2011022102.gdas2.2011022000
> > pgbh_2011022103.gdas2.2011022000
> > pgbh_2011022104.gdas2.2011022000
> > pgbh_2011022105.gdas2.2011022000
> > pgbh_2011022106.gdas2.2011022000
> > pgbh_2011022107.gdas2.2011022000
> > pgbh_2011022108.gdas2.2011022000
> > pgbh_2011022109.gdas2.2011022000
> > pgbh_2011022110.gdas2.2011022000
> > pgbh_2011022111.gdas2.2011022000
> > pgbh_2011022112.gdas2.2011022000
> > pgbh_2011022113.gdas2.2011022000
> > pgbh_2011022114.gdas2.2011022000
> > pgbh_2011022115.gdas2.2011022000
> > pgbh_2011022116.gdas2.2011022000
> > pgbh_2011022117.gdas2.2011022000
> > pgbh_2011022118.gdas2.2011022000
> > pgbh_2011022119.gdas2.2011022000
> > pgbh_2011022120.gdas2.2011022000
> > pgbh_2011022121.gdas2.2011022000
> > pgbh_2011022122.gdas2.2011022000
> > pgbh_2011022123.gdas2.2011022000
> >
> >
> > .
> > .
> > (total 336 files)
> >
> >
> > Thanks in advance.
> >
> >
> > --
> > Nabanita
> > Junior Research Fellow
> > Indian Institute Of Tropical Meteorology
> > Climate & Global Modeling Division
> > Dr. Homi Bhabha Road, Pashan
> > Pune-411008
> > Tel:+91-20-25904510
> > email id: nabanitaborah at gmail.com,         nita at tropmet.res.in,
> >
> > _______________________________________________
> > gradsusr mailing list
> > gradsusr at gradsusr.org
> > http://gradsusr.org/mailman/listinfo/gradsusr
> >
> >
>
>
> --
> Jeff Duda
> Graduate research assistant
> University of Oklahoma School of Meteorology
> Center for Analysis and Prediction of Storms
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://gradsusr.org/pipermail/gradsusr/attachments/20120119/56e1fdbe/attachment-0001.html
>
> ------------------------------
>
> Message: 4
> Date: Thu, 19 Jan 2012 15:28:07 -0600
> From: Andrew Revering <andy at f5data.com>
> Subject: Re: [gradsusr] Wgrib2 / g2ctl / gribmap
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
>        <CAHXC6uv=Cd=2m0KAmE9SHxw3jn+_pzcLmmr1DrU9WxoQMWYe=g at mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> I'm using version 0.0.8.4 of g2ctl and 0.1.9.1 of wgrib2, and gribmap for
> grads 2.0.1.oga.1
> An example grib2 file I'm having trouble with can be downloaded here:
> http://www.f5maps.com/ruc.grib
>
> ... which is a renamed copy of the NCEP server file for the RUC model found
> at:
> ftp://ftp.ncep.noaa.gov/pub/data/nccf/com/ruc/prod
>
> naming convention: ruc2.tccz.pgrb20xxx.grib2
> AWIPS - Regional - CONUS  (Lambert Conformal)(20-km Resolution)
>
>
> Andrew Revering
> Convective Development, Inc.
> http://www.convectivedevelopment.com/
>
>
> On Thu, Jan 19, 2012 at 8:58 AM, Wesley Ebisuzaki <
> wesley.ebisuzaki at noaa.gov
> > wrote:
>
> > Andy,
> >
> >     I just had a look at the RUC files on the NCEP machine and I didn't
> > see any
> > problems.  (OTOH, I didn't test all the files and you never mentioned
> > which file
> > was causing the problem.)
> >
> >     Given that you have no problems with windows, makes me suspect that
> you
> > have an old wgrib2 or an ancient g2ctl.
> >
> > >>  *Warning: g2lib/g2clib jpeg deocde may differ from WMO standard, use
> > use -g2clib 0 for WMO standardg2*
> >
> > You can ignore this error message as you are using an NCEP file.  The
> "g2"
> > typo indicates
> > an older wgrib2.
> >
> > *>> Use of uninitialized value $east in addition (+) at g2ctl line 619.*
> >
> > This error indicates the g2ctl is incompatible with the installed wgrib2.
> >
> >         Wesley
> >
> >
> >
> > On Wed, Jan 18, 2012 at 8:12 PM, Andrew Revering <andy at f5data.com>
> wrote:
> >
> >> I'm having a problem with gribmap, g2ctl or potentially wgrib2 when
> >> trying to create my CTL and IDX files.
> >>
> >> I'm just installing this on a new Linux machine (CentOs6 64 bit) and I
> >> create the CTL file with the command:
> >>
> >> g2ctl ruc.grib > ruc.ctl
> >>
> >> I get the error:
> >>
> >> *Warning: g2lib/g2clib jpeg deocde may differ from WMO standard, use use
> >> -g2clib 0 for WMO standardg2*
> >> *Use of uninitialized value $east in addition (+) at g2ctl line 619.*
> >> *Use of uninitialized value $west in addition (+) at g2ctl line 619.*
> >> *Use of uninitialized value $east in addition (+) at g2ctl line 620.*
> >> *Use of uninitialized value $west in addition (+) at g2ctl line 620.*
> >> *Use of uninitialized value $west in subtraction (-) at g2ctl line 635.*
> >> *Use of uninitialized value $east in subtraction (-) at g2ctl line 635.*
> >> *Use of uninitialized value $west in numeric eq (==) at g2ctl line 636.*
> >> *Use of uninitialized value $west in concatenation (.) or string at
> >> g2ctl line 639.*
> >> *Use of uninitialized value $south in subtraction (-) at g2ctl line
> 640.*
> >> *Use of uninitialized value $north in subtraction (-) at g2ctl line
> 640.*
> >> *Use of uninitialized value $south in concatenation (.) or string at
> >> g2ctl line 641.*
> >>
> >> The CTL file did get created and looks alright... but then when I run
> >> Gribmap ...
> >>
> >> *Open Error:  Missing or invalid dimension increment value*
> >> *  --> The invalid description file record is:*
> >> *  --> xdef 1 linear  0.192425685762171*
> >>  *  The data file was not opened.*
> >>
> >> So I'm not sure if its a problem with Gribmap, g2ctl or Wgrib2....nor am
> >> I sure how to resolve it.
> >> I use the same exact file on a windows machine using the same process to
> >> create the CTL and IDX files without a problem, so I assume it has to be
> >> machine specific with the installation or something.
> >>
> >> Thoughts?
> >>
> >> Andy
> >>
> >> _______________________________________________
> >> 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/20120119/fcab8af4/attachment.html
>
> ------------------------------
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> End of gradsusr Digest, Vol 23, Issue 25
> ****************************************
>



-- 
Nabanita
Junior Research Fellow
Indian Institute Of Tropical Meteorology
Climate & Global Modeling Division
Dr. Homi Bhabha Road, Pashan
Pune-411008
Tel:+91-20-25904510
email id: nabanitaborah at gmail.com,         nita at tropmet.res.in,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120120/842bb4e1/attachment-0003.html 


More information about the gradsusr mailing list