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
I'm prototyping and debuging some code that I'd like to run later this season when my buoy gets redeployed. In the meantime, is there a way for me to point my requests at an open-access buoy that is deployed?
Indeed! Signing up for a Trial API account would grant you access to SPOT-0222. You can log in to weather.sofarocean.com, click "Get Your API Token," and start a trial. The instructions are also written up here.
@tcj - We tried to query SPOT-0222 again recently for development/prototyping, but that didn't seem to work. I'm guessing this is because, as you mention above, access to SPOT-0222 was related to some sort of trial period. Is the best course of action to sign up for a new trial, or is there a public buoy that we can always query (this would be helpful, as we'd like to release our code open-source).
Python code
frompysofar.sofarimportSofarApifrompysofarimportget_tokensofar_token=my_token# replace with tokenget_token()
sofar=SofarApi(sofar_token)
sofarspotter_grid=sofar.get_spotters()
[spotter.idforspotterinspotter_grid]
Activity
tcj commentedon Mar 28, 2022
Hi @ryancoe —
Indeed! Signing up for a Trial API account would grant you access to SPOT-0222. You can log in to weather.sofarocean.com, click "Get Your API Token," and start a trial. The instructions are also written up here.
Hope that helps.
rgcoe commentedon Mar 29, 2022
Thans @tcj!
rgcoe commentedon Mar 15, 2023
@tcj - We tried to query
SPOT-0222again recently for development/prototyping, but that didn't seem to work. I'm guessing this is because, as you mention above, access toSPOT-0222was related to some sort of trial period. Is the best course of action to sign up for a new trial, or is there a public buoy that we can always query (this would be helpful, as we'd like to release our code open-source).Python code
CC @andermi @hamilton8415