Hi all,
this is a php script about worldextremes.
it collects data all over the world from metar data, and shows 24 hour max, min values.
I found it on the CumulusMX forum.
Check it out, and enjoy the weather...
in the php set your country,
maybe a new plugin?
grtz
alex
worldextremes php script
-
alexvanuxem
- Forecaster

- Posts: 222
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
- Jolumarali
- Professional

- Posts: 251
- Joined: Sun Aug 20, 2017 2:06 pm
- Location: Lignerolles
- Station model: Vantage Vue
- Software: WlIP
- Contact:
Re: worldextremes php script
Bonjour Alex
J'ai créé [/url]une page plugin , merci pour le partage
https://meteo-lignerolles.fr/custom/cus ... %20Weather
Aurais-tu une idée pour passer les vitesses des rafales en km/h.
Bon dimanche
et encore merci
José Luis
J'ai créé [/url]une page plugin , merci pour le partage
https://meteo-lignerolles.fr/custom/cus ... %20Weather
Aurais-tu une idée pour passer les vitesses des rafales en km/h.
Bon dimanche
et encore merci
José Luis
Station météo amateur Lignerolles
OS : Windows 11 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya
https://meteo-lignerolles.fr
José Luis
-
alexvanuxem
- Forecaster

- Posts: 222
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
-
alexvanuxem
- Forecaster

- Posts: 222
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
- Jolumarali
- Professional

- Posts: 251
- Joined: Sun Aug 20, 2017 2:06 pm
- Location: Lignerolles
- Station model: Vantage Vue
- Software: WlIP
- Contact:
Re: worldextremes php script
Bonsoir Alex
Ça change bien en km/h, mais pas la conversion de mph en km/h
il me semble que la conversion et là, mais aucune idée
Bonne soirée et merci
326 :function KMHtoMPH($fixgust) {
global $useunits, $uomGustE, $uomGustM;
if ($useunits == 'I') { // convert km/h to mph
return number_format(($fixgust / 1.60934), 1, '.', '') . $uomGustE;
} else { // leave in mph
return number_format(($fixgust / 1.60934), 1, '.', '') . $uomGustM;
}
}
Ça change bien en km/h, mais pas la conversion de mph en km/h
il me semble que la conversion et là, mais aucune idée
Bonne soirée et merci
326 :function KMHtoMPH($fixgust) {
global $useunits, $uomGustE, $uomGustM;
if ($useunits == 'I') { // convert km/h to mph
return number_format(($fixgust / 1.60934), 1, '.', '') . $uomGustE;
} else { // leave in mph
return number_format(($fixgust / 1.60934), 1, '.', '') . $uomGustM;
}
}
Station météo amateur Lignerolles
OS : Windows 11 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya
https://meteo-lignerolles.fr
José Luis
-
alexvanuxem
- Forecaster

- Posts: 222
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
Re: worldextremes php script
I got the same readings as you but in km/h.
highest gust 87 km/h
i will forward this issue on the cumulusmx forum page ....
ps: it's highly experimental....
if you click on the station you can see the raw data, for example:
https://www.ogimet.com/cgi-bin/gsynres? ... 0&ndays=30
maybe try this....
i changed it to france and km/h.
let me know.
highest gust 87 km/h
i will forward this issue on the cumulusmx forum page ....
ps: it's highly experimental....
if you click on the station you can see the raw data, for example:
https://www.ogimet.com/cgi-bin/gsynres? ... 0&ndays=30
maybe try this....
i changed it to france and km/h.
let me know.
- Attachments
-
- worldextremes.zip
- (5.27 KiB) Downloaded 749 times
- Jolumarali
- Professional

- Posts: 251
- Joined: Sun Aug 20, 2017 2:06 pm
- Location: Lignerolles
- Station model: Vantage Vue
- Software: WlIP
- Contact:
Re: worldextremes php script
Bonjour Alex
Merci pour le temps passé.
En faisant quelques essais.
modification ligne 305 = $uomGustM = ' km/h'; // kilometres per hour
Ligne 331 = return $fixgust * 1.0 . $uomGustM;
Résultat OK
Merci et bonne journée
José Luis
Merci pour le temps passé.
En faisant quelques essais.
modification ligne 305 = $uomGustM = ' km/h'; // kilometres per hour
Ligne 331 = return $fixgust * 1.0 . $uomGustM;
Résultat OK
Merci et bonne journée
José Luis
Station météo amateur Lignerolles
OS : Windows 11 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya
https://meteo-lignerolles.fr
José Luis
-
alexvanuxem
- Forecaster

- Posts: 222
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact: