Small issue with one prf function. If the max_distance too small or n_closest too high, some stations will have a list of closest_neighbors that includes nans:
Later in the interpolate_precipitation function this:
Will lead to an error:
Suggested alteration to skip nan neighbors: replace line 409 and line 410 with
if not isinstance(neighbor, str):
continue
This could be implemented together with other changes.
Small issue with one prf function. If the max_distance too small or n_closest too high, some stations will have a list of closest_neighbors that includes nans:
Later in the interpolate_precipitation function this:
Will lead to an error:
Suggested alteration to skip nan neighbors: replace line 409 and line 410 with
This could be implemented together with other changes.