Updated RadarAU Block (v3.2) – fix functionality, image displays and PHP 8.x compatibility

Post Reply
SteveParry
Observer
Observer
Posts: 15
Joined: Thu Dec 26, 2019 7:16 am
Location: Samford Valley, Australia
Station model: Davis Vantage Vue
Software: CumulusMX
Contact:

Updated RadarAU Block (v3.2) – fix functionality, image displays and PHP 8.x compatibility

Post by SteveParry » Thu Jan 16, 2025 6:44 am

Please read https://www.meteotemplate.com/forum/vie ... php?t=2598 topic for background.

EDIT: 20 Nov 2025. Correct radarAU32.zip file attached. Previous was v2.2 which did NOT have the fixes. Apologies.

I am very happy to hear of any bugs or issues you are having with these blocks, and will try my best to sort them out.
For ease of tracking please lodge comments, feedback, requests etc against this topic for this Block.

Issue:
  • Version 2.2 of RadarAU stopped working when BOM prevented screen scraping access. Also threw errors in PHP 8.x.
  • Version 3.2 is attached which addresses this issue(s), includes enhancements, and fixes other bugs to enable it to run on PHP8.2. Tested on PHP7.4 and PHP8.2 using MeteoTemplate v19.0 Cranberry.
Changelog:
v3.0 - January 2023
  • Rewrite to use BOM FTP services. Add checkboxes for satellite.
v3.1 - November 2023
  • 20231128 having two variable variables together causes error in PHP 8.2. Array name created separately instead.
v3.2 - December 2024
  • 20241212 change to ftp_pasv to improve FTP transfer times and reliability.
  • 20241212 Improve error handling of ftp calls to BOM site.
  • 20241212 Change code because search string in ftp_nlist is not supported.
  • 20241212 Add an email address (“info@yoursite.com>” to the ftp connect (preferred username for BOM FTP access). Request for Jachym to make email address accessible from main config.
  • 20250109 Updated message to refer to BOM for latest info.
Installation
  • Backup your current radarAU folder, located in the homepage/blocks folder on your server.
  • Download the attached radarsAU32.zip file, upload to the homepage/blocks folder of your server, and unzip to the homepage/blocks directory. (This will overwrite your current radarAU block folder.)
  • Use the Install/Setup Blocks in the admin menu to check the radarAU settings are correct.
Steve Parry, Australia. www.samfordweather.com
Attachments
radarAU32.zip
(26.58 KiB) Downloaded 364 times
Last edited by SteveParry on Thu Nov 20, 2025 12:31 am, edited 3 times in total.

griffo
Newbie
Newbie
Posts: 4
Joined: Sun Jul 05, 2020 12:22 am
Station model: FineOffset
Software: CumulusMX

Re: Updated RadarAU Block (v3.2) – fix functionality, image displays and PHP 8.x compatibility

Post by griffo » Wed Nov 19, 2025 7:54 am

Hi Steve,

When I download the attachment, it still seems to be v2.2 and not v3.2.
Are you able to re-attach, send me the zip or provide alternate link to download?

OR are all these BOM related blocks now dead with the recent "revamp" of the BOM Site?

griffo
Newbie
Newbie
Posts: 4
Joined: Sun Jul 05, 2020 12:22 am
Station model: FineOffset
Software: CumulusMX

Re: Updated RadarAU Block (v3.2) – fix functionality, image displays and PHP 8.x compatibility

Post by griffo » Wed Nov 19, 2025 7:54 am

Hi Steve,

When I download the attachment, it still seems to be v2.2 and not v3.2.
Are you able to re-attach, send me the zip or provide alternate link to download?

OR are all these BOM related blocks now dead with the recent "revamp" of the BOM Site?

SteveParry
Observer
Observer
Posts: 15
Joined: Thu Dec 26, 2019 7:16 am
Location: Samford Valley, Australia
Station model: Davis Vantage Vue
Software: CumulusMX
Contact:

Re: Updated RadarAU Block (v3.2) – fix functionality, image displays and PHP 8.x compatibility

Post by SteveParry » Wed Nov 19, 2025 9:20 am

Hi Griffo.
The BOM upgrade shouldn't affect this block (yet!).

I'll check the version issue tomorrow.
Cheers... Steve

SteveParry
Observer
Observer
Posts: 15
Joined: Thu Dec 26, 2019 7:16 am
Location: Samford Valley, Australia
Station model: Davis Vantage Vue
Software: CumulusMX
Contact:

Re: Updated RadarAU Block (v3.2) – fix functionality, image displays and PHP 8.x compatibility

Post by SteveParry » Thu Nov 20, 2025 12:32 am

@griffo
Thanks for spotting the error - the correct zip file for v3.2 is now attached to the original post.
Cheers...Steve

Post Reply