Closed GoogleCodeExporter closed 9 years ago
Since ArraySample also stores the Dimensions, I'm not sure we can fix this
totally without an API change.
This contains some fixes on where the data is stored, but the reader can't pick
it up:
http://code.google.com/r/millerlucas-dev/source/detail?r=a24cd22e18f60fc840a9e07
96c840e36fc5bc628
And the commit before, contains a simple test for this:
http://code.google.com/r/millerlucas-dev/source/detail?r=5b645bda45423f189e190ba
e09a247637173fc04
The good news is that I really can't see AbcGeom ever needing Dimensions.
Original comment by miller.lucas
on 2 Mar 2011 at 2:29
I found another issue where datasets that were shared but have different
extents could not be read back in.
This sums up all of the changes so far:
http://codereview.appspot.com/4253053/
Note: The problematic Dimensions test is currently commented out until we can
discuss it.
Original comment by miller.lucas
on 3 Mar 2011 at 9:38
Hey Lucas, can you confirm if this issue is fixed or not?
Original comment by ard...@gmail.com
on 16 May 2011 at 10:41
I believe it's correct on write, but incorrect when reading with caching on.
Original comment by miller.lucas
on 16 May 2011 at 10:47
Ah.
So I guess this is still not working?
Original comment by ard...@gmail.com
on 18 May 2011 at 7:25
Yes, this bug still exists and will most likely require an API change to fix.
Original comment by miller.lucas
on 18 May 2011 at 7:41
Original comment by miller.lucas
on 15 Jun 2011 at 5:50
The workaround is here:
http://code.google.com/r/millerlucas-dev/source/detail?r=a1a0ec0cdfbffaca638818f
ab5ea9ec9f41bc075
The dimensions advertised by the ArraySample can still be wrong when caching is
on and more than one dataset points at the same data, but for apps where it is
critical that they get the correct dimensions (the data layout will still be
flat so the data in ArraySample is always correct) they can call getDimensions.
While not ideal, I feel this is better than bloating ALL of our SampleKeys with
Dimensions, and this data should be shared anyway.
Original comment by miller.lucas
on 22 Jun 2011 at 10:42
OK, I've brought in your changes, and verify the tests work correctly:
http://code.google.com/r/ardent-embic/source/detail?r=1a2aa403f7d761f5dcf92a2e38
556edd8e53ac31&name=default
You should sync your AbcCoreHDF5 directory with mine; there are a few things
you're missing, such as
http://code.google.com/r/ardent-embic/source/detail?r=4699ff50e74ab1a45a733ab8ce
8fae4a72135e67&name=default . You might want to just use your favorite
directory diffing tool to check out our respective Abc, AbcGeom, and
AbcCoreHDF5 dirs.
Original comment by ard...@gmail.com
on 23 Jun 2011 at 12:10
I haven't integrated the mutex changes on purpose, I still haven't measured
it's cost as far as memory and read speeds are concerned.
Original comment by miller.lucas
on 23 Jun 2011 at 12:53
Original issue reported on code.google.com by
miller.lucas
on 18 Feb 2011 at 1:16