ruithnadsteud / yt_georaster

A package for handling geotiff files and georeferenced datasets within yt.
1 stars 2 forks source link

Tweak save as tests to use dtype float64 #62

Closed deastwoo closed 2 years ago

deastwoo commented 2 years ago

With the recent changes to save_as_geotiff the default dtype is now inherited from the primary input raster. This was causing issues with the save as geotiff tests as some of the bands being saved were floats while the sentinel 2 input bands have dtype int. The tests now force dtype float64 using the dtype kwarg.