weewx rpm
Name : weewx
Version : 4.5.1
Release : 1.el8
os fedora 34
atlas-config.conf attached
wee_import --import-config atlas-import.conf --dry-run
i get this error
Using WeeWX configuration file /etc/weewx/weewx.conf
Starting wee_import...
A CSV import from source file '/tmp/data.csv' has been requested.
Using database binding 'wx_binding', which is bound to database 'weewx.sdb'
Destination table 'archive' unit system is '0x01' (US).
Missing derived observations will be calculated.
All WeeWX radiation fields will be set to None.
This is a dry run, imported data will not be saved to archive.
Starting dry run import ...
Traceback (most recent call last):
File "/usr/share/weewx/wee_import", line 903, in <module>
main()
File "/usr/share/weewx/wee_import", line 833, in main
source_obj.run()
File "/usr/share/weewx/weeimport/weeimport.py", line 402, in run
_mapped_data = self.mapRawData(_raw_data, self.archive_unit_sys)
File "/usr/share/weewx/weeimport/weeimport.py", line 920, in mapRawData
weewx.units.obs_group_dict[_field])
File "/usr/lib64/python3.9/collections/__init__.py", line 941, in __getitem__
return self.__missing__(key) # support subclasses that define __missing__
File "/usr/lib64/python3.9/collections/__init__.py", line 933, in __missing__
raise KeyError(key)
KeyError: 'luminosity'
if i add luminosity to units.py with group_illuminance it works
if i change luminosity to illuminance in the config file it works but then have to change the database too
i don't thing wee_import is using the in use schema