Problem with climatedatayearout (Noaa style reports)[RESOLVED Build 05]

Hello,

Made wxclimate.php working and every month is working.

Only climatedatayearout 2009 and 2010 is not working.
I deleted climatedatayearout2009 and climatedatayearout and try to remake it, but both looks the same after remaking.
Follow this links to see what happens:
http://www.weerstation-marsdijk.nl/weer-archief/wxclimate.php?date=climatedatayearout2009
http://www.weerstation-marsdijk.nl/weer-archief/wxclimate.php?date=climatedatayearout
http://www.weerstation-marsdijk.nl/weer-archief/wxclimate.php

It looks like there is somewhere a bad file, but can`t find it.

What to do about this?
How to remake both years?

regards,
Oebel

when you go to view, av/ext in WD
then detailed climate report
and then set the year to 2009 and update year to date
is the data shown there?
just tested here and that works OK here

Hi Brian,

No, then I see same data as here: http://www.weerstation-marsdijk.nl/weer-archief/wxclimate.php?date=climatedatayearout2009

Oebel

if you have intact logfile for last year then try converting those to data files

I converted the logfile 2009 but it didn`t solve it.
Same problem.

Also I dont see my 2010 year file after making it. There must be data in it till yesterday but its all empty.
Looks the same as the 2009 file. Empty with only two zeros on day 1 and 2 (Dep. from normal)
I try to delete that files and remake it, but always same problem.

Oebel

you would need to convert each month logfile for last year to data file 1 at a time
(check those logfiles are correct first)
then under view, av/ext, detailed climate data, set the year to 2009 and click on year to date

also though check the template file has custom tags in it
climatedatayear.html
in the web files folder
(maybe replace that file with the original from the full install download)

It was a hell of a job and worsest is that it didn`t solve the problem.
Spent hours to watch numbers and repaired a lot, but without result.

First I repaired all 2009 logfiles. Then converted them one by one…
I deleted old climateyearout2009 file and looked for the custom tags. All tags looked ok

[quote]I deleted old climateyearout2009 file and looked for the custom tags. All tags looked ok

Yes, I checked climatedatayear and it seems ok

Also I dont see data in climatedatayearout2010. Other stations with wxclimate has data in that file till today. In my case its same as climatedatayearout2009. (without data)

So I think it can`t be corrupted logfiles? Then all of my files should be corrupted?
The month files I made are ok

have you actually looked in your logfiles for last year?
(and compared them to this year)
have you actually looked at last years each month data via view, av/ext
and compared the data with this years each month data?

I checked a lot and compared last year and this year logfiles. They are different as they should be.
I compared a few months (via av/ext) from last year and this year and also they are different as they should.

I think I surrender…and give up.

I opened Program event log and saw the box full with this: “Invalid class typecast”
What does this mean? Has it something to do with my problem?

Oebel

.zip and email me your data files from last year
i.e month12009.inf, month22009.inf, etc
and from this year
month12010.inf, month2010.inf
etc

and I will test here

that error could be the cause of your problems I would say
running the debug version should show an error report to pinpoint where that error is occuring
why give up?

Hi Brian,

You are right. We will go on.
Saw to many numbers (data) yesterday.

I mailed you the files.

This evening after work I will run the debug version.

Thanks for your support.

regards,
Oebel

your data files work here OK
so the problem could be with your logfiles
e.g 22009lgsun.txt or 22009lg2.txt
the might be some corrupt data in those date stamped logfiles
(as a test rename your logfiles folder (when wd is not running)

Thanks Brian, I will try this in the evening.

Oebel

Brian, did as you said. With the new made logfiles (folder) same problem when I make the climatedatayearout2010.
It is strange that I always get the same file with the two zeros in it after trying to make datayearout 2009 or 2010. It looks like that it always took this wrong file when making the datayearout2010 or also datayearout2009 files. It looks like it is stuck or attached to that file.

Also installed the WD Debug version. What to do now?

Oebel

see attached for what I see in WD from your data


Ok

2011?

I set the year to 2009 and clicked on update year to date
then did the same for 2010

post here or email me your climatedatayear.html file from the WD web files location (i.e where WD is set to find and use webfiles (from the control panel, webfiles/web page setup)