Skip to content

MERIS IODD8 support (SNOW_ICE flag) #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chrihartl
Copy link

The SNOW_ICE L2 flag introduced in MERIS IODD8 is currently unknown to the epr-api.
IODD7 is the latest supported, and apparently there is some backward compatibility built in for IODD6 and IODD5.

This fork proposes changes that introduce support for IODD8. In particular it is now possible to read the SNOW_ICE flag from a MERIS L2 product file ("MER_RR__2xyz.N1"). More details are in the commit message of the main commit:
Catalysts@9c7088c

Note that there are several comments having TODOs, mostly to indicate that the changes should be reviewed by experts and complemented if necessary.

Cheers

@avalentino
Copy link
Collaborator

Hi @chrihartl,
can you please provide the URL of a publicly available and possibly small dataset that can be used to test this PR?

At least reading the SNOW_ICE MERIS L2 flag should work now.
This should be checked by experts though.
(I added TODOs in various places.)

The main change was:
- to rename MER_RR__2P_flags_data to MER_RR__2P_flags_IODD7_data
- to derive a new version MER_RR__2P_flags_data from it:
   - Added SNOW_ICE
   - Replaced LARS_ON by DDV
   - Removed LOW_PRESSURE
   - Fixed typo in description of WHITE_SCATTERER (Presense -> Presence)
   - Fixed bug (?) in CASE2_S: Using bits 8+21 (was: 8 only, i.e. water bit 21 not set)

The following references were used for this change:
- http://www.brockmann-consult.de/beam-jira/browse/BEAM-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel
- https://github.com/bcdev/beam/blob/58f66c3d6697daab049abaa7284b26f652bfca5c/beam-envisat-reader/src/main/resources/org/esa/beam/resources/dddb/flags/MER_RR__2P_flags.dd
- http://earth.eo.esa.int/pcs/envisat/meris/documentation/MERIS_IPF_evolution.pdf
@chrihartl
Copy link
Author

Hi @avalentino,
thank you for the fast response.
I tidied up the commits proposed in this pull request a bit. Unfortunately I cannot easily point you to MERIS RR L2 data, due to restrictions.
(I found some publicly available sample files on the web, but these are IODD7, i.e. contain the LARS_ON but not the SNOW_ICE flag.)

You might want to try with a fast registration at this ESA page:
https://earth.esa.int/web/guest/pi-community/apply-for-data/fast-registration

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants