I do not see the attributes for dependency. They are imperative and dx needs them to understand how to further process the data. I have noticed that not having these attributes can cause problems.

object "data" class array type float rank 0 items 20000 lsb ieee data 0
attribute "dep" string "positions"
#
object "positions" class gridpositions counts 20 20 50
origin 0 0 0
delta 1 0 0
delta 0 1 0
delta 0 0 1
attribute "dep" string "positions"
#
object "connections" class gridconnections counts 20 20 50
attribute "dep" string "connections"
attribute "ref" string "positions"
#
object "step1000" class field
component "data" value "data"
component "positions" value "positions"
component "connections" value "connections"
#
attribute "t_step" string "1000"
attribute "time" string "0.000221547"
#
end

I'm also not sure about being able to use the named objects over and over. Whenever I have created a series object its always been in one file where I've had to use unique numbers for all the separate objects.

Try it and let me know.

David

Hi,

[I am using OpenDX 4.1.0 on FreeBSD 4.1.1
 Dual Intel Pentium III 700 with 1 Gb memory.]

 I have some problems with importing series object.
 I am trying import series object from series.dx file like this containing 50
 time steps.

<----->
object "temperature" class series

member file tets000000.fld
member file tets001000.fld
member file tets002000.fld
member file tets003000.fld
member file tets004000.fld
member file tets005000.fld
...
<----->


where every tets%%% file has such header

<----->
object "data" class array type float rank 0 items 20000 lsb ieee data 0
#
object "positions" class gridpositions counts 20 20 50
origin 0 0 0
delta 1 0 0
delta 0 1 0
delta 0 0 1
#
object "connections" class gridconnections counts 20 20 50
#
object "step1000" class field
component "data" value "data"
component "positions" value "positions"
component "connections" value "connections"
#
attribute "t_step" string "1000"
attribute "time" string "0.000221547"
#
end
<----->

When I try to import series with every time step about 3Mb in size (gridpositions
counts 20 20 2000) i receive the following error message:
"ERROR: Import:  Invalid data: bad or missing series member object/file
'/w/Chdrv/calc/series.dx' line 6."


This error follows by Memory reclamation action. The debug log is
Begin Execution
 0:  Planning [08bd40e0] 481::/main:0/Import:1
 0:  opening file '/w/okun/Chdrv/calc/tets000000.fld'
 0:  opening file '/w/okun/Chdrv/calc/tets001000.fld'
 0:  opening file '/w/okun/Chdrv/calc/tets002000.fld'
 0:  opening file '/w/okun/Chdrv/calc/tets003000.fld'
 0:  Memory reclamation:  looking for 3200000 bytes
ERROR: Import:  Invalid data: bad or missing series member object / file
'/w/Chdrv/calc/series.dx' line 6.

The number of files read before error message varies from 3 to 8 for
one data set.


Thanks in advance

Mike Okun
[EMAIL PROTECTED]

--
.............................................................................
David L. Thompson                          The University of Montana
mailto:[EMAIL PROTECTED]                 Computer Science Department
http://www.cs.umt.edu/u/dthompsn           Missoula, MT  59812
                                           Work Phone : (406)257-8530

Reply via email to