Error running update_luts command
Posted: Thu Oct 15, 2026 10:08 am America/New_York
I recently upgraded my SeaDAS to version 2026.5. When I run the update_luts command to update luts for Viirsj2, I got this error message. Could anyone know how to fix this? Thanks in advance.
Error loading sensor list: expected str, bytes or os.PathLike object, not NoneType
Traceback (most recent call last):
File "$HOME/ocssw/bin/update_luts", line 77, in <module>
luts.get_luts()
File "$HOME/ocssw/bin/seadasutils/LutUtils.py", line 116, in get_luts
for d in self.lut_dirs():
File "$HOME/ocssw/bin/seadasutils/LutUtils.py", line 84, in lut_dirs
if self.sensor['instrument'].lower() == 'modis':
TypeError: 'NoneType' object is not subscriptable
Code: Select all
$HOME/ocssw/bin/update_luts viirsj2Traceback (most recent call last):
File "$HOME/ocssw/bin/update_luts", line 77, in <module>
luts.get_luts()
File "$HOME/ocssw/bin/seadasutils/LutUtils.py", line 116, in get_luts
for d in self.lut_dirs():
File "$HOME/ocssw/bin/seadasutils/LutUtils.py", line 84, in lut_dirs
if self.sensor['instrument'].lower() == 'modis':
TypeError: 'NoneType' object is not subscriptable