Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I recently approved and merged #943, but then noticed after the merger that, when I switched double uses of
np.append()
tonp.concatenate()
, I hadn't propagated the change throughout the file.This small PR addresses that issue and makes the use of
np.concatenate()
consistent throughout. It's not a bugfix, as the code runs fine, but is a very minor enhancement.@paulf81 , I have left comment that it would be good to get your opinion on, on a small inconsistency between the
upsample()
methods ofWindRose
andWindTIRose
(again, something I should probably have caught when reviewing #943):In
WindTIRose.upsample()
, there is a code block:but this code does not exist in
WindRose.upsample()
. Is that expected, and to do with the difference between the two classes? If not, is it redundant inWindTIRose.upsample()
or missing inWindRose.upsample()
?