Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post 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

Moderators: daj, TNETWeather

User avatar
nking
Posts: 804
Joined: Thu Dec 17, 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

Postby nking » Wed Sep 28, 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: 566
Joined: Sat Dec 17, 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

Postby Mapantz » Wed Sep 28, 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 Feb 07, 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

Postby mitmania » Sun May 14, 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: 2472
Joined: Tue Dec 09, 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

Postby beteljuice » Sun May 14, 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 Feb 07, 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

Postby mitmania » Sun May 14, 2017 5:17 pm


sfws
Posts: 419
Joined: Fri Jul 27, 2012 11:29 am
Weather Station: Customised mix of Fine Offset
Operating System: having problems with PC
Location: UK

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

Postby sfws » Sat May 20, 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 Feb 07, 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

Postby mitmania » Mon May 22, 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 Apr 15, 2018 3:54 pm
Weather Station: PCE-FWS 20
Operating System: Wndows 10

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

Postby harlock26 » Sun Apr 15, 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: 1714
Joined: Sun Sep 28, 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

Postby PaulMy » Sun Apr 15, 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 Apr 15, 2018 3:54 pm
Weather Station: PCE-FWS 20
Operating System: Wndows 10

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

Postby harlock26 » Sun Apr 15, 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: 1714
Joined: Sun Sep 28, 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

Postby PaulMy » Sun Apr 15, 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 Apr 15, 2018 3:54 pm
Weather Station: PCE-FWS 20
Operating System: Wndows 10

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

Postby harlock26 » Sun Apr 15, 2018 7:24 pm

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

User avatar
PaulMy
Posts: 1714
Joined: Sun Sep 28, 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

Postby PaulMy » Sun Apr 15, 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


Return to “Web site - General”

Who is online

Users browsing this forum: No registered users and 2 guests