Commit 37d97fa4 authored by Cédric Traizet's avatar Cédric Traizet

BUG: added more ImageMetadataInterface tests and fixed various bugs

parent e7962e6b
Pipeline #6068 failed with stages
in 98 minutes and 15 seconds
SensorID FORMOSAT 2
Mission Formasat 2
GeometricLevel 1A
TileHintX 3000
TileHintY 500
DataType 1
SunElevation 37.4423
SunAzimuth 160.749
SatElevation 57.9678
SatAzimuth 241.823
AcquisitionDate 2007-10-13T10:40:33.644225Z
ProductionDate 2007-10-15T17:58:07Z
GCP <GCPParam>
BandName B1
PhysicalGain 0.332615
PhysicalBias 0
SolarIrradiance 0
SpectralSensitivity LUT1D.DIM0.SIZE = 281
LUT1D.DIM0.ORIGIN = 0.3
LUT1D.DIM0.SPACING = 0.0025
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.000354959 0.000354603 0.000376745 0.000478212 0.0009718 0.002 0.005 0.0124297 0.024 0.0415 0.057 0.0685 0.074 0.074 0.076 0.0795695 0.082 0.084 0.083 0.0825 0.086 0.0910953 0.094 0.096 0.096 0.094 0.094 0.096 0.099 0.0995 0.099 0.098 0.095 0.092 0.095 0.0985 0.092 0.0695 0.037 0.025 0.009 0.0025 0.001 0.000847053 0.000588401 0.00051966 0.00050602 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BandName B2
PhysicalGain 0.354691
PhysicalBias 0
SolarIrradiance 0
SpectralSensitivity LUT1D.DIM0.SIZE = 281
LUT1D.DIM0.ORIGIN = 0.3
LUT1D.DIM0.SPACING = 0.0025
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.000324677 0.000326475 0.000331943 0.000386303 0.000447683 0.001 0.003 0.0045 0.012 0.0205 0.036 0.0615 0.075 0.081 0.082 0.0845 0.087 0.0885 0.088 0.087 0.086 0.0875 0.0908484 0.0925 0.094 0.094 0.093 0.0925 0.093 0.0955 0.097 0.098 0.099 0.099 0.099 0.099 0.099 0.099 0.095 0.0815 0.057 0.032 0.018 0.0112534 0.005 0.0015 0.000758484 0.000604297 0.000512471 0.000475316 0.000453283 0.00044559 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BandName B3
PhysicalGain 0.255004
PhysicalBias 0
SolarIrradiance 0
SpectralSensitivity LUT1D.DIM0.SIZE = 281
LUT1D.DIM0.ORIGIN = 0.3
LUT1D.DIM0.SPACING = 0.0025
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.000461752 0.001 0.001 0.003 0.006 0.013 0.0335 0.063 0.089 0.098 0.099 0.099 0.099 0.099 0.0985 0.097 0.0945 0.092 0.0906796 0.089 0.0907659 0.093 0.0965 0.1 0.097 0.091 0.0865 0.086 0.0910438 0.094 0.092 0.093 0.088 0.064 0.034 0.015 0.0075 0.006 0.0045 0.003 0.001 0.000607601 0.000202927 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BandName B4
PhysicalGain 0.433054
PhysicalBias 0
SolarIrradiance 0
SpectralSensitivity LUT1D.DIM0.SIZE = 281
LUT1D.DIM0.ORIGIN = 0.3
LUT1D.DIM0.SPACING = 0.0025
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.000481456 0.00071923 0.00098303 0.001 0.000947915 0.00090899 0.000887367 0.000576847 0.000470858 0.00052246 0.000713811 0.001 0.0015 0.003 0.005 0.008 0.0145 0.022 0.035 0.049 0.0595 0.075 0.0905 0.098 0.0995 0.097 0.093 0.091 0.0925 0.094 0.096 0.096 0.0955 0.094 0.092 0.0907811 0.089 0.088 0.088 0.088 0.088 0.088 0.0875 0.087 0.086 0.085 0.084 0.083 0.083 0.082 0.081 0.0806396 0.079 0.078 0.077 0.076 0.075 0.074 0.073 0.072 0.071 0.0700369 0.0685 0.067 0.0655 0.064 0.063 0.063 0.062 0.059 0.054 0.043 0.034 0.025 0.016 0.009 0.0055 0.003 0.0015 0.001 0.000691333 0.000432126 0.000356974 0.000265441 0.000219773 0.000195346 0.000192716 0.000188932 0.000185148 0.000181364 0.00017758 0.000173796 0.000170011 0.000166227 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
{"Projection": "GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433],AUTHORITY["EPSG","4326"]]",
[{"GCP_Id": "1", "GCP_Info": "", "GCP_Row": "0.5", "GCP_Col": "0.5", "GCP_X": "1.05476", "GCP_Y": "43.5896", "GCP_Z": "0", },
{"GCP_Id": "2", "GCP_Info": "", "GCP_Row": "0.5", "GCP_Col": "2999.5", "GCP_X": "1.41679", "GCP_Y": "43.5219", "GCP_Z": "0", },
{"GCP_Id": "3", "GCP_Info": "", "GCP_Row": "2999.5", "GCP_Col": "2999.5", "GCP_X": "1.32096", "GCP_Y": "43.313", "GCP_Z": "0", },
{"GCP_Id": "4", "GCP_Info": "", "GCP_Row": "2999.5", "GCP_Col": "0.5", "GCP_X": "0.960095", "GCP_Y": "43.3803", "GCP_Z": "0", },
]}
\ No newline at end of file
SensorID IKONOS-2
TileHintX 3667
TileHintY 256
DataType 3
SunElevation 60.8726
SunAzimuth 147.924
SatElevation 59.3389
SatAzimuth 126.994
AcquisitionDate 2005-06-21T10:53:00Z
ProductionDate 2008-02-12T00:00:00Z
ProjectionWKT PROJCS["WGS 84 / UTM zone 31N",
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9122"]],
AUTHORITY["EPSG","4326"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",3],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AXIS["Easting",EAST],
AXIS["Northing",NORTH],
AUTHORITY["EPSG","32631"]]
RPC <RPCParam>
BandName Blue
PhysicalGain 5.19064
PhysicalBias 0
SolarIrradiance 1930.9
SpectralSensitivity LUT1D.DIM0.SIZE = 275
LUT1D.DIM0.ORIGIN = 0.35
LUT1D.DIM0.SPACING = 0.0025
LUT1D.ARRAY = 0.000773147 0.00111792 0.00146269 0.00116425 0.000865817 0.000798356 0.000730896 0.000724069 0.000717243 0.000983961 0.00125068 0.00147711 0.00170354 0.00181267 0.0019218 0.00235592 0.00279004 0.00398685 0.00518366 0.00642842 0.00767318 0.00823188 0.00879058 0.0103296 0.0118686 0.0146603 0.017452 0.0262281 0.0350041 0.0602011 0.085398 0.139163 0.192928 0.261737 0.330546 0.375015 0.419484 0.463835 0.508186 0.560708 0.613231 0.643718 0.674206 0.697319 0.720432 0.740631 0.760831 0.760468 0.760104 0.77422 0.788336 0.822457 0.856578 0.872968 0.889358 0.916497 0.943636 0.971818 1 0.993393 0.986786 0.956164 0.925542 0.843438 0.761333 0.651888 0.542443 0.428187 0.31393 0.259011 0.204092 0.178009 0.151925 0.118774 0.0856216 0.0643982 0.0431748 0.0370744 0.030974 0.0288085 0.0266429 0.0243978 0.0221527 0.0221454 0.0221381 0.0241802 0.0262224 0.027894 0.0295655 0.0282719 0.0269782 0.0247994 0.0226207 0.0240241 0.0254275 0.0279644 0.0305013 0.0289285 0.0273557 0.0243127 0.0212697 0.021495 0.0217203 0.0256572 0.0295941 0.0319082 0.0342224 0.0306457 0.027069 0.0232825 0.019496 0.0194953 0.0194945 0.019262 0.0190295 0.0165004 0.0139713 0.0106605 0.00734963 0.00665076 0.00595189 0.00555088 0.00514986 0.00651302 0.00787617 0.0101045 0.0123327 0.0161468 0.0199609 0.0210092 0.0220576 0.021422 0.0207864 0.0198958 0.0190052 0.0172422 0.0154792 0.012607 0.00973489 0.00827171 0.00680854 0.00586579 0.00492304 0.00515291 0.00538278 0.00845239 0.011522 0.0168842 0.0222464 0.0231172 0.023988 0.0180264 0.0120648 0.0080432 0.00402165 0.00311771 0.00221378 0.00238421 0.00255463 0.00240824 0.00226184 0.00286143 0.00346102 0.00296337 0.00246571 0.00239388 0.00232204 0.00315372 0.0039854 0.0037969 0.00360839 0.00315481 0.00270124 0.00254147 0.0023817 0.00250869 0.00263568 0.00244201 0.00224833 0.00192361 0.00159888 0.00157883 0.00155879 0.00177376 0.00198873 0.00199198 0.00199522 0.00225955 0.00252388 0.00306228 0.00360067 0.00461183 0.00562299 0.00610986 0.00659673 0.00707311 0.00754949 0.00775649 0.00796349 0.00871715 0.00947081 0.00887752 0.00828423 0.00852913 0.00877403 0.00901617 0.00925831 0.00995926 0.0106602 0.0115813 0.0125024 0.0128068 0.0131113 0.0130847 0.0130581 0.0124604 0.0118627 0.0111828 0.0105029 0.00998883 0.00947476 0.00913233 0.00878991 0.00859062 0.00839133 0.00830986 0.0082284 0.00812489 0.00802138 0.00818694 0.0083525 0.00823223 0.00811195 0.00805303 0.00799411 0.00800437 0.00801463 0.00743377 0.00685291 0.00615093 0.00544896 0.00512429 0.00479963 0.00463363 0.00446762 0.00428193 0.00409623 0.00384906 0.00360189 0.00353085 0.00345981 0.00336041 0.00326101 0.00300593 0.00275086 0.00278287 0.00281488 0.00259549 0.00237609 0.00236111 0.00234613 0.00248306 0.00261998 0.00263357 0.00264716 0.0026242 0.00260124 0.00210138 0.00160152 0.00177352 0.00194551 0.00218138 0.00241724 0.00185843 0
SensorID QB02
Mission Quickbird
ProductType P
GeometricLevel LV1B
TileHintX 27552
TileHintY 19
DataType 3
SunElevation 30.3
SunAzimuth 160.2
SatElevation 104.9
SatAzimuth 65.1
AcquisitionDate 2006-02-12T10:49:12.695Z
ProductionDate 2006-02-12T17:51:57Z
RPC <RPCParam>
GCP <GCPParam>
BandName P
PhysicalGain 11.3895
PhysicalBias 0
SolarIrradiance 1381.79
SpectralSensitivity LUT1D.DIM0.SIZE = 321
LUT1D.DIM0.ORIGIN = 0.3
LUT1D.DIM0.SPACING = 0.0025
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0007015 0.001403 0.001291 0.001179 0.0011415 0.001104 0.00101145 0.0009189 0.00104845 0.001178 0.0016055 0.002033 0.0044495 0.006866 0.008873 0.01088 0.013805 0.01673 0.021325 0.02592 0.03106 0.0362 0.043415 0.05063 0.05879 0.06695 0.075765 0.08458 0.09389 0.1032 0.11255 0.1219 0.13345 0.145 0.1567 0.1684 0.17895 0.1895 0.2011 0.2127 0.21625 0.2198 0.2392 0.2586 0.26695 0.2753 0.2854 0.2955 0.30545 0.3154 0.3259 0.3364 0.341 0.3456 0.3501 0.3546 0.35785 0.3611 0.3648 0.3685 0.3733 0.3781 0.3875 0.3969 0.4055 0.4141 0.42755 0.441 0.4543 0.4676 0.4829 0.4982 0.5167 0.5352 0.5532 0.5712 0.59245 0.6137 0.6382 0.6627 0.6839 0.7051 0.7275 0.7499 0.77045 0.791 0.81055 0.8301 0.8465 0.8629 0.877 0.8911 0.9081 0.9251 0.9293 0.9335 0.94265 0.9518 0.95695 0.9621 0.96095 0.9598 0.97525 0.9907 0.9941 0.9975 0.9922 0.9869 0.99345 1 0.9938 0.9876 0.9877 0.9878 0.977 0.9662 0.95725 0.9483 0.934 0.9197 0.919 0.9183 0.90635 0.8944 0.8912 0.888 0.88305 0.8781 0.8865 0.8949 0.8921 0.8893 0.8858 0.8823 0.88695 0.8916 0.8848 0.878 0.8879 0.8978 0.8933 0.8888 0.8801 0.8714 0.86905 0.8667 0.8677 0.8687 0.86995 0.8712 0.86685 0.8625 0.87175 0.881 0.8814 0.8818 0.8897 0.8976 0.9024 0.9072 0.91835 0.9295 0.93105 0.9326 0.9198 0.907 0.91305 0.9191 0.9173 0.9155 0.9097 0.9039 0.89875 0.8936 0.88705 0.8805 0.8761 0.8717 0.8605 0.8493 0.8475 0.8457 0.8505 0.8553 0.85675 0.8582 0.85825 0.8583 0.8627 0.8671 0.8505 0.8339 0.83895 0.844 0.847 0.85 0.85265 0.8553 0.8447 0.8341 0.83675 0.8394 0.8235 0.8076 0.8091 0.8106 0.785 0.7594 0.7616 0.7638 0.749 0.7342 0.7204 0.7066 0.70035 0.6941 0.67875 0.6634 0.65895 0.6545 0.63655 0.6186 0.60945 0.6003 0.5961 0.5919 0.58315 0.5744 0.55265 0.5309 0.5139 0.4969 0.48835 0.4798 0.46305 0.4463 0.4305 0.4147 0.40975 0.4048 0.3893 0.3738 0.3593 0.3448 0.3283 0.3118 0.3035 0.2952 0.28405 0.2729 0.2648 0.2567 0.24975 0.2428 0.2322 0.2216 0.21615 0.2107 0.2039 0.1971 0.18735 0.1776 0.1703 0.163 0.15575 0.1485 0.14215 0.1358 0.1299 0.124 0.11625 0.1085 0.10197 0.09544 0.08927 0.0831 0.077305 0.07151 0.06746 0.06341 0.05911 0.05481 0.051195 0.04758 0.02882 0.01006 0.00503 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
{"Projection": "GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433],AUTHORITY["EPSG","4326"]]",
[{"GCP_Id": "1", "GCP_Info": "", "GCP_Row": "0.5", "GCP_Col": "0.5", "GCP_X": "3.61563", "GCP_Y": "44.1929", "GCP_Z": "0", },
{"GCP_Id": "2", "GCP_Info": "", "GCP_Row": "0.5", "GCP_Col": "27551.5", "GCP_X": "3.86568", "GCP_Y": "44.1862", "GCP_Z": "0", },
{"GCP_Id": "3", "GCP_Info": "", "GCP_Row": "27427.5", "GCP_Col": "27551.5", "GCP_X": "3.86352", "GCP_Y": "44.0193", "GCP_Z": "0", },
{"GCP_Id": "4", "GCP_Info": "", "GCP_Row": "27427.5", "GCP_Col": "0.5", "GCP_X": "3.61504", "GCP_Y": "44.0279", "GCP_Z": "0", },
]}
\ No newline at end of file
SensorID SPOT 5
Mission SPOT 5
TileHintX 7689
TileHintY 1
DataType 1
SunElevation 40.6549
SunAzimuth 156.82
SatElevation 82.7227
SatAzimuth -74.1736
AcquisitionDate 2009-03-16T11:03:49Z
ProductionDate 2009-03-26T11:56:45Z
BandName XS1
PhysicalGain 2.24793
PhysicalBias 0
SolarIrradiance 1858
SpectralSensitivity LUT1D.DIM0.SIZE = 541
LUT1D.DIM0.ORIGIN = 0.45
LUT1D.DIM0.SPACING = 0.0025
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0.00227711 0.00455423 0.0217142 0.0388742 0.0881047 0.137335 0.218239 0.299142 0.380278 0.461414 0.52832 0.595227 0.64937 0.703512 0.745297 0.787082 0.82499 0.862898 0.891466 0.920034 0.942548 0.965061 0.977679 0.990296 0.995148 1 0.996125 0.99225 0.980404 0.968557 0.947159 0.925762 0.901548 0.877334 0.848713 0.820091 0.78646 0.752829 0.718758 0.684687 0.64818 0.611673 0.573386 0.535098 0.491565 0.448032 0.397325 0.346618 0.297248 0.247879 0.201909 0.155939 0.124033 0.0921267 0.0709208 0.0497148 0.0379824 0.0262501 0.0198168 0.0133836 0.0101527 0.00692183 0.00542352 0.00392522 0.00334555 0.00276588 0.00138294 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BandName XS2
PhysicalGain 2.76745
PhysicalBias 0
SolarIrradiance 1573
SpectralSensitivity LUT1D.DIM0.SIZE = 541
LUT1D.DIM0.ORIGIN = 0.45
LUT1D.DIM0.SPACING = 0.0025
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.000767371 0.00153474 0.0104196 0.0193045 0.0615428 0.103781 0.200796 0.297811 0.412078 0.526345 0.620393 0.71444 0.780931 0.847421 0.886912 0.926403 0.95094 0.975478 0.985468 0.995459 0.997729 1 0.993748 0.987495 0.974977 0.962458 0.943181 0.923905 0.899244 0.874583 0.844649 0.814715 0.768634 0.722553 0.65867 0.594786 0.516931 0.439075 0.366208 0.293341 0.235793 0.178245 0.1414 0.104555 0.082136 0.0597166 0.0472382 0.0347598 0.0272426 0.0197255 0.0155478 0.01137 0.0090188 0.00666756 0.00509771 0.00352787 0.0028316 0.00213534 0.00106767 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BandName XS3
PhysicalGain 3.04029
PhysicalBias 0
SolarIrradiance 1043
SpectralSensitivity LUT1D.DIM0.SIZE = 541
LUT1D.DIM0.ORIGIN = 0.45
LUT1D.DIM0.SPACING = 0.0025
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.000464853 0.000929705 0.00227035 0.003611 0.00728336 0.0109557 0.0203812 0.0298068 0.050425 0.0710433 0.106986 0.142929 0.193239 0.243548 0.306643 0.369739 0.435902 0.502066 0.566015 0.629964 0.681953 0.733943 0.777284 0.820625 0.85237 0.884115 0.911301 0.938487 0.953163 0.96784 0.976463 0.985085 0.992155 0.999225 0.999613 1 0.997054 0.994108 0.983305 0.972502 0.958252 0.944001 0.930752 0.917503 0.902289 0.887075 0.871525 0.855974 0.829664 0.803353 0.768421 0.73349 0.681972 0.630454 0.56245 0.494445 0.432354 0.370263 0.309418 0.248573 0.202862 0.157151 0.130228 0.103305 0.0848922 0.0664792 0.053554 0.0406287 0.0338903 0.0271518 0.0229066 0.0186614 0.0155519 0.0124424 0.0103965 0.00835051 0.00705206 0.00575362 0.00496008 0.00416654 0.00357201 0.00297747 0.00296393 0.0029504 0.00293687 0.00292333 0.0029098 0.00289626 0.00288273 0.0028692 0.00285566 0.00284213 0.0028286 0.00281506 0.00280153 0.00278799 0.00277446 0.00276093 0.00274739 0.00273386 0.00272032 0.00270679 0.00269326 0.00267972 0.00266619 0.00265265 0.00263912 0.00262559 0.00261205 0.00259852 0.00258498 0.00257145 0.00255792 0.00254438 0.00253085 0.00251731 0.00250378 0.00249025 0.00247671 0.00246318 0.00244964 0.00243611 0.00242258 0.00240904 0.00239551 0.00238197 0.00236844 0.00235491 0.00234137 0.00232784 0.00231431 0.00230077 0.00228724 0.0022737 0.00226017 0.00224664 0.0022331 0.00221957 0.00220603 0.0021925 0.00217897 0.00216543 0.0021519 0.00213836 0.00212483 0.0021113 0.00209776 0.00208423 0.00207069 0.00205716 0.00204363 0.00203009 0.00201656 0.00200302 0.00198949 0.00197596 0.00196242 0.00194889 0.00193535 0.00192182 0.00190829 0.00189475 0.00188122 0.00186768 0.00185415 0.00184062 0.00182708 0.00181355 0.00180002 0.00178648 0.00177295 0.00175941 0.00174588 0.00173235 0.00171881 0.00170528 0.00169174 0.00167821 0.00166468 0.00165114 0.00163761 0.00162407 0.00161054 0.00159701 0.00158347 0.00156994 0.0015564 0.00154287 0.00152934 0.0015158 0.00150227 0.00148873 0.0014752 0.00146167 0.00144813 0.0014346 0.00142106 0.00140753 0.001394 0.00138046 0.00136693 0.00135339 0.00133986 0.00132633 0.00131279 0.00129926 0.00128573 0.00127219 0.00125866 0.00124512 0.00123159 0.00121806 0.00120452 0.00119099 0.00117745 0.00116392 0.00115039 0.00113685 0.00112332 0.00110978 0.00109625 0.00108272 0.00106918 0.00105565 0.00104211 0.00102858 0.00101505 0.00100151 0.000987978 0.000974444 0.00096091 0.000947376 0.000933842 0.000920308 0.000906775 0.000893241 0.000879707 0.000866173 0.000852639 0.000839105 0.000825571 0.000812037 0.000798503 0.000784969 0.000771435 0.000757901 0.000744367 0.000730833 0.000717299 0.000703765 0.000690231 0.000676697 0.000663163 0.00064963 0.000636096 0.000622562 0.000609028 0.000595494 0.00058196 0.000568426 0.000554892 0.000541358 0.000527824 0.00051429 0.000500756 0.000487222 0.000473688 0.000460154 0.00044662 0.000433086 0.000419552 0.000406018 0.000392485 0.000378951 0.000365417 0.000351883 0.000338349 0.000324815 0.000311281 0.000297747 0.000284213 0.000270679 0.000257145 0.000243611 0.000230077 0.000216543 0.000203009 0.000189475 0.000175941 0.000162407 0.000148873 0.000135339 0.000121806 0.000108272 9.47376e-05 8.12037e-05 6.76697e-05 5.41358e-05 4.06018e-05 2.70679e-05 1.35339e-05 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BandName SWIR
PhysicalGain 10.628
PhysicalBias 0
SolarIrradiance 236
SpectralSensitivity LUT1D.DIM0.SIZE = 541
LUT1D.DIM0.ORIGIN = 0.45
LUT1D.DIM0.SPACING = 0.0025
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.00881052 0.017621 0.0205281 0.0234351 0.0263925 0.0293499 0.0336642 0.0379785 0.042245 0.0465116 0.0556489 0.0647862 0.073952 0.0831177 0.103862 0.124605 0.145944 0.167284 0.204423 0.241562 0.278413 0.315263 0.359193 0.403123 0.446213 0.489303 0.532077 0.574851 0.619053 0.663255 0.711453 0.759651 0.807625 0.855599 0.89376 0.931922 0.965961 1 0.996969 0.993938 0.992248 0.990559 0.961928 0.933298 0.906297 0.879297 0.871564 0.863832 0.853035 0.842239 0.855027 0.867815 0.880567 0.89332 0.893016 0.892712 0.866283 0.839853 0.805729 0.771605 0.730996 0.690387 0.648666 0.606945 0.567822 0.528699 0.487194 0.445688 0.405999 0.36631 0.328075 0.289841 0.258343 0.226845 0.196564 0.166283 0.146437 0.126591 0.106444 0.0862972 0.0760814 0.0658656 0.0556832 0.0455009 0.0406299 0.0357589 0.0311271 0.0264954 0.0243167 0.0221381 0.0199347 0.0177312 0.0161906 0.01465 0.0131046 0.0115592 0.0103084 0.00905746 0.00785837 0.00665928 0.00590999 0.00516071 0.00441592 0.00367113 0.0033606 0.00305007 0.00273687 0.00242368 0.00217089 0.0019181 0.00167322 0.00142833 0.00142833 0.00142833
SensorID SPOT 5
Mission SPOT 5
TileHintX 6000
TileHintY 128
DataType 1
SunElevation 67.9004
SunAzimuth 128.882
SatElevation 95.7372
SatAzimuth 103.464
AcquisitionDate 2003-07-23T07:27:43Z
ProductionDate 2003-12-05T08:21:19Z
GCP <GCPParam>
BandName XS1
PhysicalGain 1.0032
PhysicalBias 0
SolarIrradiance 1858
SpectralSensitivity LUT1D.DIM0.SIZE = 541
LUT1D.DIM0.ORIGIN = 0.45
LUT1D.DIM0.SPACING = 0.0025
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0.00227711 0.00455423 0.0217142 0.0388742 0.0881047 0.137335 0.218239 0.299142 0.380278 0.461414 0.52832 0.595227 0.64937 0.703512 0.745297 0.787082 0.82499 0.862898 0.891466 0.920034 0.942548 0.965061 0.977679 0.990296 0.995148 1 0.996125 0.99225 0.980404 0.968557 0.947159 0.925762 0.901548 0.877334 0.848713 0.820091 0.78646 0.752829 0.718758 0.684687 0.64818 0.611673 0.573386 0.535098 0.491565 0.448032 0.397325 0.346618 0.297248 0.247879 0.201909 0.155939 0.124033 0.0921267 0.0709208 0.0497148 0.0379824 0.0262501 0.0198168 0.0133836 0.0101527 0.00692183 0.00542352 0.00392522 0.00334555 0.00276588 0.00138294 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BandName XS2
PhysicalGain 1.082
PhysicalBias 0
SolarIrradiance 1575
SpectralSensitivity LUT1D.DIM0.SIZE = 541
LUT1D.DIM0.ORIGIN = 0.45
LUT1D.DIM0.SPACING = 0.0025
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.000767371 0.00153474 0.0104196 0.0193045 0.0615428 0.103781 0.200796 0.297811 0.412078 0.526345 0.620393 0.71444 0.780931 0.847421 0.886912 0.926403 0.95094 0.975478 0.985468 0.995459 0.997729 1 0.993748 0.987495 0.974977 0.962458 0.943181 0.923905 0.899244 0.874583 0.844649 0.814715 0.768634 0.722553 0.65867 0.594786 0.516931 0.439075 0.366208 0.293341 0.235793 0.178245 0.1414 0.104555 0.082136 0.0597166 0.0472382 0.0347598 0.0272426 0.0197255 0.0155478 0.01137 0.0090188 0.00666756 0.00509771 0.00352787 0.0028316 0.00213534 0.00106767 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BandName XS3
PhysicalGain 1.3812
PhysicalBias 0
SolarIrradiance 1047
SpectralSensitivity LUT1D.DIM0.SIZE = 541
LUT1D.DIM0.ORIGIN = 0.45
LUT1D.DIM0.SPACING = 0.0025
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.000464853 0.000929705 0.00227035 0.003611 0.00728336 0.0109557 0.0203812 0.0298068 0.050425 0.0710433 0.106986 0.142929 0.193239 0.243548 0.306643 0.369739 0.435902 0.502066 0.566015 0.629964 0.681953 0.733943 0.777284 0.820625 0.85237 0.884115 0.911301 0.938487 0.953163 0.96784 0.976463 0.985085 0.992155 0.999225 0.999613 1 0.997054 0.994108 0.983305 0.972502 0.958252 0.944001 0.930752 0.917503 0.902289 0.887075 0.871525 0.855974 0.829664 0.803353 0.768421 0.73349 0.681972 0.630454 0.56245 0.494445 0.432354 0.370263 0.309418 0.248573 0.202862 0.157151 0.130228 0.103305 0.0848922 0.0664792 0.053554 0.0406287 0.0338903 0.0271518 0.0229066 0.0186614 0.0155519 0.0124424 0.0103965 0.00835051 0.00705206 0.00575362 0.00496008 0.00416654 0.00357201 0.00297747 0.00296393 0.0029504 0.00293687 0.00292333 0.0029098 0.00289626 0.00288273 0.0028692 0.00285566 0.00284213 0.0028286 0.00281506 0.00280153 0.00278799 0.00277446 0.00276093 0.00274739 0.00273386 0.00272032 0.00270679 0.00269326 0.00267972 0.00266619 0.00265265 0.00263912 0.00262559 0.00261205 0.00259852 0.00258498 0.00257145 0.00255792 0.00254438 0.00253085 0.00251731 0.00250378 0.00249025 0.00247671 0.00246318 0.00244964 0.00243611 0.00242258 0.00240904 0.00239551 0.00238197 0.00236844 0.00235491 0.00234137 0.00232784 0.00231431 0.00230077 0.00228724 0.0022737 0.00226017 0.00224664 0.0022331 0.00221957 0.00220603 0.0021925 0.00217897 0.00216543 0.0021519 0.00213836 0.00212483 0.0021113 0.00209776 0.00208423 0.00207069 0.00205716 0.00204363 0.00203009 0.00201656 0.00200302 0.00198949 0.00197596 0.00196242 0.00194889 0.00193535 0.00192182 0.00190829 0.00189475 0.00188122 0.00186768 0.00185415 0.00184062 0.00182708 0.00181355 0.00180002 0.00178648 0.00177295 0.00175941 0.00174588 0.00173235 0.00171881 0.00170528 0.00169174 0.00167821 0.00166468 0.00165114 0.00163761 0.00162407 0.00161054 0.00159701 0.00158347 0.00156994 0.0015564 0.00154287 0.00152934 0.0015158 0.00150227 0.00148873 0.0014752 0.00146167 0.00144813 0.0014346 0.00142106 0.00140753 0.001394 0.00138046 0.00136693 0.00135339 0.00133986 0.00132633 0.00131279 0.00129926 0.00128573 0.00127219 0.00125866 0.00124512 0.00123159 0.00121806 0.00120452 0.00119099 0.00117745 0.00116392 0.00115039 0.00113685 0.00112332 0.00110978 0.00109625 0.00108272 0.00106918 0.00105565 0.00104211 0.00102858 0.00101505 0.00100151 0.000987978 0.000974444 0.00096091 0.000947376 0.000933842 0.000920308 0.000906775 0.000893241 0.000879707 0.000866173 0.000852639 0.000839105 0.000825571 0.000812037 0.000798503 0.000784969 0.000771435 0.000757901 0.000744367 0.000730833 0.000717299 0.000703765 0.000690231 0.000676697 0.000663163 0.00064963 0.000636096 0.000622562 0.000609028 0.000595494 0.00058196 0.000568426 0.000554892 0.000541358 0.000527824 0.00051429 0.000500756 0.000487222 0.000473688 0.000460154 0.00044662 0.000433086 0.000419552 0.000406018 0.000392485 0.000378951 0.000365417 0.000351883 0.000338349 0.000324815 0.000311281 0.000297747 0.000284213 0.000270679 0.000257145 0.000243611 0.000230077 0.000216543 0.000203009 0.000189475 0.000175941 0.000162407 0.000148873 0.000135339 0.000121806 0.000108272 9.47376e-05 8.12037e-05 6.76697e-05 5.41358e-05 4.06018e-05 2.70679e-05 1.35339e-05 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BandName SWIR
PhysicalGain 6.417
PhysicalBias 0
SolarIrradiance 234
SpectralSensitivity LUT1D.DIM0.SIZE = 541
LUT1D.DIM0.ORIGIN = 0.45
LUT1D.DIM0.SPACING = 0.0025
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.00881052 0.017621 0.0205281 0.0234351 0.0263925 0.0293499 0.0336642 0.0379785 0.042245 0.0465116 0.0556489 0.0647862 0.073952 0.0831177 0.103862 0.124605 0.145944 0.167284 0.204423 0.241562 0.278413 0.315263 0.359193 0.403123 0.446213 0.489303 0.532077 0.574851 0.619053 0.663255 0.711453 0.759651 0.807625 0.855599 0.89376 0.931922 0.965961 1 0.996969 0.993938 0.992248 0.990559 0.961928 0.933298 0.906297 0.879297 0.871564 0.863832 0.853035 0.842239 0.855027 0.867815 0.880567 0.89332 0.893016 0.892712 0.866283 0.839853 0.805729 0.771605 0.730996 0.690387 0.648666 0.606945 0.567822 0.528699 0.487194 0.445688 0.405999 0.36631 0.328075 0.289841 0.258343 0.226845 0.196564 0.166283 0.146437 0.126591 0.106444 0.0862972 0.0760814 0.0658656 0.0556832 0.0455009 0.0406299 0.0357589 0.0311271 0.0264954 0.0243167 0.0221381 0.0199347 0.0177312 0.0161906 0.01465 0.0131046 0.0115592 0.0103084 0.00905746 0.00785837 0.00665928 0.00590999 0.00516071 0.00441592 0.00367113 0.0033606 0.00305007 0.00273687 0.00242368 0.00217089 0.0019181 0.00167322 0.00142833 0.00142833 0.00142833
{"Projection": "GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433],AUTHORITY["EPSG","4326"]]",
[{"GCP_Id": "1", "GCP_Info": "", "GCP_Row": "0.5", "GCP_Col": "0.5", "GCP_X": "51.1515", "GCP_Y": "36.0442", "GCP_Z": "0", },
{"GCP_Id": "2", "GCP_Info": "", "GCP_Row": "0.5", "GCP_Col": "5999.5", "GCP_X": "51.8029", "GCP_Y": "35.9172", "GCP_Z": "0", },
{"GCP_Id": "3", "GCP_Info": "", "GCP_Row": "5999.5", "GCP_Col": "5999.5", "GCP_X": "51.6467", "GCP_Y": "35.3907", "GCP_Z": "0", },
{"GCP_Id": "4", "GCP_Info": "", "GCP_Row": "5999.5", "GCP_Col": "0.5", "GCP_X": "50.9995", "GCP_Y": "35.5173", "GCP_Z": "0", },
]}
\ No newline at end of file
......@@ -33,7 +33,6 @@ struct DimapData
std::string mission;
std::string missionIndex;
std::string SensorID;
std::string ImageID;
std::string ProductionDate;
std::string AcquisitionDate;
......@@ -61,10 +60,9 @@ struct DimapData
std::vector<double> AcrossTrackIncidenceAngle;
std::vector<double> AlongTrackViewingAngle;
std::vector<double> AcrossTrackViewingAngle;
double sunElevation;
double sunAzimuth;
int StepCount;
std::string softwareVersion;
double SatAzimuth;
};
......@@ -172,6 +170,12 @@ public:
path = prefix + "Production.DATASET_PRODUCTION_DATE";
m_Data.ProductionDate = mds.GetAs<std::string>(path);
auto pos = m_Data.ProductionDate.find(" ",10);
if (pos != std::string::npos)
{
m_Data.ProductionDate.replace(pos,1,"T");
}
std::vector<std::string> imagingDateVec;
......@@ -184,6 +188,23 @@ public:
m_Data.ProcessingLevel = mds.GetAs<std::string>
(prefix + "Data_Processing.PROCESSING_LEVEL");
// Metadata specific to spot 5
if (m_Data.mission == "SPOT" && m_Data.missionIndex == "5")
{
m_Data.StepCount = mds.GetAs<int>
(prefix + "Data_Strip.Sensor_Configuration.Mirror_Position.STEP_COUNT");
}
// Metadata speific to formosat
if (m_Data.mission == "FORMOSAT" && m_Data.missionIndex == "2")
{
m_Data.softwareVersion = mds.GetAs<std::string>
(prefix + "Production.Production_Facility.SOFTWARE_VERSION");
m_Data.SatAzimuth = mds.GetAs<double>
(prefix + "Dataset_Sources.Source_Information.Scene_Source.SATELLITE_AZIMUTH_ANGLE");
}
}
......
......@@ -161,7 +161,14 @@ protected:
private:
FormosatImageMetadataInterface(const Self&) = delete;
void operator=(const Self&) = delete;
void FetchSatAngles(
const std::vector<double> & incidenceAngles,
const std::vector<double> & alongTrackViewingAngles,
const std::vector<double> & acrossTrackViewingAngles,
const std::vector<double> & sceneOrientation,
const std::string & softwareVersion,
double satAzimuth);
void FetchSpectralSensitivity();
};
......
......@@ -146,6 +146,11 @@ private:
QuickBirdImageMetadataInterface(const Self&) = delete;
void operator=(const Self&) = delete;
void FetchDates(const MetadataSupplierInterface &);
void FetchPhysicalBias();
void FetchSolarIrradiance();
void FetchPhysicalGain(const MetadataSupplierInterface &);
void FetchSpectralSensitivity();
};
......
......@@ -161,7 +161,7 @@ public:
void Parse(const MetadataSupplierInterface *mds);
protected:
SpotImageMetadataInterface();
SpotImageMetadataInterface() = default;
~SpotImageMetadataInterface() override = default;
private:
......
......@@ -1157,6 +1157,63 @@ FormosatImageMetadataInterface::WavelengthSpectralBandVectorType FormosatImageMe
}
void FormosatImageMetadataInterface::FetchSatAngles(
const std::vector<double> & incidenceAngles,
const std::vector<double> & alongTrackViewingAngles,
const std::vector<double> & acrossTrackViewingAngles,
const std::vector<double> & sceneOrientation,
const std::string & softwareVersion,
double satAzimuth)
{
if(incidenceAngles.size() != 1)
{
otbGenericExceptionMacro(MissingMetadataException,<<"Missing satellite angles in Dimap")
}
m_Imd.Add(MDNum::SatElevation, 90. - incidenceAngles[0]);
// In some software version, a bug exists.
// We have to check the version to correct the satellite azimuth angle contained in the metadata
if ((softwareVersion == "R2P_02.03.P1")
|| (softwareVersion == "R2P_02.02")
|| (softwareVersion == "R2P_02.03"))
{
if(sceneOrientation.size() != 1
|| alongTrackViewingAngles.size() != 1
|| acrossTrackViewingAngles.size() != 1)
{
otbGenericExceptionMacro(MissingMetadataException,<<"Missing satellite angles in Dimap")
}
double alpha = std::atan(std::tan(acrossTrackViewingAngles[0] * CONST_PI_180)
/ std::tan(alongTrackViewingAngles[0] * CONST_PI_180)) * CONST_180_PI;
if (alongTrackViewingAngles[0] < 0)
{
if (alpha > 0)
{
alpha = alpha - 180;
}
else
{
alpha = alpha + 180;
}
}
alpha -= sceneOrientation[0];
if (alpha > 0)
{
satAzimuth += 180;
}
else
{
satAzimuth = 180 - satAzimuth;
}
}
m_Imd.Add(MDNum::SatAzimuth, satAzimuth);
}
void FormosatImageMetadataInterface::FetchSpectralSensitivity()
{
std::unordered_map<std::string, std::vector<double>> BandNameToSpectralSensitivityTable = {
......@@ -1375,6 +1432,55 @@ void FormosatImageMetadataInterface::Parse(const MetadataSupplierInterface *mds)
"Invalid number of band for a FORMOSAT product")
}
m_Imd.Add(MDTime::ProductionDate,
boost::lexical_cast<MetaData::Time>(dimapData.ProductionDate));
m_Imd.Add(MDTime::AcquisitionDate,
boost::lexical_cast<MetaData::Time>(dimapData.AcquisitionDate));
m_Imd.Add(MDNum::SunAzimuth, dimapData.SunAzimuth[0]);
m_Imd.Add(MDNum::SunElevation, dimapData.SunElevation[0]);
FetchSatAngles(dimapData.IncidenceAngle, dimapData.AlongTrackViewingAngle,
dimapData.AcrossTrackViewingAngle, dimapData.SceneOrientation,
dimapData.softwareVersion, dimapData.SatAzimuth);
std::vector<double> solarIrradianceVec;
if (dimapData.SolarIrradiance.empty())
{
solarIrradianceVec = std::vector<double>(nbBands, 0.);
}
else
{
solarIrradianceVec = dimapData.SolarIrradiance;
}
if (dimapData.PhysicalBias.size() == nbBands
&& dimapData.PhysicalGain.size() == nbBands
&& solarIrradianceVec.size() == nbBands)
{
auto bias = dimapData.PhysicalBias.begin();
auto gain = dimapData.PhysicalGain.begin();
auto solarIrradiance = solarIrradianceVec.begin();
for (auto & band: m_Imd.Bands)
{
band.Add(MDNum::PhysicalGain, *gain);
band.Add(MDNum::PhysicalBias, *bias);
band.Add(MDNum::SolarIrradiance, *solarIrradiance);
bias++;
gain++;
solarIrradiance++;
}
}
else
{
otbGenericExceptionMacro(MissingMetadataException,
<< "The number of bands in image metadatas is incoherent with the DIMAP product")
}
m_Imd.Add(MDStr::GeometricLevel, dimapData.ProcessingLevel);
FetchSpectralSensitivity();
......
......@@ -1276,7 +1276,6 @@ void IkonosImageMetadataInterface::Parse(const MetadataSupplierInterface *mds)
date.tm_sec = 0;
date.frac_sec = 0;
std::cout << date << " " << m_Imd[MDTime::AcquisitionDate] << std::endl;
if (m_Imd[MDTime::AcquisitionDate] < date)
{
m_Imd.Bands[0].Add(MDNum::PhysicalGain, ikonosPhysicalGainPre20010122[bandName]);
......@@ -1292,8 +1291,6 @@ void IkonosImageMetadataInterface::Parse(const MetadataSupplierInterface *mds)
FetchRPC(*mds);
FetchSpectralSensitivity(bandName);
std::cout << m_Imd << std::endl;
}
} // end namespace otb
......@@ -116,7 +116,6 @@ ImageMetadataInterfaceFactory
{
// silent catch of MissingMetadataException
// just means that this IMI can't parse the file
std::cout << e.what() << std::endl;
}
}
else
......
......@@ -162,7 +162,9 @@ std::istream& operator>>(std::istream& is, Time& val)
is >> val.tm_mday;
_OTB_ISTREAM_FAIL_IF( is.fail() )
_OTB_ISTREAM_FAIL_IF( val.tm_mday < 1 || val.tm_mday > 31 )
_OTB_ISTREAM_FAIL_IF( is.get() != 'T' )
_OTB_ISTREAM_FAIL_IF( is.get() != 'T')
// Hour
is >> val.tm_hour;
_OTB_ISTREAM_FAIL_IF( is.fail() )
......
......@@ -2290,8 +2290,6 @@ void PleiadesImageMetadataInterface::Parse(const MetadataSupplierInterface *mds)
{
FetchRPC(*mds);
}
std::cout << m_Imd << std::endl;
}
} // end namespace otb
......@@ -388,6 +388,7 @@ QuickBirdImageMetadataInterface::VariableLengthVectorType QuickBirdImageMetadata
QuickBirdImageMetadataInterface::VariableLengthVectorType QuickBirdImageMetadataInterface::GetPhysicalGain() const
{
// Reference : Radiance Conversion of QuickBird Data - Technical Note.
const MetaDataDictionaryType& dict = this->GetMetaDataDictionary();
if (!this->CanRead())
{
......@@ -418,8 +419,6 @@ QuickBirdImageMetadataInterface::VariableLengthVectorType QuickBirdImageMetadata
}
}
// Value computed from
// Radiance Conversion of QuickBird Data - Technical Note.
std::string keywordStringBitsPerPixel = imageKeywordlist.GetMetadataByKey("support_data.bits_per_pixel");
int bitsPerPixel = atoi(keywordStringBitsPerPixel.c_str());
if (bitsPerPixel != 16 && bitsPerPixel != 8)
......@@ -957,6 +956,249 @@ QuickBirdImageMetadataInterface::WavelengthSpectralBandVectorType QuickBirdImage
return wavelengthSpectralBand;
}
void QuickBirdImageMetadataInterface::FetchDates(const MetadataSupplierInterface & mds)
{
if(m_Imd[MDStr::SensorID] != "QB02")
{
itkExceptionMacro(<< "Invalid Metadata, not a Quickbird product");
}
bool hasValue = 0;
// Use TLC time in priority, only available for level 1B products.
// If it is not available use firstLineTime instead.
auto tlcTimeStr = mds.GetMetadataValue("IMAGE_1.TLCTime", hasValue);
if (hasValue)
{
try
{
m_Imd.Add(MDTime::AcquisitionDate,
boost::lexical_cast<MetaData::Time>(tlcTimeStr));
}
catch (boost::bad_lexical_cast&)
{
otbGenericExceptionMacro(MissingMetadataException,
<<"Bad metadata value for 'IMAGE_1.TLCTime', got: "
<<tlcTimeStr);
}
}
else
{
Fetch(MDTime::AcquisitionDate, mds, "IMD/IMAGE_1.firstLineTime" );
}
Fetch(MDTime::ProductionDate, mds, "IMD/generationTime" );
}
void QuickBirdImageMetadataInterface::FetchPhysicalBias()
{
if(m_Imd[MDStr::SensorID] != "QB02")
{
itkExceptionMacro(<< "Invalid Metadata, not a Quickbird product");
}
auto productType = m_Imd[MDStr::ProductType];
std::string panchro("P");
std::string multi("Multi");
if (productType == panchro)
{
m_Imd.Bands[0].Add(MDNum::PhysicalBias, 0.0);
}
else if (productType == multi)
{
for (auto & band : m_Imd.Bands)
{
band.Add(MDNum::PhysicalBias, 0.0);
}
}
else
{
itkExceptionMacro(<< "Invalid bandID " << productType);
}
}
void QuickBirdImageMetadataInterface::FetchSolarIrradiance()
{
if(m_Imd[MDStr::SensorID] != "QB02")
{
itkExceptionMacro(<< "Invalid Metadata, not a Quickbird product");
}
auto productType = m_Imd[MDStr::ProductType];
std::string panchro("P");
std::string multi("Multi");
if (productType == panchro)
{
m_Imd.Bands[0].Add(MDNum::SolarIrradiance, 1381.79);
}
else
{
const std::unordered_map<std::string, double> BandNameToSolarIrradianceTable{
{"B", 1924.59},
{"G", 1843.08},
{"R", 1574.77},
{"N", 1113.71}};
for (auto & band: m_Imd.Bands)
{