Closed mauroc closed 3 years ago
This is saying that NOAA does not have the data you requested ("predictions") for the station you specified.
You should be able to investigate what data is available for your station using something like
st = nc.Station(8533941)
print(st.metadata)
This will return a dict that should show what data is available at the station.
why am I getting this message on some stations (and not others)?
Example:
This station id was obtained through a request to the metadata API with
https://api.tidesandcurrents.noaa.gov/mdapi/prod/webapi/stations.json?type=tidepredictions&greatlakes=False
I tried with different datum types.
I appreciate this may be an issue with CO-OPS API and not noa_coops , but I can't find any explanations on their site and have not gotten a response from them yet.
Is there a way to predict what stations have (or don't have) predictions by looking at the st objects without having to call the get_data method?
Thank you