l2bin not binning despite there being quality data in VIIRS L2
Posted: Thu Apr 12, 2018 2:58 pm America/New_York
I'm trying to process some raw VIIRS data, correct the bow-tie effect by using the default flags in l2bin, and run l3mapgen to create an image.
Here is my code:
Unfortunately, it fails at the l2bin step and doesn't fill any bins
Taking a look at the output from l2gen in seadas, there seems to be plenty of data to run l2bin (see sst.png and qual_sst.png).
Anyone see a problem in my code resulting the failure of l2bin? I also tried l2binning through seadas, but was unsuccessful. Again, my motivation for using l2bin is to remove the bowtie effect from VIIRS.
Thanks!

Here is my code:
l2gen ifile=SVM01.h5 geofile=GMTCO.h5 ofile=SV_L2_file.L2_1KM \
l2prod1="sst qual_sst l2_flags chl_oc3" \
resolution=1000 \
ctl_pt_incr=1 ctl_pt_incr=1 proc_ocean=1 \
proc_sst=1 proc_land=0 sline=3 atmocor=1 maskcloud=1 \
maskland=1 maskhilt=0 maskstlight=0
l2bin infile=SV_L2_file.L2_1KM ofile=SV_L2_binned \
resolve=1 \
suite=SST \
l3bprod=sst \
prodtype=regional \
qual_max=2 \
verbose=1
l3mapgen ifile=SV_L2_binned ofile="ao1.sst.$1.tiff" \
product=sst \
projection=mercator \
resolution=1100 \
interp=area \
north=36.274 \
south=19.0 \
east=-72.735 \
west=-87.75 \
oformat=TIFF \
palfile=default-black
Unfortunately, it fails at the l2bin step and doesn't fill any bins
total_filled_bins: 0
Taking a look at the output from l2gen in seadas, there seems to be plenty of data to run l2bin (see sst.png and qual_sst.png).
Anyone see a problem in my code resulting the failure of l2bin? I also tried l2binning through seadas, but was unsuccessful. Again, my motivation for using l2bin is to remove the bowtie effect from VIIRS.
Thanks!

