l2gen error

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
xiaojupan
Posts: 1
Joined: Mon Oct 09, 2017 10:23 am America/New_York
Answers: 0

l2gen error

by xiaojupan » Tue Oct 10, 2017 2:43 am America/New_York

Hi,
Does anyone know what is wrong on my running GUI l2gen (seadas-7.4) with the error note: "ERROR: Problem creating product XML file: l2gen returned nonzero exitvalue"? When I continued to run it, I got the message:
"execution exception: java.io.IOException: l2gen failed with exit code 139.
Check log for more details.
/home/xp/seadas-7.4/ocssw/run/scripts/ocssw_runner: line 21:  3911 Segmentation fault      $*

I used VMware to install a Ubuntu-16.04 system, in which seadas-7.4 was installed. The ocssw was installed under the directory ~/seadas-7.4/ocssw. It seemed OK to run  other ocssw operators, such as modis_L1A, modis_geo, modis_L1B, and L2gen_aquarius, except l2gen. I checked the versions of git, bash, curl, etc., and they are:
git version 2.7.4
curl 7.56.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

Are these setting OK to run the l2gen?

Sincerely,
Xiaoju

Filters:

gnwiii
Posts: 713
Joined: Fri Jan 29, 2021 5:51 pm America/New_York
Answers: 2
Has thanked: 1 time

l2gen error

by gnwiii » Tue Oct 10, 2017 7:11 am America/New_York

SeaDAS 7 should work well using Ubuntu 16.04.  Problems creating a file can be due to permission problems or a very full disk.  A popular way to create such problems is using "sudo" to run the SeaDAS installer, resulting in files and directories owned by the "root" user.    If your disk is not overly full, check the permissions in the SeaDAS folders and ~/.seadas.  

Have you tried running l2gen is a terminal?  With a fresh install of the OCSSW processing system it is good practice to the benchmark script to ensure the installation works properly (for instructions see the last step in How to Build the SeaDAS Science Processing Code).

Post Reply