You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a small bounding box to grab mesowest stations and received an error
What I Did
Running this I receive this traceback
File "/home/user/envs/loomenv/lib/python3.9/site-packages/metloom/pointdata/mesowest.py", line 285, in points_from_geometry
data = jdata['STATION']
KeyError: 'STATION'
It would appear mesowest doesn't consider receiving no stations back. The solution here is to return an empty list instead of trying to index on it.
The text was updated successfully, but these errors were encountered:
Description
Using a small bounding box to grab mesowest stations and received an error
What I Did
Running this I receive this traceback
It would appear mesowest doesn't consider receiving no stations back. The solution here is to return an empty list instead of trying to index on it.
The text was updated successfully, but these errors were encountered: