Issue with l2gen w/SD7.5

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
dbotis
Posts: 44
Joined: Mon Nov 21, 2011 7:44 pm America/New_York
Answers: 0

Issue with l2gen w/SD7.5

by dbotis » Wed May 16, 2018 5:56 pm America/New_York

Hi

I'm using the GUI on a Mac with newly installed version 7.5

When I try to run l2gen from the OCSSW drop-down menu, I get the following error message:
ERROR: Problem creating product XML file: l2gen returned nonzero exitvalue

I have checked and my python version is:
Python 2.7.13 :: Anaconda 4.4.0 (x86_64)

Any ideas are appreciated. Thanks,

Dan

Filters:

OB.DAAC-EDL - SeanBailey
Posts: 1519
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Endorsed: 9 times

Issue with l2gen w/SD7.5

by OB.DAAC-EDL - SeanBailey » Thu May 17, 2018 7:22 am America/New_York

Dan,
This error occurs during the l2gen GUI initialization step - which runs l2gen to generate an xml file necessary for setting up the GUI.
If l2gen cannot generate this xml file, well, the GUI will be unhappy.

Were there any error messages with  the OCSSW installation?
You can try to update OCSSW from the GUI - just in case :wink:

Does  l2gen run from a terminal command line, you may need to do the following first:

export OCSSWROOT=[SeaDAS_install_dir]/ocssw
source $OCSSWROOT/OCSSW_bash.env
where: SeaDAS_install_dir is the directory where you installed SeaDAS.

Sean

dbotis
Posts: 44
Joined: Mon Nov 21, 2011 7:44 pm America/New_York
Answers: 0

Issue with l2gen w/SD7.5

by dbotis » Thu May 17, 2018 1:04 pm America/New_York

Thanks, Sean
I updated the OCSSW processors and did not encounter any errors there.

I tried to run l2gen from the command line after entering the export and source lines.

When I type "l2gen" at the command prompt, I get the following:
dyld: Library not loaded: /opt/local/lib/libxcb.1.dylib
  Referenced from: /Applications/seadas-7.5/ocssw/opt/lib/libX11.6.dylib
  Reason: image not found
Trace/BPT trap: 5ls

- Dan

OB.DAAC-EDL - SeanBailey
Posts: 1519
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Endorsed: 9 times

Issue with l2gen w/SD7.5

by OB.DAAC-EDL - SeanBailey » Thu May 17, 2018 3:11 pm America/New_York

Dan,
Shazbot...Run the update again, the dylib dependencies should be resolved.

Sean

dbotis
Posts: 44
Joined: Mon Nov 21, 2011 7:44 pm America/New_York
Answers: 0

Issue with l2gen w/SD7.5

by dbotis » Thu May 17, 2018 3:27 pm America/New_York

It works now. Thanks Sean.

Post Reply