Tried to process VIIRS level 2 data with l2bin but got an error message:
L2BIN 4.1.0 (Jun 16 2016 12:31:25)
Programming error: file /data3/swdev/V2016.2/build/src/l2bin/l2bin_input.c, line 133
So I opened the l2bin_input.c and found that line which is
DPTB(nc_get_att( sd_id, NC_GLOBAL, "instrument", instrument));
So it seems that current SeaDAS does not support the binning of VIIRS data (yet)? I guess this has been clearly stated in the SeaDAS help page: "l2bin performs spatial/temporal binning of SeaWiFs, MODIS, and OCTS Level-2 data files.", but would still like to confirm on this. If so is there a timeline to support the binning of data from VIIRS and other sensors such as OLCI in the future?
- Subject Matter Expert
- Posts: 240
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
l2bin has been able to work with VIIRS L2 files for quite a while. Give me the command line and parameters that you used to run l2bin and I can look into it. Also, run this command on your input L2 files:
$ ncdump -h <viirs.L2.nc> | grep "instrument ="
This is what you should get as output:
:instrument = "VIIRS" ;