I am using l2gen to generate L2 files for some specific variables. An example of my linux command line code:
1) When I use ncdump / ncdisp on my freshly created file, I can see the line:l2gen ifile=$L1BFILE geofile=$GEOFILE ofile=$L2FILE \ l2prod1='senz,l2_flags,chl_gsm,chlor_a' \
However, when I process files at L3b, I use:"mask_names = 'ATMFAIL,LAND,CLDICE,HILT'.
using only the ATMFAIL flag.echo "l2bin : Processing $L3BINFILE to Level 3 binned.."
l2bin ifile=$L2FILE ofile=$L3BINFILE \
resolve=1 \
flaguse=ATMFAIL \
Does it mean that the l2 files used to generate the L3bfile applied HILT/CLDICE prior to merging, or will the L3b file only apply the ATM FAIL flag?
2) Second question, there is a threshold on the solar / sensor zenith angle when applying standard atmospheric correction, set to
But I still have access to the information above 70° for the solar zenith angle for example. Is it really applying it, or do I have to activate it somewhere, like using the HISOLZEN?sunzen = '70.000'
satzen = '60.000'
The code I run, on my Linux:
Edit: updated, found my previous issues. Only 2 questions remaining##########################################################################
################ START THE PROCESSING FROM L1A to L3m ####################
##########################################################################
echo "Start processing from L1A to L3m.."
cd $fullpath # Go to the folder where you need to process
################ START THE PROCESSING FROM L1A to GEO #####################
# Process the L1A subscene files to GEO
echo "modis_GEO : Processing L1A to GEO.."
modis_GEO.py $FILE -o $GEOFILE
echo "modis_GEO Done!"
################ START THE PROCESSING FROM L1A to L1B #####################
echo "modis_L1B : Processing Level 1A to Level 1B.."
# Process the L1A/GEO subscene files to L1B
modis_L1B.py $FILE $GEOFILE -o $L1BFILE --del-hkm --del-qkm
# Determine ancillary data
# Create a file in l2gen's par file format called L1BFILE.anc
getanc.py $L1BFILE
echo "modis_L1B Done!"
################ START PROCESSING FROM L1B to L2A #####################
echo "l2gen : Processing $L1BFILE to Level 2.."
l2gen ifile=$L1BFILE geofile=$GEOFILE ofile=$L2FILE \ l2prod1='senz,l2_flags,chl_gsm,chlor_a' \
echo "l2gen Done!"
################ START PROCESSING FROM L2A to L3BIN #####################
echo "l2bin : Processing $L3BINFILE to Level 3 binned.."
l2bin ifile=$L2FILE ofile=$L3BINFILE \
resolve=1 \
flaguse=ATMFAIL \
echo "l2bin Done!"
################ START PROCESSING FROM L3BIN to L3MAP #####################
echo "l3mapgen : Processing $L3BINFILE to Level 3 mapped.."
l3mapgen ifile=$L3BINFILE ofile=$L3MAPFILE \
resolution=1km \
interp=area \
north=65 \
south=48 \
east=13 \
west=-25 \
fudge=3 \
