Pirate-Weather / pirateweather

Code and documentation for the Pirate Weather API
Apache License 2.0
645 stars 29 forks source link

Storm Distance and Bearing (still shows 0) #121

Closed alpha520098 closed 6 months ago

alpha520098 commented 9 months ago

Has anybody got this to work, I have priate weather for a short time and from the outset it's great so my gradtude to those that maintain it.

My question is that could someone tell me if they can get this to work?

alexander0042 commented 9 months ago

Hi, thanks for using this service and reaching out to file an issue.

Unfortunately, that feature isn't working at the moment, but is planned for V2.0 in the next few months. I've been batting around a couple different ideas for how to define "storm" (leaning towards either lightning potential or some precipitation threshold).

I'm going to tag this as an enhancement to keep it on the table, and let me know if you encounter anything else!

alexander0042 commented 9 months ago

Also going to transfer this to the API repo, just to keep things a little organized.

alpha520098 commented 9 months ago

Hi, thanks for using this service and reaching out to file an issue.

Unfortunately, that feature isn't working at the moment, but is planned for V2.0 in the next few months. I've been batting around a couple different ideas for how to define "storm" (leaning towards either lightning potential or some precipitation threshold).

I'm going to tag this as an enhancement to keep it on the table, and let me know if you encounter anything else!

Thanks for getting back to me, after reading your deliema I've come to understand how difficult this maybe. After some rabbit hole i've noticed that there is people that have personal weather stations such as ecowitt so if someone is 100kms east of my location then you could then have there location vs your location.

now this is a huge task to see if you could tap into a personal weather station but its a thought.

the other thing could be that the weather radars that are provided with the amount of rain seeing a particular color off the radar map? or am I just clutching at straws?

alexander0042 commented 9 months ago

Just a fun little update here, but the groundwork for this is officially working! It'll be tagged as "beta" for now, but the data is officially being processed and saved on my end

alpha520098 commented 9 months ago

Just a fun little update here, but the groundwork for this is officially working! It'll be tagged as "beta" for now, but the data is officially being processed and saved on my end

So when will this beta be released?

And thank you for working on this - hopefully we can make some really good automations

cloneofghosts commented 7 months ago

Just a fun little update here, but the groundwork for this is officially working! It'll be tagged as "beta" for now, but the data is officially being processed and saved on my end

So when will this beta be released?

And thank you for working on this - hopefully we can make some really good automations

As of yesterday I noticed in this data in the v2 testing endpoint which I think you need to have dev endpoint access in order to view. You can try visiting http://piratev2lb-a90c79daaddc2625.elb.us-east-1.amazonaws.com:8000/forecastv2/<APIKEY>/<LAT>,<LON> to see if you have access to it. It's very much not production ready but I see this in the hourly section on the beta endpoint

nearestStormDistance": 159274.1875,
"nearestStormBearing": 218.65980529785156

As far as I'm aware V2 should launch sometime this winter and I'm not sure if there will be a open beta or something closer to launch.

alexander0042 commented 6 months ago

Thanks for clarifying this, it's exactly what I would have written here. I'm going to send a mass e-mail before it goes live, and the systems will live in parallel for a couple months before I turn off the old one. Regular API keys should work on the v2 endpoint, so let me know if you're not getting any results

alpha520098 commented 6 months ago

Just to be clear there is a beta version out at the moment?

cloneofghosts commented 6 months ago

@alpha520098 Yes, there is a beta running which you can try accessing using this URL: http://piratev2lb-a90c79daaddc2625.elb.us-east-1.amazonaws.com:8000/forecastv2/APIKEY/LAT,LON

It's still very much in progress and any feedback you have you can add here #155

alpha520098 commented 6 months ago

@alpha520098 Yes, there is a beta running which you can try accessing using this URL: http://piratev2lb-a90c79daaddc2625.elb.us-east-1.amazonaws.com:8000/forecastv2/APIKEY/LAT,LON

It's still very much in progress and any feedback you have you can add here #155

Thanks very much for the reply however this issue is that the URL that you have suppiled isnt working i keep getting this error:

Kong Error Invalid authentication credentials.

any tips on how to make this work?

@cloneofghosts

cloneofghosts commented 6 months ago

@alpha520098 Like the regular API you need to supply your own APIKEY and LAT LON in the URL and it should work.

For example if your API key is 1234567890abcdefghijklmnopqrstuvwxyzABCD and you want to query data for 0,0 the URL would look like the following: http://piratev2lb-a90c79daaddc2625.elb.us-east-1.amazonaws.com:8000/forecastv2/1234567890abcdefghijklmnopqrstuvwxyzABCD/0,0

I tested with a free API key so it should work even if you're subscribed to the free tier.