Skip to content

Implement Raster.astype #407

@nathanjmcdougall

Description

@nathanjmcdougall

So we can do

slope_raster = slope_raster.astype("float32")

Instead of

slope_raster.arr = slope_raster.arr.astype("float32")

Useful for method chaining. Similar to to_crs and other cleanup methods

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions