Page 1 of 1

Issue with L2Gen terminal command on VIIRs L1a data

Posted: Fri May 27, 2022 9:20 am America/New_York
by narringd
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

Re: Issue with L2Gen terminal command on VIIRs L1a data

Posted: Fri May 27, 2022 10:49 am America/New_York
by OB.DAAC - SeanBailey
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