Dear staff, here one issue when I try to run l2gen from the shell of a mac mojave. it seems like it cant find the LUTs and cal files. Environmental variables were set including path in a profile file
export PATH="/Users/mmontes/miniconda3/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/mmontes/Applications/seadas/seadas-7.5.3/bin:$PATH"
export OCSSWROOT=/Users/mmontes/Applications/seadas/seadas-7.5.3/ocssw
source $OCSSWROOT/OCSSW_bash.env
export PATH=$PATH:$OCSSWROOT/bin
see below. any clues? thanks in advance. Martin
l2gen ifile=V2018303182400.L1A_JPSS1.nc geofile=V2018303182400.GEO-M_JPSS1.nc ofile=outL2.nc l2prod=Kd_490
Input file V2018303182400.L1A_JPSS1.nc is VIIRS JPSS-1 L1A NetCDF4.
Loading default parameters from /Users/mmontes/Applications/seadas/seadas-7.5.3/ocssw/share/common/msl12_defaults.par
Loading default parameters for VIIRSJ1 from /Users/mmontes/Applications/seadas/seadas-7.5.3/ocssw/share/viirs/msl12_defaults.par
Loading default sub-sensor parameters for VIIRSJ1 from /Users/mmontes/Applications/seadas/seadas-7.5.3/ocssw/share/viirs/j1/msl12_defaults.par
Loading parameters for suite OC from /Users/mmontes/Applications/seadas/seadas-7.5.3/ocssw/share/viirs/msl12_defaults_OC.par
Loading parameters for suite OC from /Users/mmontes/Applications/seadas/seadas-7.5.3/ocssw/share/viirs/j1/msl12_defaults_OC.par
Loading command line parameters
Loading user parameters for VIIRSJ1
Loading characteristics for VIIRSJ1
Opening sensor information file /Users/mmontes/Applications/seadas/seadas-7.5.3/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
Internal data compression requested at compression level: 4
Opening filter file /Users/mmontes/Applications/seadas/seadas-7.5.3/ocssw/share/viirs/msl12_filter.dat
Setting 25 x 7 straylight filter on HILT mask
Filter Kernel
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Minimum fill set to 1 pixels
Setting 25 x 7 straylight filter on CLDICE mask
Filter Kernel
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Minimum fill set to 1 pixels
Reading Thuillier_F0.dat
VIIRS L1A Npix :3200 Nlines:3232
file->nbands = 10
Allocated 3824040 bytes in L1 record.
Allocated 1408000 bytes in L2 record.
Opening: outL2.nc
The following products will be included in outL2.nc.
0 Kd_490
1 l2_flags
Begin l2gen Version 9.3.0-seadas-vxx.xxx.xx.xx Processing
Sensor is VIIRSJ1
Sensor ID is 25
Sensor has 10 reflective bands
Sensor has 5 emissive bands
Number of along-track detectors per band is 16
Number of input pixels per scan is 3200
Processing pixels 1 to 3200 by 1
Processing scans 1 to 3232 by 1
Ocean processing enabled
Land processing enabled
Atmospheric correction enabled
Begin MSl12 processing at 2019092132703000
Allocated 3824040 bytes in L1 record.
Allocated 3824040 bytes in L1 record.
Allocated 3824040 bytes in L1 record.
Allocated 3824040 bytes in L1 record.
Allocated 3824040 bytes in L1 record.
Allocated 3824040 bytes in L1 record.
Allocated 3824040 bytes in L1 record.
Attempt to read Polar Wander file failed.
VcstCmnGeo::LUT initialization failure
VcstObc:: CmnGeo initialization failure
VcstViirsCal::Granule initialization failure
viirs l2 processing
-
- Subject Matter Expert
- Posts: 271
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 2 times
viirs l2 processing
Looks like the Polar Wander file is in the VIIRS NPP data directory. Installing VIIRS NPP from the GUI or
install_ocssw.py --viirsn
or maybe this will work (which is less data)
update_luts.py viirsn
on the command line. We will fix this oversight.
don
install_ocssw.py --viirsn
or maybe this will work (which is less data)
update_luts.py viirsn
on the command line. We will fix this oversight.
don