Several options:
.proj.set_crs(...): like in Xvec and currently implemented
.proj.write_crs(...): like in rioxarray
.proj.assign_crs(...): like in odc-geo
I have a slight preference for option 3. This is more consistent with methods like Xarray assign_coords that also return new Dataset or DataArray objects with new or replaced coordinates.
Several options:
.proj.set_crs(...): like in Xvec and currently implemented.proj.write_crs(...): like in rioxarray.proj.assign_crs(...): like in odc-geoI have a slight preference for option 3. This is more consistent with methods like Xarray
assign_coordsthat also return new Dataset or DataArray objects with new or replaced coordinates.