Masking land in Sentinel 2 images

Please enter here to ask a question about any NASA Science related topics!
Post Reply
dogun
Posts: 33
Joined: Tue Oct 11, 2016 11:49 am America/New_York

Masking land in Sentinel 2 images

by dogun » Thu Sep 20, 2018 2:37 pm America/New_York

Hi All,
I was trying to put off landmask option in my Sentinel-2 image processing with l2gen via the command line using:

maskland=off

but seems not working as land area is still being masked. Any pointer please?

Tags:

OB SeaDAS - knowles
Subject Matter Expert
Subject Matter Expert
Posts: 221
Joined: Mon Apr 07, 2008 4:40 pm America/New_York

Masking land in Sentinel 2 images

by OB SeaDAS - knowles » Fri Sep 21, 2018 8:29 am America/New_York

Try running l2gen with these parameters:

maskland=off
proc_ocean=2

The setting "proc_ocean=2" treats the world as if the entire surface is ocean and at sea-level.  Note: for interior lakes and seas not at sea-level the geolocation will be wrong for non nadir viewing satellite geometries due to not applying the orthorectification correction.

Danny

dogun
Posts: 33
Joined: Tue Oct 11, 2016 11:49 am America/New_York

Masking land in Sentinel 2 images

by dogun » Fri Sep 21, 2018 9:18 pm America/New_York

Thanks Danny!

Post Reply