Skip to content

Method name for setting a CRS #3

@benbovy

Description

@benbovy

Several options:

  1. .proj.set_crs(...): like in Xvec and currently implemented
  2. .proj.write_crs(...): like in rioxarray
  3. .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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions