Commit b1f5ff56 authored by Kristin Berry's avatar Kristin Berry
Browse files

Very lightly updated isd schema

parent b2e60fb4
Loading
Loading
Loading
Loading
+30 −53
Original line number Diff line number Diff line
@@ -32,13 +32,15 @@
           "description": "The starting ephemeris time of the image",
           "type": "number"
       },
       "FOCAL_LENGTH": {
           "description": "The focal length of the camera in mm",
           "type": "number"
       "FOCAL_LENGTH_MODEL": {
            "description":  "A key to get information about time/temp dependent focal length models",
            "type": "object",
            "properties": {
                "key": {"type": "string"},
                "focal_length": {"type": "number"},
                "focal_epsilon":{"type": "number"}
            },
       "FOCAL_LENGTH_EPSILON": {
           "description": "The uncertainty of the focal length of the camera in mm",
           "type": "number"
   	"required": ["focal_length"]
       },
       "IFOV": {
           "description": "Instantaneous field of view in degrees",
@@ -52,32 +54,16 @@
           "description": "The the number of samples in the image",
           "type": "number"
       },
       "ITRANS_LINE": {
           "description": "Transformation matrix from pixels (line) to image plane (y mm)",
           "type": "array",
	    "items": {
                 "type": "number",
		 "minItems": 3,
                 "maxItems": 3
            }
       },
       "ITRANS_SAMPLE": {
           "description": "Transformation matrix from pixels (sample) to image plane (y mm)",

       "RADII": {
           "description": "The radii of the target.", 
           "type": "array",
	    "items": {
                 "type": "number",
		 "minItems": 3,
		 "minItems": 1,
                 "maxItems": 3
            }
       },
       "RADII": {
           "description": "The radius object FIXME this needs to be expanded to support up to 3 elts. either std carto a,b,c or equi, polar, etc",
           "type": "number"
       },
       "SEMI_MINOR_AXIS": {
           "description": "The target ellipsoid's minor axis in meters",
           "type": "number"
       },
       "OPTICAL_DISTORTION": {
           "description": "Information needed to convert from undistorted to distorted image plane",
           "type": "object",
@@ -95,6 +81,7 @@
	 },
	"required": ["coefficients", "equation_key"]
       },

       "STARTING_DETECTOR_SAMPLE": {
           "description": "The sample on the detector where the data starts",
           "type": "number"
@@ -103,15 +90,15 @@
           "description": "The line on the detector where the data starts",
           "type": "number"
       },
       "TRANS_X": {
           "description": "Transformation x coefficients from image plane (mm) to pixel coordinates", 
       "FOCAL2PIXEL_X": {
           "description": "Transformation x coefficients from focal plane (mm) to pixel coordinates",
           "type": "array",
	          "items": {
                 "type": "number"
            }
       },
       "TRANS_Y": {
           "description": "Transformation y coefficients from image plane (mm) to pixel coordinates",
       "FOCAL2PIXEL_Y": {
           "description": "Transformation y coefficients from focal plane (mm) to pixel coordinates",
           "type": "array",
	          "items": {
                 "type": "number"
@@ -165,22 +152,9 @@
		        }
	         }
	     },

       "ORIENTATION" : {
           "description": "Orientation of the sensor provided in Euler angles or quaternions",
           "type": "object",
	   "properties" : { 
	      "euler_angles" : { 
		 "type": "array",
		    "items": {
		       "type": "array",
			"items" : {
			  "type": "number",
			  "minItems": 3,
                          "maxItems": 3
			}
		     }
		},
	      "quaternions" : { 
           "description": "Orientation of the sensor provided in quaternions",
           "type": "array",
           "items": {
               "type": "array",
@@ -190,9 +164,8 @@
                  "maxItems": 4
           }
          }
		}
	    }
      },

       "DETECTOR_LINE_RATE": {
           "description": "The line rates of the detector map with the associated start line and time",
           "type": "array",
@@ -250,16 +223,20 @@
       },
       "REFERENCE_HEIGHT": {
           "description": "Used for determining the intersection of the look vector with the ellipsoid",
           "type": "number"
           "type": "array",
           "items":  {
              "type": "number",
              "minItems": 2,
              "maxItems": 2
           }
       },
      "INTERPOLATION_METHOD": {
           "description": "The type of interpolation method to use.",
           "type": "string"
       },
       "FOCAL_PLANE_Z_DIRECTION" : {
           "description" : "The z-direction of the focal plane. FIXME can we make the ISD-creator deal with this?",
	   "type": "number"


   "required": ["FOCAL_LENGTH", "BORESIGHT","CCD_CENTER","IMAGE_LINES","IMAGE_SAMPLES" ]

 }
   },
   "required": ["FOCAL_LENGTH", "BORESIGHT","CCD_CENTER","IMAGE_LINES","IMAGE_SAMPLES", "FOCAL_PLANE_Z_DIRECTION"]
}