Open deastwoo opened 3 years ago
This is somewhat resolved following the additional options added to save as geotiff #57 we can specify the output dtype and by default copies that of the primary input raster.
I will leave this open as the dtype that yt works internally with will be float64 still. Not sure if this a problem but something to discuss anyway.
Data is loaded into yt with dtype float64, irrespective of the dtype of the data on disk. Ideally we would like to preserve the dtype of each field read in.
I believe this comes from the field dtype being defined as float64 in
io.py
at https://github.com/ruithnadsteud/yt_georaster/blob/master/yt_georaster/io.py#L19