Many bad user records in Usermap.txt for UserMap block

User avatar
justinhow
Observer
Observer
Posts: 37
Joined: Mon Aug 21, 2017 9:30 am
Location: Dumfries, Scotland, UK. My site is geo restricted
Station model: Davis Vantage Pro2
Software: Weather Display
Contact:

Many bad user records in Usermap.txt for UserMap block

Post by justinhow » Thu Aug 01, 2019 8:10 am

Just an FYI re the UserMap plugin. I was a bit fed up with clicking on the url links to users websites only to find that the link was dead. The users.txt file has about 1500 records in it and about a third can't be contacted. This may be a for a variety of reasons but probably mostly because the sites no longer exist.
I have written a PowerShell script that downloads the users.txt file from meteotemplate.com file and goes through all 1500+ records and saves all the records that get good responses (HTTP status = 200) into another file (of course a 200 respose does not mean there is a meteotemplate website running there). This file contains approx 840 sites and the end result can be seen on my weather website at https://www.dumfries-weather.com/plugin ... /index.php (site is only available in certain countries).
If you want this verified users.txt text file it is available Here. Just rename to users.txt and upload to your appropriate meteotemplate folder e.g. ..\plugins\userMap
I have set up a scheduled job that runs this script every week, so the file mentioned above will be updated every Monday morning.
Last edited by justinhow on Tue Jun 13, 2023 3:58 pm, edited 10 times in total.
Station: Davis Vantage Pro2, Weather Display, meteotemplate 19.0
Location: Dumfries, Scotland, UK
My Weather website: https://www.dumfries-weather.com (this site is geo-restricted)
Latest VERiFIED meteotemplate users.txt file is Here

User avatar
Jolumarali
Forecaster
Forecaster
Posts: 240
Joined: Sun Aug 20, 2017 2:06 pm
Location: Lignerolles
Station model: Vantage Vue
Software: WlIP
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by Jolumarali » Thu Aug 01, 2019 10:45 am

Thank you Justin
very good idea, update done.
Perfect

José Luis
Image
Station météo amateur Lignerolles
OS : Windows 10 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya

https://meteo-lignerolles.fr

José Luis

User avatar
LOBWX
Forecaster
Forecaster
Posts: 104
Joined: Sun Mar 11, 2018 6:43 pm
Location: Los Osos, CA
Station model: Ambient WS 1401-IP
Software: MeteoBridge
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by LOBWX » Thu Aug 01, 2019 6:31 pm

This is a valid site..

{"lat":"35.30720000","lon":"-120.83840000","url":"https:\/\/lobwx.com\/template\/","alt":null,"name":"Robert","pageName":"Los Osos | Baywood","country":"United States","countryCode":"us","type":"WS 0900-IP","place":"Baywood-Los Osos, California","img":"WH1080"}

Still, a great idea.

~Bob~
Just BE NICE! That's all it takes to be a decent human...

User avatar
justinhow
Observer
Observer
Posts: 37
Joined: Mon Aug 21, 2017 9:30 am
Location: Dumfries, Scotland, UK. My site is geo restricted
Station model: Davis Vantage Pro2
Software: Weather Display
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by justinhow » Thu Aug 01, 2019 6:44 pm

That is an interesting one.

Powershell comes back with this error
"Invoke-WebRequest : The request was aborted: Could not create SSL/TLS secure channel."

I think it is to do with the TLS version that Powershell tries to use. I may have a fix for that - will check it out shortly
Station: Davis Vantage Pro2, Weather Display, meteotemplate 19.0
Location: Dumfries, Scotland, UK
My Weather website: https://www.dumfries-weather.com (this site is geo-restricted)
Latest VERiFIED meteotemplate users.txt file is Here

User avatar
justinhow
Observer
Observer
Posts: 37
Joined: Mon Aug 21, 2017 9:30 am
Location: Dumfries, Scotland, UK. My site is geo restricted
Station model: Davis Vantage Pro2
Software: Weather Display
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by justinhow » Thu Aug 01, 2019 7:08 pm

OK - this is now fixed and txt files have been updated.

In fact this has increased the total verified sites to 998 (from 932), so thanks for promptly bringing that to my attention.
I have also added a link to the latest verified users.txt file in my signature - this will never be more than a week older than Jachym's master file
Station: Davis Vantage Pro2, Weather Display, meteotemplate 19.0
Location: Dumfries, Scotland, UK
My Weather website: https://www.dumfries-weather.com (this site is geo-restricted)
Latest VERiFIED meteotemplate users.txt file is Here

User avatar
Jolumarali
Forecaster
Forecaster
Posts: 240
Joined: Sun Aug 20, 2017 2:06 pm
Location: Lignerolles
Station model: Vantage Vue
Software: WlIP
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by Jolumarali » Fri Aug 02, 2019 7:31 am

Hello Justin

idea that is good, but there are operational sites that are actually urls that are inaccurate (example: http://meteoballabio.altervista.org/template/) and if you modify by:
http://meteoballabio.altervista.org/tem ... esktop.php, the link is OK, so hard to delete or keep, it's a real puzzle.

Have a good day

José Luis

with translator
Image
Station météo amateur Lignerolles
OS : Windows 10 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya

https://meteo-lignerolles.fr

José Luis

User avatar
justinhow
Observer
Observer
Posts: 37
Joined: Mon Aug 21, 2017 9:30 am
Location: Dumfries, Scotland, UK. My site is geo restricted
Station model: Davis Vantage Pro2
Software: Weather Display
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by justinhow » Fri Aug 02, 2019 9:56 am

Hi José,
I think it is simple, if the link does not work - for whatever reason - I don't want to see it. I don't want to have to try various alternative url's in case one of them just might work.
It is the responsibility of the owner of the weather website to check at least once on meteotemplate.com that the link to their website is correct Also the problem you found amounts to a very basic website miss-configuration - setting up the default document. How did the owner not pick that up???
However I will do a check to see how many this may apply to with just index.php and indexDesktop.php.
Cheers
Justin
Station: Davis Vantage Pro2, Weather Display, meteotemplate 19.0
Location: Dumfries, Scotland, UK
My Weather website: https://www.dumfries-weather.com (this site is geo-restricted)
Latest VERiFIED meteotemplate users.txt file is Here

User avatar
justinhow
Observer
Observer
Posts: 37
Joined: Mon Aug 21, 2017 9:30 am
Location: Dumfries, Scotland, UK. My site is geo restricted
Station model: Davis Vantage Pro2
Software: Weather Display
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by justinhow » Fri Aug 02, 2019 10:28 am

OK - this only applies to 6 websites (0.3% approx of the 1500 listed), so not really worth worrying about.
Station: Davis Vantage Pro2, Weather Display, meteotemplate 19.0
Location: Dumfries, Scotland, UK
My Weather website: https://www.dumfries-weather.com (this site is geo-restricted)
Latest VERiFIED meteotemplate users.txt file is Here

User avatar
Jolumarali
Forecaster
Forecaster
Posts: 240
Joined: Sun Aug 20, 2017 2:06 pm
Location: Lignerolles
Station model: Vantage Vue
Software: WlIP
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by Jolumarali » Fri Aug 02, 2019 10:39 am

Personally, I've redirected to my new site

this one: http://alainleprevost.fr/meteotemplate/indexDesktop.php
not easy to find: http://meteo-iton.fr/indexDesktop.php

to users to redirect
Image
Station météo amateur Lignerolles
OS : Windows 10 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya

https://meteo-lignerolles.fr

José Luis

User avatar
jay_hoehn
Language Admin
Language Admin
Posts: 135
Joined: Sun Aug 20, 2017 1:45 pm
Location: Las Cruces, NM USA
Station model: Vantage Pro 2 Plus
Software: WeeWx
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by jay_hoehn » Sun Aug 04, 2019 2:44 am

Justin,

I just tried to get the text file and get a 404 error.

Jay

User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by John B » Sun Aug 04, 2019 4:09 am

It works for me, Jay. Perhaps a traffic problem.

John

User avatar
justinhow
Observer
Observer
Posts: 37
Joined: Mon Aug 21, 2017 9:30 am
Location: Dumfries, Scotland, UK. My site is geo restricted
Station model: Davis Vantage Pro2
Software: Weather Display
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by justinhow » Sun Aug 04, 2019 7:41 am

My bad - will fix problem - should be there in 45 mins.
Last edited by justinhow on Sun Aug 04, 2019 9:09 am, edited 1 time in total.
Station: Davis Vantage Pro2, Weather Display, meteotemplate 19.0
Location: Dumfries, Scotland, UK
My Weather website: https://www.dumfries-weather.com (this site is geo-restricted)
Latest VERiFIED meteotemplate users.txt file is Here

User avatar
justinhow
Observer
Observer
Posts: 37
Joined: Mon Aug 21, 2017 9:30 am
Location: Dumfries, Scotland, UK. My site is geo restricted
Station model: Davis Vantage Pro2
Software: Weather Display
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by justinhow » Sun Aug 04, 2019 8:23 am

I had updated the script and left a bug in it. Fixed now and file is there.
Station: Davis Vantage Pro2, Weather Display, meteotemplate 19.0
Location: Dumfries, Scotland, UK
My Weather website: https://www.dumfries-weather.com (this site is geo-restricted)
Latest VERiFIED meteotemplate users.txt file is Here

User avatar
jay_hoehn
Language Admin
Language Admin
Posts: 135
Joined: Sun Aug 20, 2017 1:45 pm
Location: Las Cruces, NM USA
Station model: Vantage Pro 2 Plus
Software: WeeWx
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by jay_hoehn » Mon Aug 05, 2019 12:03 am

Thanks Justin. Worked great.

Jay

User avatar
cw3beck
Observer
Observer
Posts: 24
Joined: Sun Aug 20, 2017 5:48 pm
Location: Huntsville, AL
Station model: Davis Pro 2
Software: Weather Display
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by cw3beck » Sat Oct 05, 2019 11:47 am

Great tool, Justin! works like a charm :D

User avatar
justinhow
Observer
Observer
Posts: 37
Joined: Mon Aug 21, 2017 9:30 am
Location: Dumfries, Scotland, UK. My site is geo restricted
Station model: Davis Vantage Pro2
Software: Weather Display
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by justinhow » Sat Oct 05, 2019 12:47 pm

Glad you find it useful. I'm not sure whether Jachym is still updating this file now, but I download it and update it each week anyway.
I only say this because I requested an update in July (I moved house and changed the url to my weather website) and he has not dealt with it yet - he said it would take a while because he is busy on work matters.
This is NOT a criticism of Jachym who has done an amazing job with this software.
Station: Davis Vantage Pro2, Weather Display, meteotemplate 19.0
Location: Dumfries, Scotland, UK
My Weather website: https://www.dumfries-weather.com (this site is geo-restricted)
Latest VERiFIED meteotemplate users.txt file is Here

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by Jachym » Sun Oct 13, 2019 4:37 pm

Hi Justin,

I know about this and there are two possible reasons - one is that the site really no longer exist, the other is that some users often change their template URL - eg. they change URL with each version (not a very good idea, but it is true) or because they first test it on some subdomain, register, I insert the URL to the users list and they then make it their default landing homepage.

I was thinking about this and I came to conclusion that I will just leave it like that - present and past users because it would be too time-consuming to try to contact everyone - "did you delete your MT website or does it have a new URL".

User avatar
Jolumarali
Forecaster
Forecaster
Posts: 240
Joined: Sun Aug 20, 2017 2:06 pm
Location: Lignerolles
Station model: Vantage Vue
Software: WlIP
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by Jolumarali » Sun Oct 13, 2019 5:26 pm

hello Jachym and justin, personally after creating a domain, I put a redirect on my first instalation meteotemplate.

http://lignerolles.monespace.net/template vers meteo-lignerolles.fr

greetings
Image
Station météo amateur Lignerolles
OS : Windows 10 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya

https://meteo-lignerolles.fr

José Luis

User avatar
justinhow
Observer
Observer
Posts: 37
Joined: Mon Aug 21, 2017 9:30 am
Location: Dumfries, Scotland, UK. My site is geo restricted
Station model: Davis Vantage Pro2
Software: Weather Display
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by justinhow » Mon Oct 14, 2019 10:32 am

Yea - that will work of course - only trouble is that if the 'old' site uses a domain name you pay for (which in my case it did) - you have to keep paying for it when you don't really use it.!
Station: Davis Vantage Pro2, Weather Display, meteotemplate 19.0
Location: Dumfries, Scotland, UK
My Weather website: https://www.dumfries-weather.com (this site is geo-restricted)
Latest VERiFIED meteotemplate users.txt file is Here

User avatar
Jolumarali
Forecaster
Forecaster
Posts: 240
Joined: Sun Aug 20, 2017 2:06 pm
Location: Lignerolles
Station model: Vantage Vue
Software: WlIP
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by Jolumarali » Mon Oct 14, 2019 11:02 am

Exactly Justin, which is not my case. So I update about every week with your link and thank you again.
cordially

José Luis
Image
Station météo amateur Lignerolles
OS : Windows 10 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya

https://meteo-lignerolles.fr

José Luis

User avatar
Jolumarali
Forecaster
Forecaster
Posts: 240
Joined: Sun Aug 20, 2017 2:06 pm
Location: Lignerolles
Station model: Vantage Vue
Software: WlIP
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by Jolumarali » Mon Oct 14, 2019 11:09 am

Justin, I made a page of some amateur stations featuring a webcam on a part of Europe that I'm updating from both as a lost time.

http://meteo-lignerolles.fr/custom/cust ... %20Amateur

José Luis
Image
Station météo amateur Lignerolles
OS : Windows 10 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya

https://meteo-lignerolles.fr

José Luis

User avatar
justinhow
Observer
Observer
Posts: 37
Joined: Mon Aug 21, 2017 9:30 am
Location: Dumfries, Scotland, UK. My site is geo restricted
Station model: Davis Vantage Pro2
Software: Weather Display
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by justinhow » Tue Oct 15, 2019 9:03 am

Hi José
Superb job - I will put a link on my site to your page.

Justin
Station: Davis Vantage Pro2, Weather Display, meteotemplate 19.0
Location: Dumfries, Scotland, UK
My Weather website: https://www.dumfries-weather.com (this site is geo-restricted)
Latest VERiFIED meteotemplate users.txt file is Here

User avatar
MeteoElMasnou
Observer
Observer
Posts: 26
Joined: Sat Feb 05, 2022 1:56 pm
Location: El Masnou / Catalunya
Station model: Davis Vantage Vue
Software: Weewx
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by MeteoElMasnou » Wed Apr 20, 2022 6:44 pm

Hi Justin,

I incorporated the data of my station in my USERS.TXT locally, but I see that in your last update my station was not incorporated, which is the following:

{"lat":"41.4833500","lon":"2.3182100","url":"https:\/\/www.meteoelmasnou.cat\/","alt":null,"name":"Mactxabi","pageName":"Meteo El Masnou","country":"Spain","countryCode":"es","type":"Davis Vantage Vue","place":"El Masnou, Barcelona","img":"davisVue"}


I must do something wrong.

Thanks.

User avatar
justinhow
Observer
Observer
Posts: 37
Joined: Mon Aug 21, 2017 9:30 am
Location: Dumfries, Scotland, UK. My site is geo restricted
Station model: Davis Vantage Pro2
Software: Weather Display
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by justinhow » Wed Apr 20, 2022 6:52 pm

Hi
I download Jachym's central users file each week and check it so you would need to get Jachym to update his central one for it to appear in my checked version - http://www.meteotemplate.com/web/users.php
Station: Davis Vantage Pro2, Weather Display, meteotemplate 19.0
Location: Dumfries, Scotland, UK
My Weather website: https://www.dumfries-weather.com (this site is geo-restricted)
Latest VERiFIED meteotemplate users.txt file is Here

User avatar
MeteoElMasnou
Observer
Observer
Posts: 26
Joined: Sat Feb 05, 2022 1:56 pm
Location: El Masnou / Catalunya
Station model: Davis Vantage Vue
Software: Weewx
Contact:

Re: Many bad user records in Usermap.txt for UserMap block

Post by MeteoElMasnou » Thu Apr 21, 2022 10:01 am

justinhow wrote: Wed Apr 20, 2022 6:52 pm Hi
I download Jachym's central users file each week and check it so you would need to get Jachym to update his central one for it to appear in my checked version - http://www.meteotemplate.com/web/users.php
Ok., I've tried it several times to see if Jachym's it can be included.

Thank you both for the work.

Post Reply