Error running update_luts command

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
jianke
Posts: 21
Joined: Wed Jan 15, 2014 1:36 pm America/New_York
Answers: 0

Error running update_luts command

by jianke » 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.

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

Filters:

OB SeaDAS - dshea
Subject Matter Expert
Subject Matter Expert
Posts: 289
Joined: Thu Mar 05, 2009 10:25 am America/New_York
Answers: 0
Endorsed: 3 times

Re: Error running update_luts command

by OB SeaDAS - dshea » Fri Oct 16, 2026 2:37 pm America/New_York

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

jianke
Posts: 21
Joined: Wed Jan 15, 2014 1:36 pm America/New_York
Answers: 0

Re: Error running update_luts command

by jianke » Tue Oct 20, 2026 9:58 am America/New_York

Great. It works. Thanks Don!

Post Reply