l1bextract_oci not working

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
aewindle110
Posts: 4
Joined: Wed Oct 23, 2019 11:04 am America/New_York
Answers: 0

l1bextract_oci not working

by aewindle110 » Mon Jun 02, 2025 3:58 pm America/New_York

I am trying to run l1bextract_oci. I just did a fresh ocssw install and using V2025.1. When I do l1bextract_oci help, I get this error: Traceback (most recent call last):
File "/accounts/awindled/ocssw/bin/l1bextract_oci", line 6, in <module>
import netCDF4
ModuleNotFoundError: No module named 'netCDF4'

Any ideas on what's going on? Other ocssw functions are working just fine.

Anna

Filters:

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 715
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 10 times

Re: l1bextract_oci not working

by OB SeaDAS - xuanyang02 » Tue Jun 03, 2025 9:19 pm America/New_York

As "ModuleNotFoundError: No module named 'netCDF4'" indicates, you probably need to install netCDF4 module. You mgith find this tutorial video helpful -- https://www.youtube.com/watch?v=bvyxNYY_C4A&list=PLf60TttfDm30SjrRVBSXptm0tGRax5fKq&index=5

OB.DAAC - itcarroll
Subject Matter Expert
Subject Matter Expert
Posts: 11
Joined: Thu Nov 18, 2021 10:29 am America/New_York
Answers: 1
Been thanked: 1 time

Re: l1bextract_oci not working

by OB.DAAC - itcarroll » Wed Jun 04, 2025 3:48 pm America/New_York

I think the user knows how to install a package. In this case, I think the question is why hasn't that been taken care of during installation of ocssw? Is it supposed to have been?

I just tried running the installer script (https://oceandata.sci.gsfc.nasa.gov/manifest/install_ocssw) in a Python virtual environment. It returned an error because requests was missing. I manually installed requests and tried again, but there is still no netCDF module. Shouldn't these dependencies all be handled by the installer? I guessed at trying the `--python` argument, but don't detect any change.

How is a user supposed to know what to install and that they need to do it manually?

Post Reply