[CIG-SHORT] Paraview Calculator errors

Brad Aagaard baagaard at usgs.gov
Wed Apr 27 12:35:06 PDT 2016


I don't think "group dataset" is the correct filter. It certainly didn't 
work for me. Try "Append Attributes" instead.

Regards,
Brad


On 04/27/2016 12:29 PM, Chunyu Liu (cliu5) wrote:
> Thanks for quick reply.
> Direction fields are in the .info files, and slip field is in the
> east_tn-fault_t0000.vtk.
> I use “ ground dataset “ to combine both of them. Then, I apply the formula.
> It turns out it is not working for me on Paraview 4.3.1.
> Can you please try it out by using these two files I attached in the email ?
>
> Thank you very much
>
>
>> On Apr 27, 2016, at 14:01, Brad Aagaard <baagaard at usgs.gov
>> <mailto:baagaard at usgs.gov>> wrote:
>>
>> The slip field is in a different file than the direction fields. As a
>> result you need to load both data files, select them, and use the
>> AppendAttributes filter to combine the datasets. If you do that your
>> formula should work (it worked for me in ParaView 4.3.1).
>>
>> Regards,
>> Brad
>>
>>
>> On 04/27/2016 09:39 AM, Chunyu Liu (cliu5) wrote:
>>> Hi all,
>>> When I try to change slip vector from fault coordinate system to global
>>> coordinate system, I follow this formula:
>>>
>>> (slip_X*strike_dir_X+slip_Y*dip_dir_X)*iHat+(slip_X*strike_dir_Y+slip_Y*dip_dir_Y)*jHat+(slip_X*strike_dir_Z+slip_Y*dip_dir_Z)*kHat
>>>
>>> However, I am always getting some errors like this :
>>>
>>> ERROR: In
>>> /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Common/Misc/vtkFunctionParser.cxx,
>>> line 1360
>>> vtkFunctionParser (0x7fd968373fb0): Syntax error: expecting a variable
>>> name; see position 1
>>>
>>>
>>> Warning: In
>>> /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Filters/Core/vtkArrayCalculator.cxx,
>>> line 405
>>> vtkPVArrayCalculator (0x7fd96859cc30): An error occurred when parsing
>>> the calculator's function. See previous errors.
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> CIG-SHORT mailing list
>>> CIG-SHORT at geodynamics.org <mailto:CIG-SHORT at geodynamics.org>
>>> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>>>
>>
>> _______________________________________________
>> CIG-SHORT mailing list
>> CIG-SHORT at geodynamics.org <mailto:CIG-SHORT at geodynamics.org>
>> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>
>
>
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>



More information about the CIG-SHORT mailing list