I am using L2gen to find OLI matchups. I am wondering if you apply any vicarious gain coefficients to the output top of the atmosphere reflectance, or is it the actual recorded value of OLI instead?
Thanks!
Akash Ashapure
akash.ashapure@nasa.gov
vicarious gain coefficients to rhot
-
- Posts: 1
- Joined: Tue Dec 06, 2022 11:02 am America/New_York
-
- User Services
- Posts: 1427
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 1 time
Re: vicarious gain coefficients to rhot
For Landsat8/OLI, yes:
grep ^gain $OCDATAROOT/oli/l8/msl12_defaults.par
gain=[1.0111,1.0101,1.0070,1.0098,1.00,1.00,1.00]
The configuration for L9 was just copied from L8, so by default it has the same gains...probably shouldn't though.
If you want the values "as is", when running l2gen,
set: gain=[1.00,1.00,1.00,1.00,1.00,1.00,1.00]
AND
either comment out these lines in the $OCDATAROOT/oli/msl12_filter.dat file:
ltmean, 1, 7, 7, 1
ltmean, 2, 7, 7, 1
ltmean, 3, 7, 7, 1
ltmean, 4, 7, 7, 1
ltmean, 5, 7, 7, 1
ltmean, 6, 7, 7, 1
ltmean, 7, 7, 7, 1
OR define a blank file to pass to l2gen as the filter_file
Sean
grep ^gain $OCDATAROOT/oli/l8/msl12_defaults.par
gain=[1.0111,1.0101,1.0070,1.0098,1.00,1.00,1.00]
The configuration for L9 was just copied from L8, so by default it has the same gains...probably shouldn't though.
If you want the values "as is", when running l2gen,
set: gain=[1.00,1.00,1.00,1.00,1.00,1.00,1.00]
AND
either comment out these lines in the $OCDATAROOT/oli/msl12_filter.dat file:
ltmean, 1, 7, 7, 1
ltmean, 2, 7, 7, 1
ltmean, 3, 7, 7, 1
ltmean, 4, 7, 7, 1
ltmean, 5, 7, 7, 1
ltmean, 6, 7, 7, 1
ltmean, 7, 7, 7, 1
OR define a blank file to pass to l2gen as the filter_file
Sean