cloudy

Author Topic: climatedatayearout2012.html  (Read 551 times)

0 Members and 1 Guest are viewing this topic.

Offline Jean-Robert

  • Posts: 804
  • St-Etienne-des-Gres Quebec Canada
    • jean-robert3592
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 14.0
    • Jean-Robert Marion
climatedatayearout2012.html
« on: June 19, 2012, 11:11:38 AM »
Hi
I want to know if there a way to convert the file climatedatayearout2012.html to climatedatayearout2012.txt and then upload the file to the server by WeatherDisplay ?

Thanks for help.

Offline TNETWeather

  • Kevin Reed (KrelvinAZ)
  • Global Moderator
  • Posts: 5,914
  • Gremlins are at work...
  • Mesa, AZ
    • TNET Weather Station - Mesa AZ
Re: climatedatayearout2012.html
« Reply #1 on: June 19, 2012, 01:44:58 PM »
Just changing the file extension?

Isn't the file already being uploaded as it it's using the.html extension?

Via Mobile device...
« Last Edit: June 19, 2012, 01:46:32 PM by TNETWeather »

All you need is Time, Aptitude and Desire ... and you can build just about anything...

Offline Jean-Robert

  • Posts: 804
  • St-Etienne-des-Gres Quebec Canada
    • jean-robert3592
    • Jean-Robert Marion
climatedatayearout2012.html
« Reply #2 on: June 19, 2012, 02:05:36 PM »
Hi

Thank you for your fast answer.

My English is not very good.

What i mean, is the possibility to convert automaticaly the .html file to .txt file and then to be uploaded to the server by weatherDisplay.

I know that WeatherDisplay can convert .txt file to .php file but .html to .txt is another story !

Have a good day.

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 22,770
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • http://www.realweatherstation.com
Re: climatedatayearout2012.html
« Reply #3 on: June 19, 2012, 04:27:38 PM »
When you write "convert to .txt" do you mean that you want to have only the data, without the html formatting language, uploaded as a .txt file?

Offline Jean-Robert

  • Posts: 804
  • St-Etienne-des-Gres Quebec Canada
    • jean-robert3592
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 14.0
    • Jean-Robert Marion
Re: climatedatayearout2012.html
« Reply #4 on: June 19, 2012, 05:49:29 PM »
Hi Niko

Yes exactly. And then build a graph with the month and snowfall data.

Offline tman1991

  • Posts: 604
  • Tucson, AZ (US)
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 13.0.1
    • Countryside Manor
Re: climatedatayearout2012.html
« Reply #5 on: June 19, 2012, 06:31:17 PM »
Jean-Robert

There are already scripts that do that.. (well I think thats what you are looking for), they are jpgraphs.  But Murry makes the templates..

http://weather.wildwoodnaturist.com/downloads.php

http://weather.wildwoodnaturist.com/wxnoaagraphexamples.php



Offline Jean-Robert

  • Posts: 804
  • St-Etienne-des-Gres Quebec Canada
    • jean-robert3592
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 14.0
    • Jean-Robert Marion
Re: climatedatayearout2012.html
« Reply #6 on: June 19, 2012, 06:58:17 PM »
Hi

Thanks for the information but can't have the snowfall graph with those scripts !!!

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 22,770
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • http://www.realweatherstation.com
Re: climatedatayearout2012.html
« Reply #7 on: June 19, 2012, 07:16:13 PM »
Hi

Thanks for the information but can't have the snowfall graph with those scripts !!!

Well, you'll have to do a little work but Murry's wxnoaagraphs.zip gives you all the tools you need. It has the (hard work) .php to convert the .html report to a comma delimited data file, and examples of graphs using that data. You can use the graphs as example code to create a snow graph.

Offline tman1991

  • Posts: 604
  • Tucson, AZ (US)
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 13.0.1
    • Countryside Manor
Re: climatedatayearout2012.html
« Reply #8 on: June 19, 2012, 07:23:37 PM »
And murry was just on the forums.  If you email him he might even make you a snow page! Hes a great guy..

Offline Jean-Robert

  • Posts: 804
  • St-Etienne-des-Gres Quebec Canada
    • jean-robert3592
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 14.0
    • Jean-Robert Marion
Re: climatedatayearout2012.html
« Reply #9 on: June 19, 2012, 10:32:11 PM »
Hi guys

Thanks for fast help.

I will try to install these graps and then  will try to figure how to modify the .php file to see snowfall !!!

By any chance is there a readme file with instructions how to install ?

« Last Edit: June 19, 2012, 11:40:10 PM by Jean-Robert »

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 22,770
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • http://www.realweatherstation.com
Re: climatedatayearout2012.html
« Reply #10 on: June 20, 2012, 01:26:05 AM »
That's a good plan, if the standard graphs are working then it should be relatively easy to create the snow one.

Offline Jean-Robert

  • Posts: 804
  • St-Etienne-des-Gres Quebec Canada
    • jean-robert3592
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 14.0
    • Jean-Robert Marion
Re: climatedatayearout2012.html
« Reply #11 on: June 20, 2012, 10:46:47 AM »
Hi

The first big problem i meet is that the wxnoaacvsdata.php is converting the dalinoaareport*.htm files in a .cvs file but the snow data are not in this file, the snowdata are in the climatedatayear.html !!!

 

cumulus