l2gen failing while loading user parameters for VIIRSJ1
Posted: Mon Mar 07, 2022 2:19 pm America/New_York
Hi folks,
I'm probably doing something stupid here, but I'm pretty sure this command sequence has worked for me in the past.
I have these input files.
The ancillary file was generated with:
The forum doesn't allow me to attach the output file directly, but it looks like this.
So far, so good, I think.
I get an error when I run l2gen, however.
-E- Invalid argument "geo1"
geo1 (string) (current=/data1/ocssw/var/anc/2022/051/V2022051083600.GEO-M_JPSS1.nc) (source=V2022051083600.L1A_JPSS1.nc.anc)
Does anyone have any idea what I may be doing wrong? (I get the same 'Invalid argument "geo1"' error when attempting to process SNPP VIIRS data.)
Thanks for any light you can shed on my problem.
Norman
P.S. These are the software versions I am using.
I'm probably doing something stupid here, but I'm pretty sure this command sequence has worked for me in the past.
I have these input files.
Code: Select all
$ ls -l V*
-rw-rw-r-- 1 norman norman 45683223 Feb 20 10:43 V2022051083600.GEO-M_JPSS1.nc
-rw-rw-r-- 1 norman norman 464234144 Feb 20 10:35 V2022051083600.L1A_JPSS1.nc
-rw-rw-r-- 1 norman norman 588 Mar 7 13:33 V2022051083600.L1A_JPSS1.nc.anc
Code: Select all
getanc V2022051083600.L1A_JPSS1.nc
Code: Select all
$ cat V2022051083600.L1A_JPSS1.nc.anc
geo1=/data1/ocssw/var/anc/2022/051/V2022051083600.GEO-M_JPSS1.nc
icefile=/data1/ocssw/var/anc/2022/051/N2022051_SST_OIV2AV_24h.nc
met1=/data1/ocssw/var/anc/2022/051/N202205100_MET_NCEPR2_6h.hdf
met2=/data1/ocssw/var/anc/2022/051/N202205112_MET_NCEPR2_6h.hdf
met3=/data1/ocssw/var/anc/2022/051/N202205112_MET_NCEPR2_6h.hdf
ozone1=/data1/ocssw/var/anc/2022/051/N202205100_O3_AURAOMI_24h.hdf
ozone2=/data1/ocssw/var/anc/2022/052/N202205200_O3_AURAOMI_24h.hdf
ozone3=/data1/ocssw/var/anc/2022/052/N202205200_O3_AURAOMI_24h.hdf
sstfile=/data1/ocssw/var/anc/2022/051/N2022051_SST_OIV2AV_24h.nc
I get an error when I run l2gen, however.
Code: Select all
$ l2gen ifile=V2022051083600.L1A_JPSS1.nc geofile=V2022051083600.GEO-M_JPSS1.nc par=V2022051083600.L1A_JPSS1.nc.anc ofile=V2022051083600.L2.nc l2prod=rhos_445,rhos_556,rhos_667,rhos_868,chlor_a
Loading default parameters from /data1/ocssw/share/common/msl12_defaults.par
Input file V2022051083600.L1A_JPSS1.nc is VIIRS JPSS-1 L1A NetCDF4.
Loading characteristics for VIIRSJ1
Opening sensor information file /data1/ocssw/share/viirs/j1/msl12_sensor_info.dat
Bnd Lam Fo Tau_r k_oz k_no2 t_co2 awhite aw bbw
0 411.000 172.571 3.210e-01 2.618e-04 6.006e-19 1.000e+00 1.000e+00 1.169e-02 2.984e-03
1 445.000 192.488 2.312e-01 3.220e-03 4.932e-19 1.000e+00 1.000e+00 1.833e-02 2.131e-03
2 489.000 197.681 1.573e-01 2.129e-02 2.886e-19 1.000e+00 1.000e+00 2.174e-02 1.428e-03
3 556.000 182.765 9.252e-02 9.965e-02 8.767e-20 1.000e+00 1.000e+00 7.367e-02 8.275e-04
4 667.000 151.106 4.420e-02 4.771e-02 8.008e-21 1.000e+00 8.871e-01 4.505e-01 3.883e-04
5 746.000 127.525 2.815e-02 1.083e-02 1.820e-21 1.000e+00 7.872e-01 2.833e+00 2.447e-04
6 868.000 94.945 1.533e-02 2.062e-03 6.223e-23 1.000e+00 6.486e-01 4.768e+00 1.315e-04
7 1238.000 45.609 3.650e-03 3.897e-14 0.000e+00 9.994e-01 0.000e+00 1.359e+02 3.044e-05
8 1604.000 24.974 1.296e-03 2.357e-14 0.000e+00 9.890e-01 0.000e+00 7.720e+02 1.063e-05
9 2258.000 7.711 3.285e-04 1.388e-13 0.000e+00 9.696e-01 0.000e+00 2.197e+03 2.648e-06
Bnd Lam
10 3700.000
11 4050.000
12 8550.000
13 10763.000
14 12013.000
Loading default parameters for VIIRSJ1 from /data1/ocssw/share/viirs/msl12_defaults.par
Loading default sub-sensor parameters for VIIRSJ1 from /data1/ocssw/share/viirs/j1/msl12_defaults.par
Loading parameters for suite OC from /data1/ocssw/share/viirs/msl12_defaults_OC.par
Loading parameters for suite OC from /data1/ocssw/share/viirs/j1/msl12_defaults_OC.par
Loading command line parameters
Loading user parameters for VIIRSJ1
-E- Invalid argument "geo1"
geo1 (string) (current=/data1/ocssw/var/anc/2022/051/V2022051083600.GEO-M_JPSS1.nc) (source=V2022051083600.L1A_JPSS1.nc.anc)
geo1 (string) (current=/data1/ocssw/var/anc/2022/051/V2022051083600.GEO-M_JPSS1.nc) (source=V2022051083600.L1A_JPSS1.nc.anc)
Does anyone have any idea what I may be doing wrong? (I get the same 'Invalid argument "geo1"' error when attempting to process SNPP VIIRS data.)
Thanks for any light you can shed on my problem.
Norman
P.S. These are the software versions I am using.
Code: Select all
$ getanc --version
getanc 2.2
$ l2gen --version
msl12 9.5.1-V2022.0 (Jan 11 2022 14:33:38)
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal