Author Topic: Detailed Reports problem php 8.0 and 8.1  (Read 3852 times)

0 Members and 1 Guest are viewing this topic.

Offline hcorrin

  • Contributor
  • ***
  • Posts: 120
    • Ballaugh Weather
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #25 on: March 07, 2023, 04:30:40 AM »
Thanks Murray knew I missed something
Usually the snow here is gone the same day so probably not recorded in snow depth in past but will update this years

Offline meteosa

  • Member
  • *
  • Posts: 18
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #26 on: March 07, 2023, 09:05:01 AM »
I overlooked updating the soil temperature scripts since I don't have a soil temp sensor. I will update them later today.
Hi Murry,
I have a soil temperature sensor, is it possible to integrate it?
here is the test link where i am testing the 8.2 version of your files.
https://www.meteosantangelo.it/wxreport_new/wxsoiltempdetail.php

I ask you another thing, why can't you see all the data in this file?
https://www.meteosantangelo.it/wxreport_new/wxsolarseason.php

Thank you

Offline Murry Conarroe

  • Contributor
  • ***
  • Posts: 143
    • Wildwood Weather
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #27 on: March 07, 2023, 12:54:28 PM »
I overlooked updating the soil temperature scripts since I don't have a soil temp sensor. I will update them later today.
Hi Murry,
I have a soil temperature sensor, is it possible to integrate it?
here is the test link where i am testing the 8.2 version of your files.
https://www.meteosantangelo.it/wxreport_new/wxsoiltempdetail.php

I ask you another thing, why can't you see all the data in this file?
https://www.meteosantangelo.it/wxreport_new/wxsolarseason.php

Thank you

Looking at your climatedataout file, it has no columns for max and min soil temps. But it does have a column for snow depth which has data for every day. I suspect the snow depth readings are actually the max soil temp values.

There is a climatedatasoil.html template in the wxreports.zip. Copy it to the webfiles folder of WD and rename it to climatedata.html. Then recreate the climatedataout files for the required months.

I will look at the solarseason problem later today. But I did notice some suspicious readings. There were several days in March & April of 2022 where the readings were about 60 times the expected values.
Murry

Offline meteosa

  • Member
  • *
  • Posts: 18
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #28 on: March 08, 2023, 03:28:29 AM »
I overlooked updating the soil temperature scripts since I don't have a soil temp sensor. I will update them later today.
Hi Murry,
I have a soil temperature sensor, is it possible to integrate it?
here is the test link where i am testing the 8.2 version of your files.
https://www.meteosantangelo.it/wxreport_new/wxsoiltempdetail.php

I ask you another thing, why can't you see all the data in this file?
https://www.meteosantangelo.it/wxreport_new/wxsolarseason.php

Thank you

Looking at your climatedataout file, it has no columns for max and min soil temps. But it does have a column for snow depth which has data for every day. I suspect the snow depth readings are actually the max soil temp values.

There is a climatedatasoil.html template in the wxreports.zip. Copy it to the webfiles folder of WD and rename it to climatedata.html. Then recreate the climatedataout files for the required months.

I will look at the solarseason problem later today. But I did notice some suspicious readings. There were several days in March & April of 2022 where the readings were about 60 times the expected values.
I uploaded and edited the climatedata.html file now the soil temperature works. While for the other question how can it be solved "wxsolarseason.php"?
Thank you

Offline Murry Conarroe

  • Contributor
  • ***
  • Posts: 143
    • Wildwood Weather
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #29 on: March 08, 2023, 09:00:25 PM »
I overlooked updating the soil temperature scripts since I don't have a soil temp sensor. I will update them later today.
Hi Murry,
I have a soil temperature sensor, is it possible to integrate it?
here is the test link where i am testing the 8.2 version of your files.
https://www.meteosantangelo.it/wxreport_new/wxsoiltempdetail.php

I ask you another thing, why can't you see all the data in this file?
https://www.meteosantangelo.it/wxreport_new/wxsolarseason.php

Thank you

Looking at your climatedataout file, it has no columns for max and min soil temps. But it does have a column for snow depth which has data for every day. I suspect the snow depth readings are actually the max soil temp values.

There is a climatedatasoil.html template in the wxreports.zip. Copy it to the webfiles folder of WD and rename it to climatedata.html. Then recreate the climatedataout files for the required months.

I will look at the solarseason problem later today. But I did notice some suspicious readings. There were several days in March & April of 2022 where the readings were about 60 times the expected values.
I uploaded and edited the climatedata.html file now the soil temperature works. While for the other question how can it be solved "wxsolarseason.php"?
Thank you

I have been unable to duplicate your problem with the wxsolarseason.php file.

I did notice that you had made some edits to the wxreportinclude.php file related to the snow and snowdepth options.
There are no user settings in the wxreportinclude.php. The edits you made were apparently to remove the snow and snowdepth options.
But in the wxreport-settings.php file, you could have just set the snow and snow_depth links to false on lines 46 & 47 and not have had to make any edits to the wxreportinclude.php file. I would suggest putting the original wxreportinclude.php back in case something got corrupted during your editing.
Murry

Offline hcorrin

  • Contributor
  • ***
  • Posts: 120
    • Ballaugh Weather
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #30 on: March 09, 2023, 05:06:28 AM »
Ref solar season
March and April 2022 appear to have excessively high values in which are from WD 32022vantagelog.txt and 42022vantagelog.txt are the files were the high value will be found
After correction you will need to recreate solar graphs for those months then redo the dailynoaa and climate data files for those months
« Last Edit: March 09, 2023, 05:08:10 AM by hcorrin »

Offline meteosa

  • Member
  • *
  • Posts: 18
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #31 on: March 09, 2023, 06:13:52 AM »
Perfect, I changed the 32022vantagelog.txt and 42022vantagelog.txt file and now it works. A thousand thanks.  :lol:

Murry I did as you said in the two configuration files but there is a small problem with the file "wxheatindexdetail.php" does not exist in your .zip file can you insert it or put it here? Otherwise the page fails.
Thank you

Offline Murry Conarroe

  • Contributor
  • ***
  • Posts: 143
    • Wildwood Weather
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #32 on: March 09, 2023, 09:48:41 AM »
Perfect, I changed the 32022vantagelog.txt and 42022vantagelog.txt file and now it works. A thousand thanks.  :lol:

Murry I did as you said in the two configuration files but there is a small problem with the file "wxheatindexdetail.php" does not exist in your .zip file can you insert it or put it here? Otherwise the page fails.
Thank you

The wxheatindexdetail.php file has now been added to the zip.
Murry

Offline meteosa

  • Member
  • *
  • Posts: 18
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #33 on: March 09, 2023, 12:35:34 PM »
The wxheatindexdetail.php file has now been added to the zip.
i always have to recreate the files for "wxheatindexdetail.php" which now i don't see it?
https://www.meteosantangelo.it/wxreport_new/wxheatindexdetail.php
Thank you

Offline Murry Conarroe

  • Contributor
  • ***
  • Posts: 143
    • Wildwood Weather
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #34 on: March 09, 2023, 02:32:36 PM »
The wxheatindexdetail.php file has now been added to the zip.
i always have to recreate the files for "wxheatindexdetail.php" which now i don't see it?
https://www.meteosantangelo.it/wxreport_new/wxheatindexdetail.php
Thank you

I remember now. I wrote the heat index & wind chill scripts at the request of someone back in 2016. I created a climatedata template for him to use so that the heat index & wind chill data would be available for the scripts. I really didn't think the scripts would be that useful or reliable since the heat index & wind chill data can be a bit flaky.

If you really want to use those scripts, I will need to create a new climatedata template as you also have soil temp readings which he didn't.
Murry

Offline Murry Conarroe

  • Contributor
  • ***
  • Posts: 143
    • Wildwood Weather
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #35 on: March 09, 2023, 08:12:15 PM »
The wxheatindexdetail.php file has now been added to the zip.
i always have to recreate the files for "wxheatindexdetail.php" which now i don't see it?
https://www.meteosantangelo.it/wxreport_new/wxheatindexdetail.php
Thank you

I remember now. I wrote the heat index & wind chill scripts at the request of someone back in 2016. I created a climatedata template for him to use so that the heat index & wind chill data would be available for the scripts. I really didn't think the scripts would be that useful or reliable since the heat index & wind chill data can be a bit flaky.

If you really want to use those scripts, I will need to create a new climatedata template as you also have soil temp readings which he didn't.

I have attached an updated climatedata.html file for you. It has soil temps, heat index, and wind chill.
Download the climatedatasoil2.txt. Put it in the webfiles folder of WD and rename it to climatedata.html. Recreate and verify that it works for you.
Murry

Offline meteosa

  • Member
  • *
  • Posts: 18
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #36 on: March 10, 2023, 08:44:26 AM »
Perfect, it works.. I ask you the last thing, why in the files: "wxwindchilldetail.php" - "wxwindchillsummary.php" - wxwindchillseason.php from the temperature or below are not colored? especially on the first file?
https://www.meteosantangelo.it/wxreport_new/wxwindchilldetail.php

Also, why don't you see the "Mean Soil Temperatures" data in this table?
https://www.meteosantangelo.it/wxreport_new/wxsoiltempseason.php
Thank you

Offline Murry Conarroe

  • Contributor
  • ***
  • Posts: 143
    • Wildwood Weather
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #37 on: March 12, 2023, 10:16:37 PM »
Perfect, it works.. I ask you the last thing, why in the files: "wxwindchilldetail.php" - "wxwindchillsummary.php" - wxwindchillseason.php from the temperature or below are not colored? especially on the first file?
https://www.meteosantangelo.it/wxreport_new/wxwindchilldetail.php

Also, why don't you see the "Mean Soil Temperatures" data in this table?
https://www.meteosantangelo.it/wxreport_new/wxsoiltempseason.php
Thank you

Could you please send me about a year's worth of climatedataout files for testing as I have no soil temp sensor.
Murry

Offline Forever

  • Senior Contributor
  • ****
  • Posts: 207
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #38 on: April 23, 2023, 12:07:10 PM »
Anyone know why I don't have any data other than today for the last 2 months for Solar and UV?

http://www.weathercat.net/wxsolardetail.php?

Offline Murry Conarroe

  • Contributor
  • ***
  • Posts: 143
    • Wildwood Weather
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #39 on: April 23, 2023, 12:29:57 PM »
Anyone know why I don't have any data other than today for the last 2 months for Solar and UV?

http://www.weathercat.net/wxsolardetail.php?

You have changed your climatedata.html template.
The one used in February looked like this: http://www.weathercat.net/climatedataout22023.html
The current one looks like this: http://www.weathercat.net/climatedataout.html
No solar or uv data is now included.
Murry

Offline Forever

  • Senior Contributor
  • ****
  • Posts: 207
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #40 on: April 23, 2023, 12:38:08 PM »
What file do I need to add the data back into? Or is this a setting win WD I need to make?

Offline Murry Conarroe

  • Contributor
  • ***
  • Posts: 143
    • Wildwood Weather
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #41 on: April 23, 2023, 12:51:59 PM »
What file do I need to add the data back into? Or is this a setting win WD I need to make?
In the wxreports download, copy the climatedatasolaruv.html to the webfiles subdirectory of Weather Display and rename to climatedata.html and recreate the detailed climate reports for March and April.
Murry

Offline Forever

  • Senior Contributor
  • ****
  • Posts: 207
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #42 on: April 23, 2023, 01:10:00 PM »
Thank you, It's working now. :)

Offline Forever

  • Senior Contributor
  • ****
  • Posts: 207
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #43 on: April 23, 2023, 02:59:38 PM »
I noticed I have no data for Heat Index and Wind Chill and never have. What would I need to do to get this working?

Offline Murry Conarroe

  • Contributor
  • ***
  • Posts: 143
    • Wildwood Weather
Re: Detailed Reports problem php 8.0 and 8.1
« Reply #44 on: April 23, 2023, 03:58:56 PM »
I noticed I have no data for Heat Index and Wind Chill and never have. What would I need to do to get this working?
I'm not really impressed with the usefullness of the wind chill and heat index but if you want them, you will need to use the attached climatedata.txt and rename to climatedata.html.
Put in the webfiles folder of Weather Display and recreate for the climatedata files for the needed months.
Murry