Hi,
I corrected some S3 OLCI images with Polymer, but the inland waters not appear in the corrected image.
It is possible? How can I get the images with inland waters?
Thank you
OLCI inland waters
- fsteinmetz
- Site Admin
- Posts: 306
- Joined: Fri Sep 07, 2018 1:34 pm
- company / institution: Hygeos
- Location: Lille, France
- Contact:
Re: OLCI inland waters
Hello,
This is due to the fact that inland waters are flagged in OLCI level1.
You can pass options to the Level1_OLCI object, as follows :
-
-
I hope this helps,
Cheers,
François
This is due to the fact that inland waters are flagged in OLCI level1.
You can pass options to the Level1_OLCI object, as follows :
-
Level1_OLCI(..., landmask=None) # disactivate land mask entirely
-
Level1_OLCI(..., landmask=GSW(agg=8))
where GSW is imported from gsw.py. This will use the Global Surface Water water mask, downloaded on the fly.I hope this helps,
Cheers,
François
-
- Posts: 1
- Joined: Mon Oct 19, 2020 3:02 am
- company / institution: Innovation Academy for Precision Measurement Science and Technology,CAS
- Location: Hubei,Wuhan
Re: OLCI inland waters
hello
I am interested in inland waters, so I used gsw to process OLCI
It seems the gsw data wasn't downloaded
from polymer.gsw import GSW
run_atm_corr(
Level1_OLCI(..., landmask=GSW(agg=8)),
Level2_NETCDF()
)
Then I get the error:
raise IOError('Data directory for GSW data (global surface water) does not exist: mkdir -p {}'.format(directory))
OSError: Data directory for GSW data (global surface water) does not exist: mkdir -p data_landmask_gsw
how to solve this problem ?
Thank you !
I am interested in inland waters, so I used gsw to process OLCI
It seems the gsw data wasn't downloaded
from polymer.gsw import GSW
run_atm_corr(
Level1_OLCI(..., landmask=GSW(agg=8)),
Level2_NETCDF()
)
Then I get the error:
raise IOError('Data directory for GSW data (global surface water) does not exist: mkdir -p {}'.format(directory))
OSError: Data directory for GSW data (global surface water) does not exist: mkdir -p data_landmask_gsw
how to solve this problem ?
Thank you !
- fsteinmetz
- Site Admin
- Posts: 306
- Joined: Fri Sep 07, 2018 1:34 pm
- company / institution: Hygeos
- Location: Lille, France
- Contact:
Re: OLCI inland waters
Hello,
You have to create the directory as mentioned in the error message : mkdir -p data_landmask_gsw
After that, relaunch the code and the GSW data should be downloaded automatically.
Cheers,
François
You have to create the directory as mentioned in the error message : mkdir -p data_landmask_gsw
After that, relaunch the code and the GSW data should be downloaded automatically.
Cheers,
François
- fsteinmetz
- Site Admin
- Posts: 306
- Joined: Fri Sep 07, 2018 1:34 pm
- company / institution: Hygeos
- Location: Lille, France
- Contact:
Re: OLCI inland waters
Hello,
Please note that the latest version of Polymer allows processing inland waters by default for OLCI, and thus does not require an alternative land mask.
Cheers,
François
Please note that the latest version of Polymer allows processing inland waters by default for OLCI, and thus does not require an alternative land mask.
Cheers,
François