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.
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.