[gradsusr] combining GRIB fiiles
Sujata Pattanayak
sujata05 at gmail.com
Tue Aug 3 01:58:44 EDT 2010
Hi Teresa,
Is there any limit on number of grib files to be concatenated? I have
33 output files (grib) from a single simulation.
For 24 files, its working well. But, if I am adding more than that, then
while generating the .ctl file
following errors are coming.
grib2ctl.pl -verf cymala_nest_2006042500 >cymala_nest_2006042500.ctl
could not open file: cymala_nest_2006042500
Big problem:
either cymala_nest_2006042500 is missing or not a grib file
or wgrib is not on your path
Can you suggest me something in this regard.
regards,
Sujata
On Mon, Aug 2, 2010 at 6:22 PM, teresa tiberi <crancyfera at gmail.com> wrote:
> great!
> you're welcome
>
> regards
> Teresa
>
> 2010/8/2 Sujata Pattanayak <sujata05 at gmail.com>
>
>> Hi Teresa,
>> The problem is solved. I did a mistake in generating .idx file. I
>> used -0 option while generating .idx file.
>> Thanks for your kind help. Now it is working.
>> With lots of thanks,
>> regards,
>> Sujata
>>
>>
>> On Mon, Aug 2, 2010 at 4:53 PM, Sujata Pattanayak <sujata05 at gmail.com>wrote:
>>
>>> Hi Teresa,
>>> Thanks for your kind suggestion.
>>> I tried with your option. Now I am getting
>>> tdef 2 linear ... 3hr
>>> But, when I am trying to plot through grads, for (t=2), entire Grid
>>> Undefined message is coming.
>>> I have uploaded two of my .grb files in the following ftp site.
>>> Please have a look in to it and please suggest me something in this
>>> regard.
>>> ftp://ftp.rap.ucar.edu/incoming/irap/sujata
>>>
>>> With regards,
>>> Sujata
>>>
>>>
>>>
>>> On Mon, Aug 2, 2010 at 2:57 PM, teresa tiberi <crancyfera at gmail.com>wrote:
>>>
>>>> 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
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> 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/20100803/a3dd450c/attachment-0003.html
More information about the gradsusr
mailing list