cloudy cloudy

Author Topic: forecast compare mashed up  (Read 2144 times)

0 Members and 1 Guest are viewing this topic.

Offline edje1205

  • edje
  • Posts: 1,943
  • Amsterdam Holland, the Netherlands
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 10.0
    • http://www.weersverwachtingen.eu
forecast compare mashed up
« on: February 16, 2016, 01:50:32 PM »
Hi Jim,

Was throwing away some 'old files' from before 2014 in my wdisplay map at 4th jan 2016, so thats the latest compare file.
http://www.weersverwachtingen.eu/clientraw/wd-ajax-ml/wxcompare_mc.php

As always something went wrong or did throw away needed files. Anyway:

When I run the vbs scripts like
http://www.weersverwachtingen.eu/clientraw/wd-ajax-ml/forecast-compare-include_yr.php?log&config=pm

it gives no OK but

The temperature variables must be initialized by running testtags.php or some other mechanism
 :roll:

vbs script
http://www.weersverwachtingen.eu/clientraw/wd-ajax-ml/fc-LogTemps.php

gives

12345 0.0 0.0 305 28.1 45 1005.0 0.0 30.4 165.4 0.000 0.000 26.4 45 0.0 1 0.0 0 0 0.0 24.4 255.0 8.3 10.9 -100.0 -100.0 -100 -100 -100 17 32 55 ***_Weerpagina_Zaanstreek_***-17:32:55 0 93 19 5 100 100 100 100 100 100 100 28.1 32.0 28.6 13.8 0 Zonnig/Droog -0.0 0.0 0.0 0.0 0.0 0.0 0.9 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 3.0 15.0 5374.4 19/5/2014 32.6 16.0 28.6 13.8 1.2 0.0 0.0 0.0 0.0 0.0 0.0 0.1 0.2 0.0 0.0 27.9 28.1 28.4 28.6 28.3 28.3 28.2 28.1 28.1 28.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 28.5 13.8 28.1 0.9 0 16:45:50 2011/09/02 305 0 0 -100.0 0.0 12 0 0 0 0 557.0 26.4 24.2 36.3 1008.5 1005.0 1 16:15 15:45 37.8 14.4 15.8 12.0 1 2014 28.0 1 -1 -1 305 305 305 305 305 305 305 305 305 305 0.0 255.0 0.0 20.1 52.44972 -4.82194 0.4 91 43 0.0 05:50 - - - - - - 0.5 !!C10.37R81!!

but thats a very old one.
Testtags.php/testtags.txt are present in root and  ../clientraw/wd-ajax-ml (where fc-compare is)

latest version of FC-Compare, so some went wrong in vsb script.

Please some advice to cleanup the mash ?

Thanks in advance
« Last Edit: February 16, 2016, 01:53:36 PM by edje1205 »
Ed
Woodenshoes,mills,hightech;but random weather
www.weersverwachtingen.eu
P4 2,2Ghz-2GB RAM-Win7-Broadb.connect


Offline jmcmurry

  • Jim McMurry
  • Posts: 2,799
  • Mauston, WI, USA
  • OS/Browser:
  • Win XP
  • Firefox 44.0
    • Juneau County Weather
Re: forecast compare mashed up
« Reply #1 on: February 17, 2016, 11:01:33 AM »
Ed,

From what I can tell, something is going wrong in your testtags.php.  When I run http://www.weersverwachtingen.eu/clientraw/wd-ajax-ml/testtags.php?sce=view I get the same thing that you are seeing with http://www.weersverwachtingen.eu/clientraw/wd-ajax-ml/fc-LogTemps.php.  Since fc-LogTemps.php includes testtags.php, it isn't getting the correct data.  Try uploading a new testtags.php since the one on your server seems to be a copy of clientraw.txt.

Also, make sure that

$maxtempoverday3 = %maxtempoverday3%;          //maximum temperature 9am to 9pm
$mintempovernight = %mintempovernight%;        //minimum temperature 9pm to 9am

are present in your testtags.php since fc-LogTemps.php is looking for them there.

Good Luck.  - Jim
Forum Search and Google can be your best friends

 Home of NSLog NexStorm Lightning Data Manager

Offline edje1205

  • edje
  • Posts: 1,943
  • Amsterdam Holland, the Netherlands
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 10.0
    • http://www.weersverwachtingen.eu
Re: forecast compare mashed up
« Reply #2 on: February 17, 2016, 04:41:25 PM »


Thanks Jim ! Got data again...

Quote
Try uploading a new testtags.php since the one on your server seems to be a copy of clientraw.txt.
That could be ftp upload second server in WD when a file is missing and gets the name of the file following on that.
I'll check it out tomorrow.

 
Ed
Woodenshoes,mills,hightech;but random weather
www.weersverwachtingen.eu
P4 2,2Ghz-2GB RAM-Win7-Broadb.connect


Offline jmcmurry

  • Jim McMurry
  • Posts: 2,799
  • Mauston, WI, USA
  • OS/Browser:
  • Win XP
  • Firefox 44.0
    • Juneau County Weather
Re: forecast compare mashed up
« Reply #3 on: February 18, 2016, 10:45:11 AM »
Ed,

I'm glad to see that you have the script working again.   :D

- Jim
Forum Search and Google can be your best friends

 Home of NSLog NexStorm Lightning Data Manager

Offline edje1205

  • edje
  • Posts: 1,943
  • Amsterdam Holland, the Netherlands
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Mozilla compatible
    • http://www.weersverwachtingen.eu
Re: forecast compare mashed up
« Reply #4 on: February 29, 2016, 05:53:54 PM »
Jim,


Yes it works again. Thank you again.

I noticed one thing while running het  forecasts compare:
I ran WU compare at 7.00 and 19.00h but the high and low values reversed
After that I did the run at 10.00 an 22.00 h but the reverse remained.

http://www.weersverwachtingen.eu/clientraw/wd-ajax-ml/wxcompare.php
and see att.

What's the best time for running WU compare or can I do something else to avoid this ?

Ed
Woodenshoes,mills,hightech;but random weather
www.weersverwachtingen.eu
P4 2,2Ghz-2GB RAM-Win7-Broadb.connect


Offline jmcmurry

  • Jim McMurry
  • Posts: 2,799
  • Mauston, WI, USA
  • OS/Browser:
  • Win XP
  • Firefox 44.0
    • Juneau County Weather
Re: forecast compare mashed up
« Reply #5 on: March 01, 2016, 11:20:56 AM »
Ed,

When you run a comparison the second time, nothing will happen because temps have already been logged for that period.

For the reversed temps in your 4:00 am comparison, try changing both your forecast and comparison to either an hour earlier or an hour later to see if that fixes it.  Somewhere around 4:30 am WxSim changes from the overnight low to the daytime high forecast in it's first temp.

- Jim
Forum Search and Google can be your best friends

 Home of NSLog NexStorm Lightning Data Manager

 

cumulus