Issue with L2Gen terminal command on VIIRs L1a data

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
narringd
Posts: 4
Joined: Fri May 27, 2022 9:16 am America/New_York
Answers: 0

Issue with L2Gen terminal command on VIIRs L1a data

by narringd » Fri May 27, 2022 9:20 am America/New_York

Hello SeaDAS and community,

I am trying to run L2gen to create an intermediate L1 product for using Polymer. I am trying to get L2gen to work in the terminal and I am running into a recurring issue. I am able to get L2 gen to run, but it exits with this error:
'-E- /home/dshea/focs/oel_util/libtimeutils/leapsecond.c:32 - leap second file (/home/naarring/SeaDAS/ocssw/share/common/tai-utc.dat) not found.'

It appears to be searching for a file in a filepath that does not exist (no dshea user). Is there some sort of missing file I need or is there another issue?

Thanks,

Nate

Tags:

OB.DAAC - SeanBailey
User Services
User Services
Posts: 1461
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 4 times

Re: Issue with L2Gen terminal command on VIIRs L1a data

by OB.DAAC - SeanBailey » Fri May 27, 2022 10:49 am America/New_York

The file not found is: /home/naarring/SeaDAS/ocssw/share/common/tai-utc.dat

You need to make sure to have run update_luts:

$ update_luts viirsn

Oh, and it *should* be /home/naarring/SeaDAS/ocssw/var/common/tai-utc.dat ("var", not "share")
seems your $OCDATAROOT is being used as $OCVARROOT. They should not be the same.

Sean

Post Reply