Apply l2bin on VIIRS L2 data
-
- Posts: 16
- Joined: Sun Jul 31, 2005 9:10 pm America/New_York
Apply l2bin on VIIRS L2 data
I'm using SeaDAS 7.3.2 installed on Ubuntu Linux.
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?
Thanks!
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?
Thanks!
Filters:
-
- Subject Matter Expert
- Posts: 271
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 2 times
Apply l2bin on VIIRS L2 data
First of all I would suggest upgrading SeaDAS to 7.4.
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" ;
don
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" ;
don
-
- Posts: 16
- Joined: Sun Jul 31, 2005 9:10 pm America/New_York
Apply l2bin on VIIRS L2 data
I run the ncdump for the VIIRS level 2 file but got no output message. Note that the file was obtained from NOAA NESDIS (link below), not from NASA OBPG. Are we talking about a compatibility issue here?
https://www.star.nesdis.noaa.gov/thredds/catalog/swathNPPVIIRSL2WW00/2017/118/catalog.html?dataset=CoastWatch/VIIRS/SWATH/L2/WW00/2017/118/VRSVCW.B2017118.073527.nc
https://www.star.nesdis.noaa.gov/thredds/catalog/swathNPPVIIRSL2WW00/2017/118/catalog.html?dataset=CoastWatch/VIIRS/SWATH/L2/WW00/2017/118/VRSVCW.B2017118.073527.nc
-
- Subject Matter Expert
- Posts: 271
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 2 times
Apply l2bin on VIIRS L2 data
Yes, that is not a comparable file. Our l2bin program only handles L2 files created by l2gen. Sorry about that.
don
don
-
- Posts: 16
- Joined: Sun Jul 31, 2005 9:10 pm America/New_York