OCSSW l2gen Invalid argument "pic_limits_file"

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
daurin
Posts: 59
Joined: Thu Apr 22, 2010 8:06 am America/New_York
Answers: 0
Endorsed: 1 time

OCSSW l2gen Invalid argument "pic_limits_file"

by daurin » Fri Jul 10, 2026 11:19 am America/New_York

Running ocssw V2026.3 l2gen on PACE OCI L1B V3 (PACE_OCI.20260417T183430.L1B.V3.nc) with default settings I get the error:

Code: Select all

Loading user parameters for OCI

-E- Invalid argument "pic_limits_file"
   pic_limits_file (string) (current=/Users/daurin/Applications/ocssw/share/common/calcite_limits.txt) (source=/Users/daurin/Applications/ocssw/share/oci/msl12_defaults.par)

Filters:

OB ODPS - towens
Subject Matter Expert
Subject Matter Expert
Posts: 494
Joined: Fri Feb 05, 2021 9:17 am America/New_York
Answers: 0
Endorsed: 11 times

Re: OCSSW l2gen Invalid argument "pic_limits_file"

by OB ODPS - towens » Fri Jul 10, 2026 12:03 pm America/New_York

Are you sure there isn't an older l2gen in your path?

Tommy

daurin
Posts: 59
Joined: Thu Apr 22, 2010 8:06 am America/New_York
Answers: 0
Endorsed: 1 time

Re: OCSSW l2gen Invalid argument "pic_limits_file"

by daurin » Fri Jul 10, 2026 12:27 pm America/New_York

Not that I can tell. I get the same result from SeaDAS running l2gen or command line. Note the "which" and tag below.

Code: Select all

-E- Invalid argument "pic_limits_file"
   pic_limits_file (string) (current=/Users/daurin/Applications/ocssw/share/common/calcite_limits.txt) (source=/Users/daurin/Applications/ocssw/share/oci/msl12_defaults.par)
   (base) daurin@gs616-daurinm1:~/GitRepos/seadasbatcher$ which l2gen
/Users/daurin/Applications/ocssw/bin/l2gen
(base) daurin@gs616-daurinm1:~/GitRepos/seadasbatcher$ install_ocssw --installed_tag

WARNING: --tag is required to get the proper bundle list.

installedTag = V2026.3

OB SeaDAS - dshea
Subject Matter Expert
Subject Matter Expert
Posts: 286
Joined: Thu Mar 05, 2009 10:25 am America/New_York
Answers: 0
Endorsed: 3 times

Re: OCSSW l2gen Invalid argument "pic_limits_file"

by OB SeaDAS - dshea » Fri Jul 10, 2026 1:22 pm America/New_York

Lets make sure the correct version of l2gen is installed.
This is what it should be:

dshea@gs616-analysis703:~$ ODPS/odps-test/bin/l2gen --version
msl12 10.2.0-V2026.3 (Jun 18 2026 17:32:07)

don

daurin
Posts: 59
Joined: Thu Apr 22, 2010 8:06 am America/New_York
Answers: 0
Endorsed: 1 time

Re: OCSSW l2gen Invalid argument "pic_limits_file"

by daurin » Fri Jul 10, 2026 2:53 pm America/New_York

Aha! I figured an ocssw install-update to the latest version would do that.

Code: Select all

(base) daurin@gs616-daurinm1:~/GitRepos/seadasbatcher$ l2gen --version
msl12 9.11.0-V2025.1 (Jan 30 2025 18:48:04)

daurin
Posts: 59
Joined: Thu Apr 22, 2010 8:06 am America/New_York
Answers: 0
Endorsed: 1 time

Re: OCSSW l2gen Invalid argument "pic_limits_file"

by daurin » Fri Jul 10, 2026 6:15 pm America/New_York

So, maybe a dumb question: how do I update l2gen independantly from install_ocssw --update with the latest tag?

daurin
Posts: 59
Joined: Thu Apr 22, 2010 8:06 am America/New_York
Answers: 0
Endorsed: 1 time

Re: OCSSW l2gen Invalid argument "pic_limits_file"

by daurin » Mon Jul 13, 2026 8:51 am America/New_York

Is it not recommended we stay up to date with ocssw packages such as l2gen using
install_ocssw --update --tag V2026.3 ?
Perhaps I should just start a fresh installation each time?

daurin
Posts: 59
Joined: Thu Apr 22, 2010 8:06 am America/New_York
Answers: 0
Endorsed: 1 time

Re: OCSSW l2gen Invalid argument "pic_limits_file"

by daurin » Mon Jul 13, 2026 9:08 am America/New_York

l2gen appears impervious to install_ocssw updates:

Code: Select all

(base) daurin@gs616-daurinm1:~/GitRepos/seadasbatcher$ install_ocssw --update --clean --bin -t V2026.3
installedTag = V2026.3
Installing (1 of 16) - root
Installing (2 of 16) - python
Installing (3 of 16) - ocssw_src
Installing (4 of 16) - opt_src
Installing (5 of 16) - common
Installing (6 of 16) - modis
Installing (7 of 16) - modisa
Installing (8 of 16) - oci
Installing (9 of 16) - ocrvc
Installing (10 of 16) - olci
Installing (11 of 16) - olcis3a
Installing (12 of 16) - olcis3b
Installing (13 of 16) - viirs
Installing (14 of 16) - viirsj1
Installing (15 of 16) - viirsj2
Installing (16 of 16) - viirsn
(base) daurin@gs616-daurinm1:~/GitRepos/seadasbatcher$ which l2gen
/Users/daurin/Applications/ocssw/bin/l2gen
(base) daurin@gs616-daurinm1:~/GitRepos/seadasbatcher$ l2gen --version
msl12 9.11.0-V2025.1 (Jan 30 2025 18:48:04)
(base) daurin@gs616-daurinm1:~/GitRepos/seadasbatcher$ which install_ocssw
/Users/daurin/Applications/ocssw/bin/install_ocssw

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 732
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Endorsed: 12 times

Re: OCSSW l2gen Invalid argument "pic_limits_file"

by OB SeaDAS - xuanyang02 » Tue Jul 14, 2026 10:16 am America/New_York

Dirk,

I usually just delete my ocssw directory, and then have a fresh installation.

OB SeaDAS - knowles
Subject Matter Expert
Subject Matter Expert
Posts: 318
Joined: Mon Apr 07, 2008 4:40 pm America/New_York
Answers: 0
Endorsed: 6 times

Re: OCSSW l2gen Invalid argument "pic_limits_file"

by OB SeaDAS - knowles » Wed Jul 15, 2026 12:20 pm America/New_York

Try running this command:

install_ocssw --install_dir $OCSSWROOT -t V2026.3 --oci --seadas

Where the $OCSSWROOT environment variable points to your desired installation directory.
Note the option --oci installs oci.

The option --seadas is a convenience shortcut for the options --bin --opt --root --common --ocrvc --luts

Post Reply