-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the autogenerated XSD to parse the
manifest.safe
file (#11)
Add the autogenerated XSD to parse the manifest.safe file
- Loading branch information
Showing
8 changed files
with
469 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<xs:schema xmlns:tns="http://www.opengis.net/gml" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.opengis.net/gml" xmlns:xs="http://www.w3.org/2001/XMLSchema"> | ||
<xs:element name="coordinates" type="xs:string" /> | ||
</xs:schema> |
105 changes: 105 additions & 0 deletions
105
xarray_sentinel/resources/sentinel1/my-no-namespace.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Created with Liquid Technologies Online Tools 1.0 (https://www.liquid-technologies.com) --> | ||
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> | ||
<xs:import schemaLocation="my-xfdu.xsd" namespace="urn:ccsds:schema:xfdu:1" /> | ||
<xs:import schemaLocation="my-safe-sentinel-1.0.xsd" namespace="http://www.esa.int/safe/sentinel-1.0" /> | ||
<xs:import schemaLocation="my-safe-sentinel-1.0-sentinel-1-sar-level-1.xsd" namespace="http://www.esa.int/safe/sentinel-1.0/sentinel-1/sar/level-1" /> | ||
<xs:element name="informationPackageMap"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element xmlns:q1="urn:ccsds:schema:xfdu:1" ref="q1:contentUnit" /> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="dataObjectPointer"> | ||
<xs:complexType> | ||
<xs:attribute name="dataObjectID" type="xs:string" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="metadataSection"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element maxOccurs="unbounded" name="metadataObject"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element minOccurs="0" name="metadataReference"> | ||
<xs:complexType> | ||
<xs:attribute name="mimeType" type="xs:string" use="required" /> | ||
<xs:attribute name="vocabularyName" type="xs:string" use="required" /> | ||
<xs:attribute name="locatorType" type="xs:string" use="required" /> | ||
<xs:attribute name="href" type="xs:string" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element minOccurs="0" name="metadataWrap"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="xmlData"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element minOccurs="0" xmlns:q2="http://www.esa.int/safe/sentinel-1.0" ref="q2:frameSet" /> | ||
<xs:element minOccurs="0" xmlns:q3="http://www.esa.int/safe/sentinel-1.0" ref="q3:acquisitionPeriod" /> | ||
<xs:element minOccurs="0" xmlns:q4="http://www.esa.int/safe/sentinel-1.0/sentinel-1/sar/level-1" ref="q4:standAloneProductInformation" /> | ||
<xs:element minOccurs="0" xmlns:q5="http://www.esa.int/safe/sentinel-1.0" ref="q5:orbitReference" /> | ||
<xs:element minOccurs="0" xmlns:q6="http://www.esa.int/safe/sentinel-1.0" ref="q6:platform" /> | ||
<xs:element minOccurs="0" xmlns:q7="http://www.esa.int/safe/sentinel-1.0" ref="q7:processing" /> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="mimeType" type="xs:string" use="required" /> | ||
<xs:attribute name="vocabularyName" type="xs:string" use="required" /> | ||
<xs:attribute name="textInfo" type="xs:string" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element minOccurs="0" name="dataObjectPointer"> | ||
<xs:complexType> | ||
<xs:attribute name="dataObjectID" type="xs:string" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="ID" type="xs:string" use="required" /> | ||
<xs:attribute name="classification" type="xs:string" use="required" /> | ||
<xs:attribute name="category" type="xs:string" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="dataObjectSection"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element maxOccurs="unbounded" name="dataObject"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="byteStream"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="fileLocation"> | ||
<xs:complexType> | ||
<xs:attribute name="locatorType" type="xs:string" use="required" /> | ||
<xs:attribute name="href" type="xs:string" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="checksum"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="checksumName" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="mimeType" type="xs:string" use="required" /> | ||
<xs:attribute name="size" type="xs:unsignedInt" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="ID" type="xs:string" use="required" /> | ||
<xs:attribute name="repID" type="xs:string" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:schema> |
29 changes: 29 additions & 0 deletions
29
xarray_sentinel/resources/sentinel1/my-safe-sentinel-1.0-sentinel-1-sar-level-1.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<xs:schema xmlns:tns="http://www.esa.int/safe/sentinel-1.0/sentinel-1/sar/level-1" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.esa.int/safe/sentinel-1.0/sentinel-1/sar/level-1" xmlns:xs="http://www.w3.org/2001/XMLSchema"> | ||
<xs:element name="instrumentMode"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="mode" type="xs:string" /> | ||
<xs:element maxOccurs="unbounded" name="swath" type="xs:string" /> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="standAloneProductInformation"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="instrumentConfigurationID" type="xs:unsignedByte" /> | ||
<xs:element name="missionDataTakeID" type="xs:unsignedInt" /> | ||
<xs:element maxOccurs="unbounded" name="transmitterReceiverPolarisation" type="xs:string" /> | ||
<xs:element name="productClass" type="xs:string" /> | ||
<xs:element name="productClassDescription" type="xs:string" /> | ||
<xs:element name="productComposition" type="xs:string" /> | ||
<xs:element name="productType" type="xs:string" /> | ||
<xs:element name="productTimelinessCategory" type="xs:string" /> | ||
<xs:element name="sliceProductFlag" type="xs:boolean" /> | ||
<xs:element name="segmentStartTime" type="xs:dateTime" /> | ||
<xs:element name="sliceNumber" type="xs:unsignedByte" /> | ||
<xs:element name="totalSlices" type="xs:unsignedByte" /> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:schema> |
19 changes: 19 additions & 0 deletions
19
xarray_sentinel/resources/sentinel1/my-safe-sentinel-1.0-sentinel-1.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<xs:schema xmlns:tns="http://www.esa.int/safe/sentinel-1.0/sentinel-1" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.esa.int/safe/sentinel-1.0/sentinel-1" xmlns:xs="http://www.w3.org/2001/XMLSchema"> | ||
<xs:element name="orbitProperties"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="pass" type="xs:string" /> | ||
<xs:element name="ascendingNodeTime" type="xs:dateTime" /> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="timeANX"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="startTimeANX" type="xs:float" /> | ||
<xs:element name="stopTimeANX" type="xs:float" /> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:schema> |
Oops, something went wrong.