aerobulk-python icon indicating copy to clipboard operation
aerobulk-python copied to clipboard

Include range endpoints in input_range_check

Open paigem opened this issue 3 years ago • 0 comments

While running aeroubulk-python today I ran into an error from the input_range_check that the shortwave radiation had values not within range. Investigating further it became clear that there are many points that are exactly equal to zero, which is the bottom end of the acceptable range for that variable.

This PR updates the code so that both the endpoints of the range are included as acceptable. I.e. whereas we previously had (range_start,range_end) we now have [range_start,range_end], where the square brackets include the end points.

paigem avatar Oct 26 '22 18:10 paigem