[Paraview] Tecplot reader error

Zhanping Liu zhanping.liu at kitware.com
Mon Mar 15 12:42:21 EDT 2010


Hi remy:

    Your suggestion has been applied and the changes were committed to the
CVS head.

    Thanks.

    -Zhanping

On Fri, Mar 5, 2010 at 9:12 PM, Zhanping Liu <zhanping.liu at kitware.com>wrote:

> da;
>
> I will fix it.
>
> -Zhanping
>
>   On Fri, Mar 5, 2010 at 7:28 PM, da <remywendy at gmail.com> wrote:
>
>> Hi folks.
>>
>> I ran into this problem recently with STRANDID/TIMESOLUTION as well. For
>> my files, they are automatically added even though there is no data for
>> them.
>>
>>  STRANDID=0, SOLUTIONTIME=0
>>
>> A simple solution for me was to just eat up the token for them...
>>
>>          if ( tok == "STRANDID" )
>>           {
>>           vtkErrorMacro( << this->FileName << "; Tecplot zone record
>> parameter "
>>                          << "'STRANDID' is currently unsupported." );
>> *** this->Internal->GetNextToken();*
>>           }
>>         else
>>         if ( tok == "SOLUTIONTIME" )
>>           {
>>           vtkErrorMacro( << this->FileName << "; Tecplot zone record
>> parameter "
>>                          << "'SOLUTIONTIME' is currently unsupported." );
>> *** this->Internal->GetNextToken();*
>>           }
>>
>> and it'll just continue as if nothing was going on. Otherwise, the loop
>> exits the zone area and gives you a ton of errors.
>>
>>
>> On Wed, Nov 25, 2009 at 10:12 AM, Zhanping Liu <zhanping.liu at kitware.com>wrote:
>>
>>> Hi Fred:
>>>
>>>     Is that convenient for me to have a copy of the whole tecplot file
>>> (including the actual zone data in addition to the zone title)? Then I will
>>> be glad to check the problem by removing the time-series tokens (STRANDID
>>> and TIMESOLUTION) first. There seem to be other tokens indicating some
>>> functionalities that the current simplified reader does not support yet.
>>>
>>>     Thanks.
>>>
>>>     -Zhanping
>>>
>>>   On Wed, Nov 25, 2009 at 6:47 AM, Fred Fred <stan1313 at hotmail.fr>wrote:
>>>
>>>>
>>>> Actually this is not a time varying series but there are several zones:
>>>>
>>>>
>>>> ZONE T="domain1"
>>>>  STRANDID=0, SOLUTIONTIME=0
>>>>  I=43, J=45, K=5, ZONETYPE=Ordered
>>>>  DATAPACKING=BLOCK
>>>>  VARLOCATION=([4-12]=CELLCENTERED)
>>>>  AUXDATA CGNS.CGNSBase_t="Base#1"
>>>>  AUXDATA CGNS.Zone_t="domain1"
>>>>  DT=(DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE
>>>> DOUBLE DOUBLE DOUBLE )
>>>>  4.352440754E-02 4.352440754E-02 4.352440754E-02 4.352440754E-02
>>>> 4.352440754E-02
>>>> [...]
>>>>  1.710705371E+01 1.603499243E+01
>>>> ZONE T="domain3"
>>>>  STRANDID=0, SOLUTIONTIME=0
>>>>  I=49, J=89, K=9, ZONETYPE=Ordered
>>>>
>>>>  DATAPACKING=BLOCK
>>>>  VARLOCATION=([4-12]=CELLCENTERED)
>>>>  AUXDATA CGNS.CGNSBase_t="Base#1"
>>>>  AUXDATA CGNS.Zone_t="domain3"
>>>>  DT=(DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE
>>>> DOUBLE DOUBLE DOUBLE )
>>>>  -1.454322089E-02 -1.453761256E-02 -1.452607960E-02 -1.450552743E-02
>>>> -1.447481920E-02
>>>> [...]
>>>>
>>>> and always the same time value : STRANDID=0, SOLUTIONTIME=0
>>>> I tried to withdraw this line everywhere but I get another error:
>>>>
>>>>
>>>> ERROR: In /usr/local/ParaView3/VTK/IO/vtkTecplotReader.cxx, line 1714
>>>> vtkTecplotReader (0x25249ca0):
>>>> /Users/wifridlefer/Data/TM/Jalon2/CAS_MT2.dat: The record type
>>>> -1.988960529E-02 found in the file is unknown.
>>>>
>>>> Any idea?
>>>>
>>>>
>>>> ------------------------------
>>>> Date: Fri, 20 Nov 2009 11:55:55 -0500
>>>>
>>>> Subject: Re: [Paraview] Tecplot reader error
>>>> From: zhanping.liu at kitware.com
>>>> To: agagliardi at ara.co.uk
>>>> CC: stan1313 at hotmail.fr; paraview at paraview.org
>>>>
>>>>
>>>> Adriano:
>>>>
>>>>    You are correct.
>>>>
>>>>    This ad-hoc way works by means of vtkFileSeriesReader.cxx.
>>>>
>>>>    Thanks.
>>>>
>>>>    -Zhanping
>>>>
>>>> On Fri, Nov 20, 2009 at 11:48 AM, Adriano Gagliardi <
>>>> agagliardi at ara.co.uk> wrote:
>>>>
>>>>  Zhanping,
>>>>
>>>> This method will not allow you to use any of the time-dependent filters,
>>>> right (like FFT)?
>>>>
>>>> Adriano
>>>>
>>>> ===================================
>>>>
>>>> Adriano Gagliardi MEng PhD
>>>> Project Scientist
>>>> Computational Aerodynamics
>>>> Aircraft Research Association Ltd.
>>>> Manton Lane
>>>> Bedford
>>>>
>>>> Tel: 01234 32 4644
>>>> E-mail: agagliardi at ara.co.uk
>>>> Url: www.ara.co.uk
>>>>
>>>>
>>>>  ------------------------------
>>>> *From:* paraview-bounces at paraview.org [mailto:
>>>> paraview-bounces at paraview.org] *On Behalf Of *Zhanping Liu
>>>> *Sent:* 20 November 2009 16:35
>>>> *To:* Fred Fred
>>>> *Cc:* paraview at paraview.org
>>>> *Subject:* Re: [Paraview] Tecplot reader error
>>>>
>>>>   Fred:
>>>>
>>>>    The problem was actually caused by "STRANDID=0, SOLUTIONTIME=0".
>>>> Currently the Tecplot reader, a simplified version, does not support loading
>>>> time series data. If you really want load multiple time steps of data, you
>>>> need to remove these two tokens from the zone header(s). And you need put
>>>> each time step as an individual file, e.g., file000.tec, file001.tec, ...
>>>> and et al. Then you can select all of them by means of 'file*.tec' when
>>>> opening the file dialog. In this way, you will still be able to view the
>>>> dataset at multiple steps.
>>>>
>>>>    Sorry for the lack of time series data support and we are considering
>>>> if we need to add it.
>>>>
>>>>   Thanks.
>>>>
>>>>   -Zhanping
>>>>
>>>> On Fri, Nov 20, 2009 at 10:08 AM, Zhanping Liu <
>>>> zhanping.liu at kitware.com> wrote:
>>>>
>>>> Fred:
>>>>
>>>>    I will fix it.
>>>>
>>>>   Thanks.
>>>>
>>>>   -Zhanping
>>>>
>>>>   On Fri, Nov 20, 2009 at 9:13 AM, Fred Fred <stan1313 at hotmail.fr>wrote:
>>>>
>>>>   I am not a tecplot file format specialist but I need to read such
>>>> files provided by other people.
>>>> The header of my file is as follow:
>>>>
>>>> TITLE     = "Translation of CGNS file elsAoutput.cgns"
>>>> VARIABLES = "CoordinateX"
>>>> "CoordinateY"
>>>> "CoordinateZ"
>>>> "TurbulentDissipation"
>>>> "Density"
>>>> "TurbulentDistance"
>>>> "TurbulentDistanceIndex"
>>>> "EnergyStagnationDensity"
>>>> "MomentumZ"
>>>> "MomentumY"
>>>> "MomentumX"
>>>> "TurbulentEnergyKineticDensity"
>>>> DATASETAUXDATA Common.DensityVar="5"
>>>> DATASETAUXDATA Common.StagnationEnergyVar="8"
>>>> DATASETAUXDATA Common.TurbulentDissipationRateVar="4"
>>>> DATASETAUXDATA Common.UVar="11"
>>>> DATASETAUXDATA Common.VectorVarsAreVelocity="FALSE"
>>>> DATASETAUXDATA Common.VVar="10"
>>>> DATASETAUXDATA Common.WVar="9"
>>>> ZONE T="domain1"
>>>>  STRANDID=0, SOLUTIONTIME=0
>>>>  I=43, J=45, K=5, ZONETYPE=Ordered
>>>>  DATAPACKING=BLOCK
>>>>  VARLOCATION=([4-12]=CELLCENTERED)
>>>>  AUXDATA CGNS.CGNSBase_t="Base#1"
>>>>  AUXDATA CGNS.Zone_t="domain1"
>>>>
>>>> I get this errors:
>>>>
>>>> ERROR: In /usr/local/ParaView3/VTK/IO/vtkTecplotReader.cxx, line 1714
>>>> vtkTecplotReader (0x25198950): /Data/dataset.dat: The record type
>>>> DATAPACKING found in the file is unknown.
>>>>
>>>>
>>>> ERROR: In /usr/local/ParaView3/VTK/IO/vtkTecplotReader.cxx, line 1714
>>>> vtkTecplotReader (0x25198950): /Data/dataset.dat: The record type BLOCK
>>>> found in the file is unknown.
>>>>
>>>>
>>>> ERROR: In /usr/local/ParaView3/VTK/IO/vtkTecplotReader.cxx, line 1714
>>>> vtkTecplotReader (0x25198950): /Data/dataset.dat: The record type
>>>> VARLOCATION found in the file is unknown.
>>>>
>>>>
>>>> ERROR: In /usr/local/ParaView3/VTK/IO/vtkTecplotReader.cxx, line 1714
>>>> vtkTecplotReader (0x25198950): /Data/dataset.dat: The record type [4-12]
>>>> found in the file is unknown.
>>>>
>>>>
>>>> ERROR: In /usr/local/ParaView3/VTK/IO/vtkTecplotReader.cxx, line 1714
>>>> vtkTecplotReader (0x25198950): /Data/dataset.dat: The record type
>>>> CELLCENTERED found in the file is unknown.
>>>>
>>>>
>>>> ERROR: In /usr/local/ParaView3/VTK/IO/vtkTecplotReader.cxx, line 1714
>>>> vtkTecplotReader (0x25198950): /Data/dataset.dat: The record type
>>>> AUXDATA found in the file is unknown.
>>>>
>>>>
>>>> ERROR: In /usr/local/ParaView3/VTK/IO/vtkTecplotReader.cxx, line 1714
>>>> vtkTecplotReader (0x25198950): /Data/dataset.dat: The record type
>>>> CGNS.CGNSBASE_T found in the file is unknown.
>>>>
>>>>
>>>> ERROR: In /usr/local/ParaView3/VTK/IO/vtkTecplotReader.cxx, line 1714
>>>> vtkTecplotReader (0x25198950): /Data/dataset.dat: The record type Base#1
>>>> found in the file is unknown.
>>>>
>>>>
>>>> ERROR: In /usr/local/ParaView3/VTK/IO/vtkTecplotReader.cxx, line 1714
>>>> vtkTecplotReader (0x25198950): /Data/dataset.dat: The record type
>>>> AUXDATA found in the file is unknown.
>>>>
>>>>
>>>> ERROR: In /usr/local/ParaView3/VTK/IO/vtkTecplotReader.cxx, line 1714
>>>> vtkTecplotReader (0x25198950): /Data/dataset.dat: The record type
>>>> CGNS.ZONE_T found in the file is unknown.
>>>>
>>>>
>>>> ERROR: In /usr/local/ParaView3/VTK/IO/vtkTecplotReader.cxx, line 1714
>>>> vtkTecplotReader (0x25198950): /Data/dataset.dat: The record type
>>>> domain1 found in the file is unknown.
>>>>
>>>>
>>>> ERROR: In /usr/local/ParaView3/VTK/IO/vtkTecplotReader.cxx, line 1714
>>>> vtkTecplotReader (0x25198950): /Data/dataset.dat: The record type DT
>>>> found in the file is unknown.
>>>>
>>>>
>>>> ERROR: In /usr/local/ParaView3/VTK/IO/vtkTecplotReader.cxx, line 1714
>>>> vtkTecplotReader (0x25198950): /Data/dataset.dat: The record type DOUBLE
>>>> found in the file is unknown.
>>>>
>>>>
>>>> ERROR: In /usr/local/ParaView3/VTK/IO/vtkTecplotReader.cxx, line 1714
>>>> vtkTecplotReader (0x25198950): /Data/dataset.dat: The record type DOUBLE
>>>> found in the file is unknown.
>>>>
>>>> So it seems that the line "DATAPACKING=BLOCK" raises problem.
>>>> Any help?
>>>>
>>>>
>>>> ------------------------------
>>>> Gagnez au cadeau par jour avec Hotmail Magic Moment ! Cliquez ici !<http://www.hotmailmagicmoment.com/>
>>>>
>>>> _______________________________________________
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Please keep messages on-topic and check the ParaView Wiki at:
>>>> http://paraview.org/Wiki/ParaView
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Zhanping Liu, PhD
>>>> Kitware, Inc.
>>>> 28 Corporate Drive
>>>> Clifton Park, NY 12065-8662
>>>> Phone: 518-371-3971 x 138
>>>> http://www.zhanpingliu.org
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Zhanping Liu, PhD
>>>> Kitware, Inc.
>>>> 28 Corporate Drive
>>>> Clifton Park, NY 12065-8662
>>>> Phone: 518-371-3971 x 138
>>>> http://www.zhanpingliu.org
>>>> ---------------------------
>>>> This email contains information that is private and confidential and is
>>>> intended only for the addressee. If you are not the intended recipient
>>>> please delete it and notify us immediately by e-mailing the sender.
>>>> Note: All email sent to or from this address may be accessed by someone
>>>> other than the recipient, for system management and security reasons.
>>>> Aircraft Research Association Ltd. Registered in England, Registration
>>>> No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB
>>>> 196351245
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Zhanping Liu, PhD
>>>> Kitware, Inc.
>>>> 28 Corporate Drive
>>>> Clifton Park, NY 12065-8662
>>>> Phone: 518-371-3971 x 138
>>>> http://www.zhanpingliu.org
>>>>
>>>> ------------------------------
>>>> Gagnez au cadeau par jour avec Hotmail Magic Moment ! Cliquez ici !<http://www.hotmailmagicmoment.com/>
>>>>
>>>
>>>
>>>
>>> --
>>> Zhanping Liu, PhD
>>> Kitware, Inc.
>>> 28 Corporate Drive
>>> Clifton Park, NY 12065-8662
>>> Phone: 518-371-3971 x 138
>>> http://www.zhanpingliu.org
>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.paraview.org/mailman/listinfo/paraview
>>>
>>>
>>
>
>
> --
> Zhanping Liu, PhD
> Kitware, Inc.
> 28 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-371-3971 x 138
> http://www.zhanpingliu.org
>



-- 
Zhanping Liu, PhD
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x 138
http://www.zhanpingliu.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100315/06c38719/attachment-0001.htm>


More information about the ParaView mailing list