[Yt-svn] yt: Fixing HDF4 reading
hg at spacepope.org
hg at spacepope.org
Fri Oct 8 10:25:03 PDT 2010
hg Repository: yt
details: yt/rev/a1ec2394cad1
changeset: 3435:a1ec2394cad1
user: Matthew Turk <matthewturk at gmail.com>
date:
Fri Oct 08 10:22:42 2010 -0700
description:
Fixing HDF4 reading
diffstat:
yt/lagos/DataReadingFuncs.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 44cd6e1f99b7 -r a1ec2394cad1 yt/lagos/DataReadingFuncs.py
--- a/yt/lagos/DataReadingFuncs.py Sun Oct 03 08:38:35 2010 -0700
+++ b/yt/lagos/DataReadingFuncs.py Fri Oct 08 10:22:42 2010 -0700
@@ -102,7 +102,7 @@
@param field: field to read
@type field: string
"""
- return SD.SD(grid.filename).select(field).get()
+ return SD.SD(grid.filename).select(field).get().swapaxes(0,2)
def _read_data_slice(self, grid, field, axis, coord):
"""
More information about the yt-svn
mailing list