Author Topic: VWS and METAR report  (Read 8794 times)

0 Members and 1 Guest are viewing this topic.

Offline Blizzard

  • Contributor
  • ***
  • Posts: 127
Re: VWS and METAR report
« Reply #100 on: March 14, 2024, 05:13:14 PM »
Did not have time to check. At least it works. Since my wife didnít complain, I didnít insist lol

Offline Startestor

  • Member
  • *
  • Posts: 1
    • Skyimager
Re: VWS and METAR report
« Reply #101 on: June 30, 2024, 11:39:53 AM »
New Member looking to keep my VWS icons working.

Sent this message to support@weatherforyou.com :
Hi Support,

I have been using the Ambient Virtual Weather Station for many
years and it would access wxdata.weatherforyou.com port 80 to get METAR
information from my local airport (KUZA). That access is now failing
with the following error message: Forbidden - You don't have permission
to access /pub/data/observations/metar/stations/KUZA.TXT. It appears
there has been some change to the access method that software I have is
using. I would like to see if there is a way to regain access to this
data so my website can display current and correct local weather again.
Is this possible, and if so, could you tell me what is required so I
can modify my end to work with your server? Thank you very much.

Here was my response:
Date: Sun, 14 Apr 2024 16:27:58 -0600

Hi Frank,
Thanks for your message.

The requests for the METAR data were forwarded from HAMweather.net to my servers after they stopped providing this information about seven years ago. Also I donated my time to support those that participated in PWSWeather.com. I was glad to do this since it was originally my idea almost 25 years ago and I wanted to continue supporting the personal weather station community.
Last year AerisWeather (previously HAMweather) and PWSWeather.com were sold to Vaisala. Vaisala determined our continued partnership and my contributions posed a potential security risk since I wasnG«÷t an employee. They withdrew all mutual benefits from me, my site and my company.-Š So I am not able to supply this data to the personal weather station community anymore.
Like I say PWSWeather was originally my idea so this is not something I wanted.-Š But I really had no choice in the matter.-Š If I would have known this was going to happen I probably would have set it up differently.-Š But it is what it is.

Joe Torsitano
WeatherForYou.com LLC

I am a software engineer and write code for many systems. Windows applications are fairly easy to write and NOAA has a JSON API for retrieving METAR data. Once the data has been retrieved, there is a function for creating the CSV file. So I believe I can create a program that runs as a service on a windows PC (best to be on the PC running VWS) to provide the data that Joe was providing. I just need some knowledge from the folks here (if known) of where the originally downloaded METAR data was put so VWS could use it to update the ICONS and generate the reports. If someone can provide that, I will work on the code to generate a windows installer for a service that will run at a frequency that you supply.

Thanks for you help ......

Frank 



Offline ohlone

  • Member
  • *
  • Posts: 45
    • Weston Road Weather
Re: VWS and METAR report
« Reply #102 on: June 30, 2024, 12:37:20 PM »
Easy - these are kept in the c:\vws\metar folder

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9399
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: VWS and METAR report
« Reply #103 on: July 01, 2024, 05:59:34 PM »
Yes, and they use the unparsed (raw) format from tgftp.nws.noaa.gov.

VWS hasn't been maintained in years, and will likely not have any updates since Ed retired.

The underlying issue is that http access to tgftp.nws.noaa.gov is now deprecated (https and FTP still works), but VWS use of https is likely suspect in that its libraries likely use a (now deprecated) old TLS version which is not supported on the newer tgftp service.  So, VWS with static code will likely not be able to directly refresh the file in c:\vws\metar again.

What I don't know is whether VWS parses the METAR when it gets it from the internet, or downloads, then parses the file in the filesystem.
If the latter, then having a second process refresh the file contents would work.  If the former, then having a new file in vws\metar directory would have no effect.

Maybe it's time to switch to supported weather software -- I can suggest CumulusMX (being actively developed) or weewx (also actively developed) or Weather-Display (still supported, development in suspension).

I, too, run VWS, but not for my primary site (Weather-Display/WeatherLink) -- just to have testing for the Saratoga template VWS plugin.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline ohlone

  • Member
  • *
  • Posts: 45
    • Weston Road Weather
Re: VWS and METAR report
« Reply #104 on: July 01, 2024, 07:49:53 PM »
Ken is right.  We came up with a ďhack ď to restart vws hourly to get it to parse the metar files.  It generates CSV files which are used for the icons.

Once the program is running even if we replace the metadata file it doesnít update the CSV files. What Iím not sure of is if the csv file was created by a second process would it use it for icon updates. I doubt it. 

 

anything