I compared your file and mine and came up with something that wasn't bad for me.
Well, if you have solar sensors added to the station later than after the first launch, it is worth editing this section in the code carefully. For me it was bad and the whole calendar for solar data didn't work
Code: Select all
$date_sunsensorOK = array('2016/6/11'); // format 'yyyy/m/d', will assume zero values from this date are true
$date_sunsensorFAIL = array(''); // format 'yyyy/m/d/ will assume zero values from this date are null
$date_solarOK = array('2016/6/11'); // format 'yyyy/m/d', will assume zero values from this date are true
$date_solarFAIL = array(''); // format 'yyyy/m/d/ will assume zero values from this date are null
$date_UVOK = array('2019/6/20'); // format 'yyyy/m/d', will assume zero values from this date are true
$date_UVFAIL = array(''); // format 'yyyy/m/d/ will assume zero values from this date are null