cloudy

Author Topic: clientrawdriven page  (Read 10079 times)

0 Members and 1 Guest are viewing this topic.

Offline pinto

  • Posts: 766
  • Belgium
    • weather station Kampenhout
clientrawdriven page
« on: February 01, 2006, 01:56:15 PM »
I'm working on page you only have to put in the same folder as your clientraw files.It is in a pre-Alpha stadion but I sure will share it.
You can see it here: link removed


I am no programmer, just experimenting and putting things together I did find on the net

Joske

thanks to Brian humidity last 4 hours added
added some tags
correction of conversion of rain mm to inch (wrong function was used)
correction of warmest day and night of month and adding warmest and coldest day of year
layout tested for viewing in 800-600 1024-768 1280-1024
tested with FF (thank you administrator)

09/02/2006
change of layout(thanks again admin)
added a few things and included graphs (you need to do some work yourselves)

feedback is welcome
« Last Edit: January 26, 2010, 12:28:10 PM by pinto »

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 21,998
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
    • http://www.realweatherstation.com
Re: clientrawdriven page
« Reply #1 on: February 01, 2006, 02:45:04 PM »
Wow, that's a great start  :D

Offline carterlake

  • Tom Chaplin
  • Posts: 2,273
  • Carter Lake, Iowa USA
    • Carter Lake, Iowa Weather
Re: clientrawdriven page
« Reply #2 on: February 01, 2006, 02:48:54 PM »
I've actually been thinking of turning the client raw on.... and using AJAX to make the main page "live" but without using any third pary software (like Flash).

Unfortunately, it looks like June will be the earliest I'll be able to play with it.

Interesting ideas though, eh?!

WD; Davis VP2 6153; Quickcam for Notebooks Pro; Boltek w/ Nexstorm; GRLevel3; Live NOAA radio

Offline pinto

  • Posts: 766
  • Belgium
    • weather station Kampenhout
Re: clientrawdriven page
« Reply #3 on: February 05, 2006, 02:14:20 PM »
made some modifications (see first post) for those who are interested)

Offline administrator

  • Administrator
  • Posts: 10,123
  • Get answers to your questions - use Forum SEARCH!
  • Blackpool, UK
    • Weather-Watch.com
Re: clientrawdriven page
« Reply #4 on: February 05, 2006, 03:07:40 PM »
I think you've missed the semi-colon at the end of all the &nbsp's!
Chris
Weather Forum Administrator

Offline pinto

  • Posts: 766
  • Belgium
    • weather station Kampenhout
Re: clientrawdriven page
« Reply #5 on: February 05, 2006, 03:10:49 PM »
thanks, will take a look at it #-o


done :)
« Last Edit: February 05, 2006, 03:27:49 PM by pinto »

Offline carterlake

  • Tom Chaplin
  • Posts: 2,273
  • Carter Lake, Iowa USA
    • Carter Lake, Iowa Weather
Re: clientrawdriven page
« Reply #6 on: February 05, 2006, 03:44:26 PM »
Hey! I've been looking for that compass point code for my abbreviated StormTrac report.

Thanks!

  // figure out a text value for compass direction
   switch (TRUE) {
     case (($winddir >= 349) and ($winddir <= 360)):
       $winddir = 'N';
     break;
     case (($winddir >= 0) and ($winddir <= 11)):
       $winddir = 'N';
     break;
     case (($winddir > 11) and ($winddir <= 34)):
       $winddir = 'NNE';
     break;
     case (($winddir > 34) and ($winddir <= 56)):
       $winddir = 'NE';
     break;
     case (($winddir > 56) and ($winddir <= 78)):
       $winddir = 'ENE';
     break;
     case (($winddir > 78) and ($winddir <= 101)):
       $winddir = 'E';
     break;
     case (($winddir > 101) and ($winddir <= 124)):
       $winddir = 'ESE';
     break;
     case (($winddir > 124) and ($winddir <= 146)):
       $winddir = 'SE';
     break;
     case (($winddir > 146) and ($winddir <= 169)):
       $winddir = 'SSE';
     break;
     case (($winddir > 169) and ($winddir <= 191)):
       $winddir = 'S';
     break;
     case (($winddir > 191) and ($winddir <= 214)):
       $winddir = 'SSW';
     break;
     case (($winddir > 214) and ($winddir <= 236)):
       $winddir = 'SW';
     break;
     case (($winddir > 236) and ($winddir <= 259)):
       $winddir = 'WSW';
     break;
     case (($winddir > 259) and ($winddir <= 281)):
       $winddir = 'W';
     break;
     case (($winddir > 281) and ($winddir <= 304)):
       $winddir = 'WNW';
     break;
     case (($winddir > 304) and ($winddir <= 326)):
       $winddir = 'NW';
     break;
     case (($winddir > 326) and ($winddir <= 349)):
       $winddir = 'NNW';
     break;
     case (($winddir > 360)):
       $winddir = '';
     break;

WD; Davis VP2 6153; Quickcam for Notebooks Pro; Boltek w/ Nexstorm; GRLevel3; Live NOAA radio

Offline pinto

  • Posts: 766
  • Belgium
    • weather station Kampenhout
Re: clientrawdriven page
« Reply #7 on: February 05, 2006, 03:52:04 PM »
I saw that in anole's sticker-script, so all credits go to him

Offline administrator

  • Administrator
  • Posts: 10,123
  • Get answers to your questions - use Forum SEARCH!
  • Blackpool, UK
    • Weather-Watch.com
Re: clientrawdriven page
« Reply #8 on: February 05, 2006, 08:33:34 PM »
done :)

It's much easier to read now, although I think there's too much data presented on one page. It needs splitting across a number of pages and probably some graphics adding.

One minor point (which you probably know about)...the pressure values in the left hand column overlap the main body of page. That's using FF1.51 if it makes a difference.
 
Chris
Weather Forum Administrator

Offline pinto

  • Posts: 766
  • Belgium
    • weather station Kampenhout
Re: clientrawdriven page
« Reply #9 on: February 05, 2006, 08:45:42 PM »

One minor point (which you probably know about)...the pressure values in the left hand column overlap the main body of page. That's using FF1.51 if it makes a difference.
 

thank you for your comments, I did't check it in FF(will do that), just IE

Offline pinto

  • Posts: 766
  • Belgium
    • weather station Kampenhout
Re: clientrawdriven page
« Reply #10 on: February 09, 2006, 08:46:37 PM »
made a few changes and included graphs(you have to do some work yourselves)
 check first post

feedback is welcome  :)

Offline administrator

  • Administrator
  • Posts: 10,123
  • Get answers to your questions - use Forum SEARCH!
  • Blackpool, UK
    • Weather-Watch.com
Re: clientrawdriven page
« Reply #11 on: February 09, 2006, 08:57:41 PM »
It's looking good. I like the graphs. I've played with jpgraph before and it's a very powerful package. I just wish I had enough free time to experiment with it some more!
Chris
Weather Forum Administrator

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 21,998
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
    • http://www.realweatherstation.com
Re: clientrawdriven page
« Reply #12 on: February 09, 2006, 11:43:01 PM »
Yep, great progress.

Offline pinto

  • Posts: 766
  • Belgium
    • weather station Kampenhout
Re: clientrawdriven page
« Reply #13 on: May 08, 2006, 11:36:54 AM »
I've actually been thinking of turning the client raw on.... and using AJAX to make the main page "live" but without using any third party software (like Flash).

Unfortunately, it looks like June will be the earliest I'll be able to play with it.

Interesting ideas though, eh?!

maybe this can give you a start ?

see attached file
You can see it working here(just wait more than one minute and watch the time behind the location)
http://www.joske-online.be/ajaxweather.html

it does work in IE and FF
« Last Edit: May 08, 2006, 11:43:19 AM by pinto »

Offline carterlake

  • Tom Chaplin
  • Posts: 2,273
  • Carter Lake, Iowa USA
    • Carter Lake, Iowa Weather
Re: clientrawdriven page
« Reply #14 on: May 08, 2006, 05:40:09 PM »
maybe this can give you a start ?

see attached file
You can see it working here(just wait more than one minute and watch the time behind the location)
http://www.joske-online.be/ajaxweather.html

it does work in IE and FF

OMG! I knew it was pretty simple but not -that- simple!

Now I need a couple of hours to build a page. Cool!

WD; Davis VP2 6153; Quickcam for Notebooks Pro; Boltek w/ Nexstorm; GRLevel3; Live NOAA radio

 

cumulus