[gradsusr] combining GRIB fiiles

teresa tiberi crancyfera at gmail.com
Mon Aug 2 05:27:34 EDT 2010


ok,
when you use grib2ctl.pl, did you write as follow?
grib2ctl.pl -verf big_file.grb > big_file.ctl

if you do and you don't obtain this row
tdef 2 linear ... 3hr

try to send me your wrfprs* file by mail or give me a ftp address where I
can download your files

regards
Teresa

2010/8/2 Sujata Pattanayak <sujata05 at gmail.com>

> Hi Teresa,
> Thanks a lot for your kind suggestion.
> I have downloaded the latest version of grib2ctl.pl, But still in .ctl
> file only one time is written.
> In .ctl file, time is defined as follows.
> tdef 1 linear 00Z28apr2008 1mo
>
> Also I am attaching my  .ctl file for your reference.
> Please suggest me something in this regard.
>
> regards,
> Sujata
>
>
> On Mon, Aug 2, 2010 at 1:51 PM, teresa tiberi <crancyfera at gmail.com>wrote:
>
>> you can see in this two rows that your file is ok:
>>
>> 333:6969460:d=08042800:WTMP:kpds5=80:kpds6=1:kpds7=0:TR=0:P1=0:P2=0:TimeU=1:sfc:anl:NAve=0
>> 334:7002466:d=08042800:PRMSL:kpds5=2:kpds6=102:kpds7=0:TR=0:P1=3:P2=0:TimeU=1:MSL:3hr
>> fcst:NAve=0
>>
>> you have 1-333 records of anl and 334-666 of 3hr fcst
>> So you big_file.grb is ok
>> for ctl try to download last version of grib2ctl.pl
>> I use 0.9.12.5p46
>>
>> I hope this solve the problems,otherwise I'm here ;)
>>
>> regards
>> Teresa
>>
>>
>> 2010/8/2 Sujata Pattanayak <sujata05 at gmail.com>
>>
>>> Hi Teresa,
>>>  Thanks for your suggestion.
>>> But, wrfprs files are not empty.
>>> The output from
>>> grib2ctl.pl -verf new.grb >new.ctl
>>>
>>> Undefined parameter table (center 7-0 table 129), using NCEP-opn
>>>
>>> Also, I am enclosing the output from wgrib "grib_file_name" as wgrib_out
>>> .
>>> But, I looked into this output, and only one time is available.
>>> Can I send my two grib files.
>>>
>>> regards,
>>> Sujata
>>>
>>>
>>>
>>> On Mon, Aug 2, 2010 at 1:13 PM, teresa tiberi <crancyfera at gmail.com>wrote:
>>>
>>>> Hi Sujata ,
>>>>
>>>> are you sure both of your wrfprs files aren't empty?
>>>>
>>>> make and other test:
>>>> please write
>>>> grib2ctl.pl -verf big_file.grb > big_file.ctl
>>>> please copy here your big_file.ctl and  the output of command:
>>>> wgrib big_file.grb
>>>>
>>>> thanks
>>>> Teresa
>>>>
>>>> 2010/8/2 Sujata Pattanayak <sujata05 at gmail.com>
>>>>
>>>> Hi Teresa,
>>>>>     I have appended the files and then create the .ctl & .idx files.
>>>>> But, in .ctl file, only one time (first time) data is there.
>>>>> Still it is not taking all time data.
>>>>> Please suggest me in this regard.
>>>>>
>>>>> Regards,
>>>>> Sujata
>>>>>
>>>>>
>>>>> On Mon, Aug 2, 2010 at 11:45 AM, teresa tiberi <crancyfera at gmail.com>wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> maybe you didn't append files?I don't know.
>>>>>> you can write as follow
>>>>>>
>>>>>> cat        wrfprs_d01.000 > big_grib_file.grb
>>>>>> cat        wrfprs_d01.003 >> big_grib_file.grb
>>>>>>
>>>>>> then create .ctl and .idx files.
>>>>>> Let me know if you have the same problem
>>>>>>
>>>>>> regards
>>>>>> Teresa
>>>>>>
>>>>>> 2010/7/31 Sujata Pattanayak <sujata05 at gmail.com>
>>>>>>
>>>>>>> Dear Sir,
>>>>>>> I need help regarding combining multiple grib files in to a single
>>>>>>> grib file.
>>>>>>> I have the model output as follows.
>>>>>>>
>>>>>>>        wrfprs_d01.000
>>>>>>>        wrfprs_d01.000.idx
>>>>>>>        wrfprs_d01_000.ctl
>>>>>>>        wrfprs_d01.003
>>>>>>>        wrfprs_d01.003.idx
>>>>>>>        wrfprs_d01_003.ctl
>>>>>>>        ---
>>>>>>> I had tried with 'CAT' command, but while creating the .ctl file, it
>>>>>>> is taking only first time data .
>>>>>>> Can anybody please help me in this regard.
>>>>>>>
>>>>>>> With regards,
>>>>>>> Sujata
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>>
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
> _______________________________________________
> 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/20100802/eeb8cd76/attachment-0003.html 


More information about the gradsusr mailing list