extractors lasttime, mintime. maxtime

14 views
Skip to first unread message

Patrick Sifford

unread,
Aug 10, 2026, 8:47:56 AM (23 hours ago) Aug 10
to weewx-user
Found a reference to these in:


I have been trying to get these to work (attempting to get the time of the closest lightning strike and the last lightning strike) with little joy.  I keep getting and error of:

  File "/usr/share/weewx/weewx/accum.py", line 473, in augmentRecord
    func = get_extract_function(obs_type)
  File "/usr/share/weewx/weewx/accum.py", line 725, in get_extract_function
    return EXTRACT_FUNCTIONS[add_nickname]
           ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
KeyError: 'lasttime'

Would love to get these to work as it would make life easy.  

However, I may be forced into writing a service to do the same thing.

Thanks

Reply all
Reply to author
Forward
0 new messages