GIP_DIRCOR is not conform with its schema
name: General Issue (FA)
about: Use this template for reporting an anomaly.
Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues and build/installation issues on GitHub.
System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Debian 11
- Maja installed from (source or binary): source
- Maja version (use command below): develop
- Maja commit sha (if Maja is installed from source):
- Python version (From binpkg or custom):
- Complementary info (i.e. GCC/Compiler version) GIPP from maja-gipp2 repo
Describe the current behavior
There seem to be an issue with the xml schema of the GIPP DIRCOR, as I get the following error :
orchestrator.common.maja_exceptions.MajaDataException: MajaDataException : The xml file </home/colinj/data/runs/43PFP_2022/S2__TEST_GIP_DIRCOR_L_ALLSITES_00001_20201010_21000101.HDR> is not conform with its schema </home/colinj/code/MAJA_SHARED_FOLDER/install/maja/4.6.0/share/schemas/SENTINEL2/GIP_L2DIRCOR_L2LutOfDirectionalCorrection.xsd> !
trying to validate the gipp dircor xml file with xmllint, I get :
/home/colinj/code/MAJA_SHARED_FOLDER/install/maja/4.6.0/share/schemas/SENTINEL2/GIP_L2DIRCOR_L2LutOfDirectionalCorrection.xsd:42: element element: Schemas parser error : element decl. '{http://eop-cfi.esa.int/CFI}File_Name', attribute 'type': The QName value '{http://eop-cfi.esa.int/CFI}VE_GIPP_DIRCOR_Id_Type' does not resolve to a(n) type definition.
WXS schema /home/colinj/code/MAJA_SHARED_FOLDER/install/maja/4.6.0/share/schemas/SENTINEL2/GIP_L2DIRCOR_L2LutOfDirectionalCorrection.xsd failed to compile
Describe the expected behavior
Urgency/Criticity
- Urgency (Select Low/Medium/High): low
- Criticity (Select Low/Medium/High): medium
Code to reproduce the issue
maja run with the latest version from maja-gipp2
Correction
(Optional) Provide a version number (Major.Minor.Patch, e.g. 3.2.1) when the correction shall be introduced.