cloudsci / cloudmetrics

Toolkit for computing 15+ metrics characterising 2D cloud patterns
16 stars 8 forks source link

Refactor i_org routine to take object-labels (rather than mask) #52

Closed leifdenby closed 2 years ago

leifdenby commented 2 years ago

Calculation of i_org needs to be refactored so that it takes object-labels rather than cloud_mask as the input, this is needed to expose the fact that i_org calculation internally uses labelled objects, rather than the mask directly. With this refactoring the i_org calculation will follow the common API we have adopted where all metrics which operated on object-labels internally expose this through a common interface.

leifdenby commented 2 years ago

Just making a note to address https://github.com/cloudsci/cloudmetrics/issues/57 at the same time as completing this

leifdenby commented 2 years ago

all done https://github.com/cloudsci/cloudmetrics/pull/54!