Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3044 7 December 2018. See the Wiki for download

PHP Web 'viewer' for Cumulus NOAA Style reports

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

User avatar
nking
Posts: 804
Joined: Thu 17 Dec 2009 2:03 pm
Weather Station: WH1081
Operating System: Windows 10
Location: Hurstpierpoint, West Sussex, UK
Contact:

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

Post by nking » Wed 28 Sep 2016 1:47 pm

Hi Beteljuice,

Thanks for replying. I do want to use your pack, in fact that is what I downloaded and attempted to follow but alas I must have got something wrong. Unfortunately, my knowledge is so poor that I don't have the skill to understand or resolve what I've done wrong and your suggestion to amend the css to resolve it is beyond my comprehension. I'm sure you probably feel like :roll: , but if you are able to provide idiot level instructions then I'll try to follow them to the best of my ability :?

User avatar
Mapantz
Posts: 527
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 x64 - A beast.
Location: Wareham, Dorset - UK
Contact:

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

Post by Mapantz » Wed 28 Sep 2016 3:02 pm

nking wrote:Hi Beteljuice,

Thanks for replying. I do want to use your pack, in fact that is what I downloaded and attempted to follow but alas I must have got something wrong. Unfortunately, my knowledge is so poor that I don't have the skill to understand or resolve what I've done wrong and your suggestion to amend the css to resolve it is beyond my comprehension. I'm sure you probably feel like :roll: , but if you are able to provide idiot level instructions then I'll try to follow them to the best of my ability :?
Have you got noaarep.css in the correct place on your server?
Image
Image

mitmania
Posts: 33
Joined: Tue 07 Feb 2012 11:51 am
Weather Station: WS2350 & Davis VP2
Operating System: Win 7
Location: Italy
Contact:

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

Post by mitmania » Sun 14 May 2017 4:14 pm

Hi all, I ask your advice to resolve a display issue of some characters that the program does not display properly: for example, "Falzè " becomes "Falz�", "°C" becomes "�C".

Thank you!!!!

User avatar
beteljuice
Posts: 2516
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

Post by beteljuice » Sun 14 May 2017 5:06 pm

Your page 'charset' is probably not correctly being applied - there have been problems like this on other things as well.

Hopefully someone using your language can come to the rescue.

A link to your page please ......
Image
......................Imagine, what you will KNOW tomorrow !

mitmania
Posts: 33
Joined: Tue 07 Feb 2012 11:51 am
Weather Station: WS2350 & Davis VP2
Operating System: Win 7
Location: Italy
Contact:

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

Post by mitmania » Sun 14 May 2017 5:17 pm


sfws
Posts: 462
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Customised mix of Fine Offset
Operating System: Tempermental Win. 10 PC
Location: UK

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

Post by sfws » Sat 20 May 2017 4:03 pm

Do the reports look ok when you look at them via Cumulus 'View' menu?
I'm guessing your problem is with the reports, not the web viewer?
Have you selected UTF-8 character set, or defaulted to your PC's code, in Cumulus 'Configuration' menu, 'NOAA Setup' screen?

From Wiki:
0 = Uses the encoding used for the viewer's operating system's default ANSI code page.
1 = Uses UTF8 (UCS Transformation Format—8-bit) format - the dominant character encoding for the World-Wide Web as using one to three bytes it represents most characters in common use covering most languages.
I'm unsure which is right for you (I actually have it ticked for me), but you could either untick (=0) or tick (=1) to reverse your current selection.

I wonder if I should be celebrating, or saddened, as this is my 300th post!

mitmania
Posts: 33
Joined: Tue 07 Feb 2012 11:51 am
Weather Station: WS2350 & Davis VP2
Operating System: Win 7
Location: Italy
Contact:

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

Post by mitmania » Mon 22 May 2017 4:45 am

Solved !! ... I had to tick the UTF-8 option from the configuration of the Cumulus NOOA report. Thanks for swfs reply !!!!

harlock26
Posts: 4
Joined: Sun 15 Apr 2018 3:54 pm
Weather Station: PCE-FWS 20
Operating System: Wndows 10

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

Post by harlock26 » Sun 15 Apr 2018 4:03 pm

Hi all, I ask for advice to solve a problem with Noaa data. I can not view Cumulus Noaa data in the Saratoga template. You can see the year and month buttons but the data are not loaded. Can someone help me solve the problem? This is the web page http://www.meteoalbianotn.altervista.or ... eports.php thanks

User avatar
PaulMy
Posts: 1731
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis Vantage Pro 2+ w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

Post by PaulMy » Sun 15 Apr 2018 4:44 pm

Do the NOAA YR and MO reports actually exist on your website?
Do you have the correct path in Settings-weather.php?

Code: Select all

# For NOAA reports
$SITE['NOAAdir']        = '../weather/reports/';   // relative location of the NOAA report files
and important that spelling is correct for your file i.e. reports vs Reports

Enjoy,
Paul

harlock26
Posts: 4
Joined: Sun 15 Apr 2018 3:54 pm
Weather Station: PCE-FWS 20
Operating System: Wndows 10

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

Post by harlock26 » Sun 15 Apr 2018 6:19 pm

These are my parameters
You do not have the required permissions to view the files attached to this post.

User avatar
PaulMy
Posts: 1731
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis Vantage Pro 2+ w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

Post by PaulMy » Sun 15 Apr 2018 6:46 pm

Your reports appear here http://www.meteoalbianotn.altervista.or ... YR2018.TXT
but in my set up i have it as http://www.komokaweather.com/weather/re ... YR2018.txt

Not sure of the file extension in capitals TXT vs txt would make a difference.

Paul

harlock26
Posts: 4
Joined: Sun 15 Apr 2018 3:54 pm
Weather Station: PCE-FWS 20
Operating System: Wndows 10

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

Post by harlock26 » Sun 15 Apr 2018 7:24 pm

Now it works, changed from TXT to txt. Thank you :clap: :clap:

User avatar
PaulMy
Posts: 1731
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis Vantage Pro 2+ w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

Post by PaulMy » Sun 15 Apr 2018 7:36 pm

Glad you have it working as should be. I am not very knowledgeable but have picked up a few key things overt the years from the many posts here.

Enjoy again.
Paul

Post Reply