Hi Joe
Thanks for pointing this out.
It has just been fixed.
Best Regards
Marc
Joe Krill wrote:
> Hello,
>
> Hopefully this is the correct place for this. I wasn't sure if I should
> use this or the forum.
>
> If I call findNearByWeatherJSON using latitude 40.8 and longitude -73.2,
> I'm getting some incorrect/mixed up results. This location is in
> Commack, NY, US. However, it appears to be giving me weather for
> Barnwell Regional Airport in Barnwell, SC, US, 700 miles away.
>
> Here's the call:
>
>
http://api.geonames.org/findNearByWeatherJSON?username=XXX&lat=40.8&lng=-73.2
>
> Which currently returns:
>
> {
>
> * "weatherObservation": {
> o "clouds": "n/a",
> o "weatherCondition": "n/a",
> o "observation": "KBNL 191835Z AUTO 26008G14KT 10SM CLR 23/04
> A2995 RMK AO2",
> o "windDirection": 260,
> o "ICAO": "KBNL",
> o "elevation": 20,
> o "countryCode": "US",
> o "lng": -73.3,
> o "temperature": "23",
> o "dewPoint": "4",
> o "windSpeed": "08",
> o "humidity": 29,
> o "stationName": "BROOKHAVEN LAB",
> o "datetime": "2013-03-19 18:35:00",
> o "lat": 40.8
> }
>
> }
>
> The stationName indicates "BROOKHAVEN LAB" -- which is only 20 miles
> west of Commack, NY in Upton, NY. But the METAR data and ICAO show
> "KBNL", which is the Barnwell Regional Airport in Barnwell, SC.
>
> I dug a little further and looked at the raw METAR WeatherStations
> listing (
http://weather.rap.ucar.edu/surface/stations.txt). It contains
> these two records:
>
> NY BROOKHAVEN/KBNL 74498 40 48N 073 18W 20 8 US
> SC BARNWELL KBNL BNL 33 15N 081 23W 75 X 7 US
>
>
> So the station name "BROOKHAVEN/KBNL" seems to be getting mixed up with
> the ICAO code, "KBNL".
>
> I'm not really sure what exactly to do with this information at this
> point or where to report the error, or with what data the error actually
> lies. My guess is that the file is being parsed incorrectly, because
> "BROOKHAVEN/KBNL" is fully within the entire station name field and not
> indicateed to be the ICAO at all.
>
> Can anyone offer some insight on how to proceed with this information
> and possibly get it corrected?
>
> Thanks!
>
> Joe
>
> --
> You received this message because you are subscribed to the Google
> Groups "GeoNames" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
geonames+u...@googlegroups.com.
> To post to this group, send email to
geon...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/geonames?hl=en.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>