WHOIGit / nes-lter-ims

NES-LTER information system components
MIT License
5 stars 0 forks source link

fix nut api metadata dir not found for at46 & ar61b #96

Closed joannekoch closed 1 year ago

joannekoch commented 1 year ago

fixes #95

In neslter/parsing/files.py, KeyError was changed to DataNotFound error, but in add_nearest_station in neslter/workflow/stations.py the KeyError check for Station Metadata was not changed to DataNotFound.

Changed KeyError to DataNotFound in add_nearest_station.

To test: https://nes-lter-data.whoi.edu/api/nut/at46 and verify data is returned. https://nes-lter-data.whoi.edu/api/nut/ar61b and verify data is returned.