Closed aulemahal closed 1 year ago
Does that still mean that the argument is required? If not, we have to account for cases where is is None.
It is still needed, but has to be given as a keyword.
In fact, my problem was that I wanted to give it in the config, while giving the datasets positionally. We could also move weights_location
before the ,*,
and it would then be giveable both ways.
I'd go with before the *
, then.
Pull Request Checklist:
pre-commit
hooks are installed/active in my local clone ($ pre-commit install
)number
) and pull request (:pull:number
) has been addedWhat kind of change does this PR introduce?
regrid_dataset
, movesweights_location
to the keyword argument section.Does this PR introduce a breaking change?
Yes, script using positional arguments for this function will break.
Other information:
As a kwarg it can be included in the config, but I may have missed something?