Looks like you need to add maxSolarRad to the database. 
https://github.com/poblabs/weewx-belchertown/wiki/Adding-a-new-observation-type-to-the-WeeWX-database

On Tuesday, July 30, 2019 at 10:47:49 PM UTC-4, Xant wrote:
>
>
> Pat
>
> Thank you for prompt response once again, and apologies if Rad Graph was 
> not clear (as I thought) to be from Belchertown webpage. The intent, is 
> still to reproduce above plot *without *Radiance date and sensor.
>
> Yes... I originally followed the above posting, and certified that pyephem 
> indeed working and maxSolarRad been calculated, as "published" per the 
> following:
>
>
>
> Well, Radiation is N/A, as there is not Acurite sensor for it (as 
> realized). maxSolarRad (TheoMaxRad) "zero" as it is night time, but there 
> was actual calculated 'number data' reporting during day time (not in error 
> or N/A).
>
> Then, tried the following:
>
>     [[chart7]]
>         title = TheoRad
>         [[[maxSolarRad]]]
>             name = TheoMaxRad
>             type = area
>             
>     [[chart8]]
>         title = UV
>         [[[UV]]]
>             yaxis_min = 0
>             yaxis_max = 14
>             color = "#90ed7d"
>             y_label = "UV"
>             name = UV Index
>             zIndex = 2
>
> But error:
>
> Jul 30 00:00:19 raspberrypi weewx[18712]: reportengine: Caught 
> unrecoverable exception in generator 
> 'user.belchertown.HighchartsJsonGenerator'
> Jul 30 00:00:19 raspberrypi weewx[18712]:         ****  no such column: 
> maxSolarRad
> Jul 30 00:00:19 raspberrypi weewx[18712]:         ****  Traceback (most 
> recent call last):
> Jul 30 00:00:19 raspberrypi weewx[18712]:         ****    File 
> "/usr/share/weewx/weewx/reportengine.py", line 204, in run
> Jul 30 00:00:19 raspberrypi weewx[18712]:         ****      obj.start()
> Jul 30 00:00:19 raspberrypi weewx[18712]:         ****    File 
> "/usr/share/weewx/weewx/reportengine.py", line 300, in start
> Jul 30 00:00:19 raspberrypi weewx[18712]:         ****      self.run()
> Jul 30 00:00:19 raspberrypi weewx[18712]:         ****    File 
> "/usr/share/weewx/user/belchertown.py", line 1133, in run
> Jul 30 00:00:19 raspberrypi weewx[18712]:         ****      series_data = 
> self._getObservationData(observation_type, minstamp, maxstamp, 
> aggregate_type, agg$
> Jul 30 00:00:19 raspberrypi weewx[18712]:         ****    File 
> "/usr/share/weewx/user/belchertown.py", line 1530, in _getObservationData
> Jul 30 00:00:19 raspberrypi weewx[18712]:         ****      
> (time_start_vt, time_stop_vt, obs_vt) = 
> self.db_lookup().getSqlVectors(TimeSpan(start_ts, end_ts$
> Jul 30 00:00:19 raspberrypi weewx[18712]:         ****    File 
> "/usr/share/weewx/weewx/manager.py", line 513, in getSqlVectors
> Jul 30 00:00:19 raspberrypi weewx[18712]:         ****      
> aggregate_type, aggregate_interval)
> Jul 30 00:00:19 raspberrypi weewx[18712]:         ****    File 
> "/usr/share/weewx/weewx/manager.py", line 790, in _getSqlVectors
> Jul 30 00:00:19 raspberrypi weewx[18712]:         ****      for _rec in 
> _cursor.execute(sql_str, (startstamp, stopstamp)):
> Jul 30 00:00:19 raspberrypi weewx[18712]:         ****    File 
> "/usr/share/weewx/weedb/sqlite.py", line 41, in guarded_fn
> Jul 30 00:00:19 raspberrypi weewx[18712]:         ****      raise 
> weedb.NoColumnError(e)
> Jul 30 00:00:19 raspberrypi weewx[18712]:         ****  NoColumnError: no 
> such column: maxSolarRad
> Jul 30 00:00:19 raspberrypi weewx[18712]:         ****  Generator 
> terminated
>
> Please, advice. Must report or expand maxSolarRad? If so, where?
>
> Thanks,
> Xant
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9ab36f87-5bfe-4abc-99b7-7b41615154a0%40googlegroups.com.

Reply via email to