Author Topic: Cloud Level  (Read 429 times)

0 Members and 1 Guest are viewing this topic.

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 441
    • Penn Lake Weather
Cloud Level
« on: February 14, 2024, 08:42:22 AM »
Hi,

I'm missing the image for my Cloud Display  -- pennlake.us,  weather display and USA version

Any suggestions?

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9298
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Cloud Level
« Reply #1 on: February 14, 2024, 01:58:07 PM »
Do you mean the marker for the cloud height or some other image?
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline Vasco

  • Forecaster
  • *****
  • Posts: 343
    • PWS
Re: Cloud Level
« Reply #2 on: February 14, 2024, 02:03:13 PM »
Strange, the whole graphic was missing but now it's back - without the marker  :?

Ecowitt GW1102 (with GW2000) + Weather Display in Windows 10

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 441
    • Penn Lake Weather
Re: Cloud Level
« Reply #3 on: February 14, 2024, 02:16:47 PM »
The graphic was missing but it is back. No apparent reason

thanks for the responses!

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9298
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Cloud Level
« Reply #4 on: February 14, 2024, 02:44:43 PM »
Ah.. gone again.  See the message with image at http://www.pennlake.us/cloud-base.php?html=1

Error message of
Code: [Select]
Deprecated: Implicit conversion from float 60.5 to int loses precision in /home/hogan2/pennlake.us/cloud-base.php on line 987 spoils the image.

that is the line
Code: [Select]
      imagestring ( $slate, $font, 36+($z), min(162,$y)-10, $txtC, $color);
At the top of the script, change
Code: [Select]
error_reporting(E_ALL ^ E_NOTICE);
error_reporting(E_ALL);
ini_set('display_errors','1');
to
Code: [Select]
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
# error_reporting(E_ALL);
ini_set('display_errors','1');
« Last Edit: February 14, 2024, 02:46:24 PM by saratogaWX »
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 441
    • Penn Lake Weather
Re: Cloud Level
« Reply #5 on: February 14, 2024, 03:52:04 PM »
Thanks Ken, I will get on that soon.

 

anything