diff --git a/mrf_apps/mrf_read.py b/mrf_apps/mrf_read.py index 7cd0bc2..c19bec1 100755 --- a/mrf_apps/mrf_read.py +++ b/mrf_apps/mrf_read.py @@ -109,11 +109,11 @@ sizeElem = rasterElem.getElementsByTagName('Size')[0] sizeAttrs = dict(sizeElem.attributes.items()) - mrf_x = int(sizeAttrs['x']) - mrf_y = int(sizeAttrs['y']) + mrf_x = float(sizeAttrs['x']) + mrf_y = float(sizeAttrs['y']) if 'z' in sizeAttrs: - mrf_z = int(sizeAttrs['z']) + mrf_z = float(sizeAttrs['z']) if len(rasterElem.getElementsByTagName('Compression')): compressionElem = rasterElem.getElementsByTagName('Compression')[0]