Skip to content

Remove superfluous from_ classmethods in Centroids #698

@peanutfun

Description

@peanutfun

As far as I can see, nobody reads in Centroids on their own. Reading/creating centroids is always part of reading in Hazard data (...or is it?). Therefore, I see no reason why we should keep from_ classmethods in Centroids that are not used anywhere else. I compiled a list of these methods. The following classmethods are only called by tests, and not by any other code in either Climada Core or Petals:

Can we remove them?

Metadata

Metadata

Assignees

Labels

tasksomething that needs to be done

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions