Ocean Color Forum - Not logged in
I am having problems with l2bin, any ideas as to why it isn't working? (see below)
When I process to L2 from L1B use the switching NIR/SWIR with MODIS hires, and I am disabling the HILT mask. I then try to bin L2 file and get the message below.
I can post any of the files if needed.
l2bin.pro: cmd_final =
/bin/bash -c "l2bin INFILE=/Users/Tlaloc/seadas6.2/data/modis/A2008058191500.ca_p05.swir.L2_LAC OFILE=/Users/Tlaloc/seadas6.2/A2008058191500.ca_p05.swir.L2_LAC.L3b_GAC RESOLVE=2 PRODTYPE=regional NOEXT=1 FLAGUSE='LAND' L3BPROD='sst;-2.00000:sst4;-2.00000:windspeed:windangle:humidity:Rrs_412:Rrs_443:Rrs_469:Rrs_488:Rrs_531:Rrs_547:Rrs_555:Rrs_645:Rrs_667:Rrs_678:Rrs_748:Rrs_859:Rrs_869:Rrs_1240:Rrs_1640:Rrs_2130'"
L2BIN 2.4.3 (Dec 23 2010 14:06:24)
INTERP parameter disabled.
Single HDF input
0 9999999 270
Max Qual Allowed: 2
/Users/Tlaloc/seadas6.2/data/modis/A2008058191500.ca_p05.swir.L2_LAC brk: 0 1417 58 69513
total number of bins: 95046854
Setting Up: SEAGrid 1073746564
krow: 5400 out of 8640 ( 22.50 to 28.12) Sat Sep 17 12:10:05 2011
krow: 5670 out of 8640 ( 28.12 to 33.75) Sat Sep 17 12:10:05 2011
krow: 8640 Sat Sep 17 12:10:05 2011
rm -f /Users/Tlaloc/seadas6.2/A2008058191500.ca_p05.swir.L2_LAC.L3b_GAC*
Freeing Dynamic Memory
Freeing L2 arrays
Detaching L3B Vgroup
End L3B Vgroup interface
End L3B SD interface
Close L3B file
scriptfile : /tmp/SDS_L2BIN.sc
The binner code output indicates that there were no valid data to bin.
As you are binning SST with ocean color data, even though you set
liberally at FLAGUSE = 'LAND', the code will only bin pixels with
an sst quality flag of 2 or less. SST4 is invalid during the day, so
by including it in the L3BPROD list, the code will see that it's quality
flag is higher than 2, and merrily move along...
I suggest you try removing it from the list of products to bin.