Live data from Hacker News

Pirate Weather: A free, open, and documented forecast API

pirateweather.net

191–200 of 201 posts

Re: Pirate Weather: A free, open, and documented forecast API

#191
post #93

Earlier quoted context omitted.

Lol I named my version "Bright Earth" as an opposition to dark sky (brightearth.app)

Error after receiving permission to get location: Firefox: brightearth.app:6:4322 XML Parsing Error: mismatched tag. Expected: . Location: https://brightearth.app/ Line Number 6, Column 4322: 2 fetchWeather.ts:31:31 Uncaught (in promise) TypeError: l.querySelector(...) is null g fetchWeather.ts:31 Safari: App.tsx:46 [Error] Unhandled Promise Rejection: TypeError: null is not an object (evaluating 'l.querySelector("cr…

Sometimes the NOAA APIs don't return data according to the usual structure. I can't consistently reproduce it. If you can please let me know!

Re: Pirate Weather: A free, open, and documented forecast API

#192
post #26

Earlier quoted context omitted.

If you are using the current version of iOS, the new weather app rocks in terms of functionality (IMHO better than the previous version of Dark Sky). If you are on an old version of iOS and mourn the loss of DarkSky app, I personally like MyRadar - it has some very nice features and I used in tandem with DarkSky in the past. If you are after writing an iOS app, you already have an Apple developer account allowing for…

> the new weather app rocks in terms of functionality (IMHO better than the previous version of Dark Sky) While I agree that functionally it offers a lot, the interface is around 1000 times worse than the Dark Sky app. For example, to see the “feels like” temperature over the next few hours in Dark Sky, it used to show up immediately on load for the current time, and with a single tap to see it over the next 24 hours…

UX note: 1 step = 200 units of worse

Re: Pirate Weather: A free, open, and documented forecast API

#193

Earlier quoted context omitted.

You'll be surprised that the free-for-all-no-questions-asked US system is not the one followed around the world. Australia, like other countries with significant British history, has the concept of Crown Copyrights ( https://en.wikipedia.org/wiki/Crown_copyright#Australia ). Whether it's the (UK) Met Office ( https://www.metoffice.gov.uk/services/data/met-office-data-f... ), (Australian) BoM ( https://reg.bom.gov.au/…

Quite correct- though the UK Met Office has a specific non-commercial API in DataPoint which is pretty good.

Oh, didn't knew about that despite checking out their website, but reviewing the licence you're correct in saying that commercial use requires payment.

Re: Pirate Weather: A free, open, and documented forecast API

#194

> Why "PirateWeather"? I've always thought that the HRRR model was pronounced the same way as the classic pirate "ARRR". Also, there is one company out there that thinks APIs can be copyrighted, which might apply here. This answers the first question I had upon seeing the name, which was, is it free, open, documented and legal ? Based on the above the answer seems to be "probably". Very commendable effort, and I hope…

I agree, PirateWeather seems like a misbrand here. When I read it, i thought it was stealing weather data or something. On the web, the term "pirate" generally doesn't mean good things. This name almost implies that it is illegal or something. I'm imagining designing a software product around this and presenting it to a C-Level, explaining that we use "PirateWeather" and I think I'm going to get grilled with lots of…

> I'm imagining designing a software product around this and presenting it to a C-Level

Alternatively, imagine what the world would be like if we spent less time thinking about what C-suite executives think.

Re: Pirate Weather: A free, open, and documented forecast API

#195
post #5

I was really hoping https://merrysky.net/ had a graphical forecast similar to weather underground's 10 day. I've yet to find anything else that quickly shows everything you'd want to know in a single image. Even the mouseover timeline is perfection. It is so good and seemingly exclusive to WU that I sometimes wonder if they hold a patent for it.

Hi, I am making an iOS app that could make you happy:

Link: https://weathergraph.app

Screenshots: https://impresskit.net/6430c7f0-b34b-418f-9824-f386f939be9a/...

What do you think?

Re: Pirate Weather: A free, open, and documented forecast API

#196

Earlier quoted context omitted.

Related tangent: Windy (iOS app) does a remarkably good job providing multiple data sources and terrific dataviz.

Is it the app named "Windy.com", "Windy.app", or something else? Edit: I suspect it's the Windy.app one. My initial impression is it looks quite nice. Available on both iOS and Android.

yes, windy.app

Re: Pirate Weather: A free, open, and documented forecast API

#197

Earlier quoted context omitted.

Is it the app named "Windy.com", "Windy.app", or something else? Edit: I suspect it's the Windy.app one. My initial impression is it looks quite nice. Available on both iOS and Android.

yes, windy.app

ubiquitous among boaters (incl myself)

Re: Pirate Weather: A free, open, and documented forecast API

#198
post #187
post #159

Earlier quoted context omitted.

I mean, it doesn’t even have precipitation notifications or a proper precipitation graph. Not exactly better.

Notifications - at the bottom of the screen "Manage Notifications". Enable "Next-Hour Precipitation". It is off by default since it leaks data back to Apple. https://imgur.com/CwlFnym The precipitation graph you get when you expand the perception tile. You can then scroll through the days. Here's a screen shot from my phone for a couple days from now when I'm due to get some snow. https://imgur.com/FnWdQ4b

I don’t have that graph.

Probably yet another feature locked to the US. At this point it is ridiculous that iPhones outside the US don’t come with a 5% ‘reduced service’ discount.

Re: Pirate Weather: A free, open, and documented forecast API

#199

Earlier quoted context omitted.

It’s truly maddening as an Aussie. How many apps just ignore the BoM? I expected the Apple one not to, but it does. It’s frustrating when friends visit me and check the weather on their phone and the data for the Google and Apple apps is so bad. I use Willy weather that uses bom. I don’t love it though. Any recommendations? I personally can’t stand the actual BoM app as an iPhone user but I appreciate that they tried…

BoM actually makes it quite difficult to obtain data. I looked into it once and thought it wasn't worth the trouble. Some agencies make it easier than others to obtain the raw data as it's sort of part of their mandates.

I wish they used better open licensing. The public ftp has great free products, including fire danger ratings and observations, but the licensing mentions “Users intending to publish Bureau data should do so as Registered Users.” This costs a couple of grand and removes the barrier to a lot of potential great community apps being built.

Re: Pirate Weather: A free, open, and documented forecast API

#200

I usually use forecase.weather.gov They provide a nice textual weather page, with English, for next 7 or 8 days [1]. But it is tiring to open 3 or 4 bookmarks, so I thought to consume that as json & make a single page html app with ajax requests. Its still in progress, I spent few minutes yesterday. The surprising thing was (I was ready to fetch the html text & parse it, difficult), I simply changed one parameter to…

That is cool the web front end exposes itself as JSON as well, good tip. FWIW, they also have a pretty decent API. Its based around zones though, which you'd need to look up. So from that lat and lon, you'd get the zone from: https://api.weather.gov/points/37.7827,-120.38 Using the zone information, you can get to a forecast: https://api.weather.gov/gridpoints/STO/72,24/forecast If you're wanting the current observat…

Thanks, on that day I already was playing with the api.

Initially I had few bookmarks saved on my android home screen, for each city I was interested in weather forecast of. But soon there were total 4 cities; & their text size is too small, need to zoom. I slurped their json api & wrote this:

https://spa.bydav.in/weather/

You need to add URL for each city you want to see weather, in Settings. All that data is saved in your device local storage. No funny trackers or home phone.

You can also paste the following json in Settings > Text Area > Click Import JSON:

  [
    {
      "abb": "STK",
      "full": "Stockton",
      "url": "https://forecast.weather.gov/MapClick.php?lat=37.95&lon=-121.29&unit=0&lg=english&FcstType=json&TextType=1"
    },
    {
      "abb": "SFO",
      "full": "San Francisco",
      "url": "https://forecast.weather.gov/MapClick.php?lat=37.7771&lon=-122.4197&unit=0&lg=english&FcstType=json&TextType=1"
    }
  ]
Post reply on HN