Page 1 of 1

Error running update_luts command

Posted: Thu Oct 15, 2026 10:08 am America/New_York
by jianke
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.

Code: Select all

$HOME/ocssw/bin/update_luts viirsj2
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

Re: Error running update_luts command

Posted: Fri Oct 16, 2026 2:37 pm America/New_York
by OB SeaDAS - dshea
This file is missing or corrupt:

$OCDATAROOT/common/SensorInfo.json

- make sure OCSSWROOT is set and source $OCSSWROOT/OCSSW_bash_env
- get the correct share/common

Code: Select all

install_ocssw --tag V2026.5 --common
see if everything is happy.

don

Re: Error running update_luts command

Posted: Tue Oct 20, 2026 9:58 am America/New_York
by jianke
Great. It works. Thanks Don!