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.
While running
aeroubulk-python
today I ran into an error from theinput_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.