Open gcaria opened 2 years ago
xarray is unaware of the spatial information during it's operations. You have to manage it yourself in the current state.
This is something that requires more changes to xarray to have either an error or automagically work.
For more information:
For now, I recommend using rio.reproject_match
Related #588
This snippet shows that when concatenating two DataArrays with different CRS, the result gets the CRS of the first DataArray. It seems this is due to the fact that the true CRS information is given as attributes of the
spatial_ref
coordinate, whose numerical value is the same for both CRSs and does not actually mean anything.Is this a feature or a bug?