xcdat icon indicating copy to clipboard operation
xcdat copied to clipboard

[Enhancement]: Convert `ds.temporal._get_weights()` to a public method

Open tomvothecoder opened this issue 1 year ago • 0 comments

Is your feature request related to a problem?

This method should be turned public, similar to the ds.spatial.get_weights() method.

Describe the solution you'd like

  • Remove the references to class attributes (e.g., self.freq, self.mode) and make them method arguments.
  • Update downstream private methods to replace class attribute refs to method args

Describe alternatives you've considered

No response

Additional context

Also ds.spatial.get_weights() method should be listed in the API Reference page.

tomvothecoder avatar Aug 27 '24 17:08 tomvothecoder