Closed agrouaze closed 2 years ago
Before the following snippet would gives:
#xsar_obj.dataset['sigma0_rgba'] = rgb_sigma0 rgb_sigma0.name = 'sigma0_rgba' xsar_obj.datatree['measurement'] = xsar_obj.datatree['measurement'].assign(xr.merge([xsar_obj.dataset,rgb_sigma0])) xsar_obj.recompute_attrs() xsar_obj.dataset['sigma0_rgba'].rio.reproject('epsg:4326',shape=(1000,1000),nodata=0).rio.to_raster('/tmp/sigma0_color.tiff')
But with latest release #118 the reprojection is broken:
Before the following snippet would gives:
But with latest release #118 the reprojection is broken: