Commit d59b9ecf authored by Cédric Traizet's avatar Cédric Traizet

Merge branch 'optical_imi' into 'develop'

Refactor optical image metadata interface

See merge request !765
parents d844d1b6 6287b1ff
Pipeline #6081 passed with stages
in 24 minutes and 44 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","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],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 PHR 1A
Mission Pléiades
GeometricLevel SENSOR
TileHintX 2048
TileHintY 2048
DataType 3
SunElevation 39.2604
SunAzimuth 32.4715
SatElevation 74.254
SatAzimuth 102.95
AcquisitionDate 2012-06-05T06:30:06.4Z
ProductionDate 2012-06-20T08:39:43.745Z
RPC <RPCParam>
BandName B0
PhysicalGain 9.52
PhysicalBias 0
SolarIrradiance 1915.01
SpectralSensitivity LUT1D.DIM0.SIZE = 209
LUT1D.DIM0.ORIGIN = 0.43
LUT1D.DIM0.SPACING = 0.0025
LUT1D.ARRAY = 0.0098681 0.0293268 0.087732 0.128704 0.134124 0.245705 0.434552 0.513304 0.471097 0.512588 0.653037 0.770787 0.787942 0.764833 0.771838 0.801329 0.824079 0.835289 0.832615 0.824915 0.816816 0.816338 0.828542 0.862382 0.907506 0.9379 0.950571 0.957226 0.965057 0.963279 0.958726 0.956732 0.964676 0.980462 0.990024 0.983894 0.971911 0.971528 0.957489 0.877013 0.710391 0.494381 0.302199 0.172272 0.0943537 0.0543895 0.0345732 0.0261018 0.023001 0.0223203 0.0210136 0.0173172 0.0119112 0.0072895 0.0046311 0.0033297 0.0025865 0.0020232 0.001503 0.0010527 0.0007044 0.0005199 0.0004117 0.0004097 0.0005317 0.0009532 0.0013521 0.0014273 0.0009182 0.000344 0.0001323 7.83e-05 6.26e-05 5.11e-05 5.38e-05 5.33e-05 4.54e-05 4.04e-05 3.15e-05 3.27e-05 2.62e-05 3.03e-05 2.06e-05 2.41e-05 2.41e-05 2.73e-05 2.58e-05 2.08e-05 3.41e-05 3.79e-05 3.93e-05 4.29e-05 2.81e-05 2.77e-05 1.87e-05 2.72e-05 2.45e-05 2.09e-05 1.37e-05 1.71e-05 2.57e-05 3e-05 3.3e-05 4.46e-05 3.97e-05 3.99e-05 3.84e-05 3.36e-05 3.07e-05 3e-05 2.42e-05 2.24e-05 2.1e-05 3.25e-05 6.9e-05 0.0002195 0.0005063 0.0008373 0.0009464 0.0007099 0.000491 0.0004433 0.0006064 0.0012019 0.0016241 0.0016779 0.0009733 0.0003606 0.0001659 8.64e-05 5.64e-05 5.62e-05 5.9e-05 4.58e-05 3.82e-05 5.86e-05 6.85e-05 4.74e-05 8.72e-05 6.28e-05 9.48e-05 0.0001015 0.0001564 0.0002379 0.0003493 0.0005409 0.0007229 0.0007896 0.0007188 0.0005204 0.0003939 0.0003128 0.0002699 0.0002605 0.0002378 0.0002286 0.0002406 0.0002741 0.0003203 0.0003812 0.0004904 0.0006077 0.000821 0.0011791 0.001815 0.0030817 0.0055589 0.0103652 0.0166309 0.0211503 0.0216246 0.017691 0.0136927 0.0107136 0.0089555 0.007979 0.0079189 0.0080456 0.008892 0.0102062 0.0126157 0.0162251 0.0221306 0.0308295 0.041198 0.0498232 0.0531265 0.0484487 0.0391122 0.0291405 0.0212633 0.0162146 0.0128925 0.0108169 0.0094115 0.0084386 0.0077249 0.0074231 0.0072603 0.0073459 0.0074214 0.0076433 0.0077788 0.0078151 0.0077003 0.0072256 0.0065903 0.005712 0.0048136
BandName B1
PhysicalGain 9.62
PhysicalBias 0
SolarIrradiance 1830.57
SpectralSensitivity LUT1D.DIM0.SIZE = 209
LUT1D.DIM0.ORIGIN = 0.43
LUT1D.DIM0.SPACING = 0.0025
LUT1D.ARRAY = 1.44e-05 1.43e-05 2.59e-05 1.89e-05 1.32e-05 1.79e-05 2.24e-05 1.79e-05 1.24e-05 2.02e-05 2.76e-05 2.92e-05 4.2e-05 3.66e-05 2.61e-05 2.47e-05 4.45e-05 9.02e-05 0.0001144 8.23e-05 7.78e-05 0.0001923 0.0003401 0.0004085 0.0004936 0.0007849 0.0045979 0.0085122 0.0143014 0.024331 0.0480572 0.109736 0.235389 0.432837 0.649134 0.809577 0.884768 0.906664 0.913115 0.91867 0.927327 0.940521 0.951293 0.95875 0.966736 0.970975 0.972863 0.976956 0.985071 0.98925 0.986596 0.97433 0.957519 0.943555 0.943931 0.957135 0.971253 0.976158 0.961959 0.924489 0.873458 0.834984 0.816674 0.801596 0.743591 0.616035 0.432132 0.254454 0.136087 0.0769553 0.0479321 0.0342014 0.0266703 0.0212632 0.0160541 0.0106967 0.0060543 0.0030797 0.0015416 0.0008333 0.0004706 0.0002918 0.0001917 0.0001472 0.0001063 9.12e-05 5.89e-05 5.52e-05 7.52e-05 8.84e-05 9.85e-05 0.0001125 0.0001368 0.0001947 0.0002284 0.0002088 0.0001498 6.37e-05 3.07e-05 2.83e-05 3.11e-05 3.31e-05 2.15e-05 2.36e-05 2.05e-05 1.86e-05 2.33e-05 2.33e-05 1.98e-05 1.95e-05 1.61e-05 3.08e-05 4.64e-05 2.9e-05 2.64e-05 2.33e-05 3.95e-05 0.0001113 0.0001903 0.000229 0.0002229 0.0001322 5.48e-05 6.08e-05 4.14e-05 3.82e-05 3.81e-05 2.69e-05 2.33e-05 1.98e-05 2.08e-05 3.02e-05 4.19e-05 3.05e-05 3.4e-05 3.34e-05 3.62e-05 2.82e-05 3.37e-05 3.3e-05 4.24e-05 4.2e-05 4.7e-05 4.17e-05 2.33e-05 4.39e-05 5.03e-05 4.46e-05 4.28e-05 5.97e-05 6.71e-05 0.0001142 0.000178 0.0003546 0.000961 0.004126 0.0066679 0.0078563 0.0068645 0.0029441 0.001132 0.0007028 0.0005471 0.0004967 0.0004929 0.0005351 0.0006223 0.0007957 0.0010708 0.0016699 0.0030334 0.0054959 0.009139 0.0125045 0.0144212 0.0141099 0.0117418 0.0089824 0.0067916 0.0056849 0.0051998 0.005364 0.006035 0.0067668 0.0083174 0.0106521 0.013911 0.0183736 0.0231289 0.0272661 0.0298126 0.0300318 0.0286507 0.0266172 0.0247529 0.0236974 0.0232734 0.0236733 0.0245808 0.0257173 0.0267721 0.0267455 0.0254447 0.0227056 0.0188513 0.0147988 0.0109864 0.0079795 0.0057516
BandName B2
PhysicalGain 10.55
PhysicalBias 0
SolarIrradiance 1594.06
SpectralSensitivity LUT1D.DIM0.SIZE = 209
LUT1D.DIM0.ORIGIN = 0.43
LUT1D.DIM0.SPACING = 0.0025
LUT1D.ARRAY = 0.0097386 0.0035306 0.0035374 0.0114418 0.0266686 0.0373494 0.0904431 0.090758 0.0399312 0.0208748 0.0080694 0.0027002 0.0011241 0.000646 0.0005029 0.0006051 0.0009979 0.0019446 0.0014554 0.000609 0.000323 0.0002503 0.0002538 0.000336 0.0005377 0.0007773 0.0004895 0.0002045 8.75e-05 5.94e-05 2.17e-05 2.9e-05 2.97e-05 4.08e-05 4.56e-05 4.47e-05 3.22e-05 2.22e-05 1.47e-05 9.5e-06 7.2e-06 1.13e-05 3.13e-05 1.23e-05 1.22e-05 2.8e-05 1.8e-05 2.61e-05 1.38e-05 3.92e-05 5.17e-05 6.95e-05 7.97e-05 7.85e-05 0.0001004 0.000117 0.0001483 0.0001837 0.000211 0.0002973 0.0004162 0.0006371 0.0010012 0.0032888 0.0100109 0.0181837 0.033051 0.0624784 0.118367 0.221874 0.375682 0.557483 0.734222 0.863684 0.931992 0.952701 0.962009 0.952734 0.943722 0.94563 0.956233 0.969312 0.983964 0.994916 0.99927 0.99933 0.996343 0.994413 0.988305 0.985758 0.980756 0.968379 0.95447 0.937175 0.917035 0.892282 0.866271 0.844275 0.822042 0.788807 0.737292 0.662508 0.566212 0.449312 0.326 0.219404 0.14165 0.0925669 0.0619437 0.0456444 0.0355683 0.0310879 0.0295168 0.0233351 0.0189628 0.0158627 0.0132266 0.0107473 0.0083969 0.0063847 0.0046601 0.0033814 0.0024167 0.0017478 0.0012949 0.0009939 0.0007442 0.0006312 0.0005142 0.0004354 0.0003549 0.0003156 0.0003079 0.0002906 0.0002867 0.0002751 0.0003048 0.000301 0.0003342 0.000431 0.0004955 0.0005488 0.0005838 0.0006687 0.0006968 0.000665 0.0005866 0.0004688 0.0004086 0.0003611 0.0002404 0.0002609 0.0002476 0.0002133 0.0002098 0.0001916 0.0001642 0.0001799 0.000218 0.0002003 0.000203 0.0002348 0.0002735 0.0002652 0.0002944 0.0004666 0.0004882 0.0006642 0.0007798 0.0010588 0.0014008 0.0019011 0.0024917 0.0034379 0.0042182 0.0053618 0.0062814 0.0068774 0.0071141 0.0070399 0.0065876 0.0067873 0.0066877 0.0068572 0.0070486 0.0073911 0.0081201 0.0087391 0.0096581 0.0106625 0.0120129 0.0137222 0.0159817 0.0180896 0.0206562 0.0236408 0.0269627 0.0310497 0.0353146 0.0398729 0.0438795 0.0462377 0.0454916 0.0408754 0.0333175 0.0251186 0.0179089 0.0125129 0.0086117
BandName B3
PhysicalGain 15.73
PhysicalBias 0
SolarIrradiance 1060.01
SpectralSensitivity LUT1D.DIM0.SIZE = 209
LUT1D.DIM0.ORIGIN = 0.43
LUT1D.DIM0.SPACING = 0.0025
LUT1D.ARRAY = 0.0024163 0.0017305 0.0020803 0.0020499 0.001266 0.0007361 0.0006198 0.0006344 0.0007721 0.0011837 0.0020819 0.0023991 0.0013377 0.0006328 0.0003544 0.000289 0.0002498 0.0002541 0.0003346 0.0005048 0.0008684 0.0009871 0.0006587 0.0003833 0.0002606 0.0002356 0.0002364 0.0002791 0.0003613 0.0005575 0.0007414 0.0007413 0.0005768 0.000423 0.0003206 0.0003044 0.0003019 0.0003201 0.0003813 0.000463 0.000593 0.000708 0.0008577 0.0009017 0.0008813 0.0007801 0.0006583 0.0005863 0.0005224 0.0005506 0.0006403 0.0008293 0.0013444 0.0023942 0.0027274 0.001433 0.0006388 0.0003596 0.0002416 0.0001718 0.0001566 0.0001642 0.0001892 0.0002351 0.0003227 0.0006734 0.0014311 0.0013325 0.0005796 0.0002424 0.0001263 0.0001022 4.46e-05 6.52e-05 5.44e-05 5.73e-05 5.18e-05 5.04e-05 6.49e-05 7.23e-05 8.33e-05 7.39e-05 6.91e-05 0.0001382 0.0001692 0.000224 0.0002296 0.0001553 0.0001492 0.0001121 0.0001058 0.0001068 0.0001012 8.64e-05 5.33e-05 3.54e-05 4.4e-05 3.71e-05 6.91e-05 7.69e-05 7.91e-05 0.0001333 0.0001244 0.0002048 0.0002455 0.0002721 0.0003812 0.0004568 0.0006255 0.0008185 0.0009733 0.0012281 0.0013528 0.0015758 0.0017458 0.0019104 0.0020863 0.0023053 0.0025241 0.0037234 0.0044186 0.0053574 0.0066118 0.0083509 0.0107509 0.0150393 0.0212756 0.0292566 0.0414246 0.0586633 0.0834879 0.119038 0.167185 0.232637 0.312406 0.407047 0.509193 0.614827 0.714087 0.801755 0.871484 0.924126 0.958721 0.978299 0.988204 0.992294 0.990203 0.985402 0.977756 0.96602 0.953207 0.942125 0.930356 0.924149 0.921222 0.920382 0.921702 0.922742 0.923 0.923767 0.924307 0.920652 0.915484 0.909091 0.900338 0.890562 0.877642 0.86686 0.853729 0.842859 0.830531 0.819574 0.806909 0.792108 0.779167 0.766051 0.752119 0.737527 0.721732 0.704322 0.685317 0.66425 0.641385 0.617303 0.591954 0.567231 0.543013 0.518456 0.495754 0.473434 0.452822 0.433227 0.413192 0.391912 0.365966 0.332542 0.291768 0.245391 0.196254 0.148685 0.106886 0.073826 0.0491777 0.0327991 0.0215831 0.0145386 0.0103219 0.0076144 0.0061346
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","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],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","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],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
......@@ -397,6 +397,9 @@ private:
itk::MetaDataDictionary dict = inImage->GetMetaDataDictionary();
OpticalImageMetadataInterface::Pointer lImageMetadataInterface = OpticalImageMetadataInterfaceFactory::CreateIMI(dict);
//TODO : Remove, this is an Ossim compatibility layer
lImageMetadataInterface->SetImageMetadata(inImage->GetImageMetadata());
std::string IMIName(lImageMetadataInterface->GetNameOfClass()), IMIOptDfltName("OpticalDefaultImageMetadataInterface");
if ((IMIName != IMIOptDfltName))
{
......@@ -627,6 +630,9 @@ private:
OpticalImageMetadataInterface::Pointer lImageMetadataInterface = OpticalImageMetadataInterfaceFactory::CreateIMI(dict);
std::string IMIName(lImageMetadataInterface->GetNameOfClass());
std::string IMIOptDfltName("OpticalDefaultImageMetadataInterface");
//TODO : Remove, this is an Ossim compatibility layer
lImageMetadataInterface->SetImageMetadata(inImage->GetImageMetadata());
// Set (Date and Day) OR FluxNormalizationCoef to corresponding filters OR solardistance
if (IsParameterEnabled("acqui.fluxnormcoeff"))
......
/*
* Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef otbMetadataDataHelper_h
#define otbMetadataDataHelper_h
#include "OTBMetadataExport.h"
#include "otbMetadataSupplierInterface.h"
namespace otb
{
struct DimapData
{
std::string mission;
std::string missionIndex;
std::string ImageID;
std::string ProductionDate;
std::string AcquisitionDate;
std::string Instrument;
std::string InstrumentIndex;
std::string ProcessingLevel;
std::string SpectralProcessing;
std::vector<std::string> BandIDs;
std::vector<double> SunAzimuth;
std::vector<double> SunElevation;
std::vector<double> IncidenceAngle;
std::vector<double> ViewingAngle;
std::vector<double> AzimuthAngle;
std::vector<double> SceneOrientation;
std::vector<double> PhysicalBias;
std::vector<double> PhysicalGain;
std::vector<double> SolarIrradiance;
// Optional
std::vector<double> AlongTrackIncidenceAngle;
std::vector<double> AcrossTrackIncidenceAngle;
std::vector<double> AlongTrackViewingAngle;
std::vector<double> AcrossTrackViewingAngle;
int StepCount;
std::string softwareVersion;
double SatAzimuth;
};
/** \class MetadataSupplierInterface
*
* \brief Base class to access metadata information in files/images
*
* \ingroup OTBMetadata
*/
class OTBMetadata_EXPORT DimapMetadataHelper
{
public:
enum DIMAPVersion
{
UNKNOWN,
V1,
V2
};
DimapMetadataHelper() : m_DimapLevel(DIMAPVersion::UNKNOWN)
{
}
const DimapData & GetDimapData() const
{
return m_Data;
}
void ParseDimapV1(const MetadataSupplierInterface & mds, const std::string prefix)
{
std::vector<double> defaultValue = {};
std::vector<std::string> defaultValueStr = {};
std::vector<std::string> missionVec;
ParseVector(mds, prefix + "Dataset_Sources.Source_Information"
,"Scene_Source.MISSION", missionVec);
m_Data.mission = missionVec[0];
std::vector<std::string> missionIndexVec;
ParseVector(mds, prefix + "Dataset_Sources.Source_Information"
,"Scene_Source.MISSION_INDEX", missionIndexVec);
m_Data.missionIndex = missionIndexVec[0];
ParseVector(mds, prefix + "Image_Interpretation.Spectral_Band_Info",
"BAND_DESCRIPTION", m_Data.BandIDs, defaultValueStr);
ParseVector(mds, prefix + "Dataset_Sources.Source_Information",
"Scene_Source.SUN_ELEVATION", m_Data.SunElevation);
ParseVector(mds, prefix + "Dataset_Sources.Source_Information",
"Scene_Source.SUN_AZIMUTH", m_Data.SunAzimuth);
ParseVector(mds, prefix + "Dataset_Sources.Source_Information",
"Scene_Source.INCIDENCE_ANGLE", m_Data.IncidenceAngle, defaultValue);
// Try SATELLITE_INCIDENCE_ANGLE instead
if (m_Data.IncidenceAngle.empty())
{
ParseVector(mds, prefix + "Dataset_Sources.Source_Information",
"Scene_Source.SATELLITE_INCIDENCE_ANGLE", m_Data.IncidenceAngle);
}
ParseVector(mds, prefix + "Dataset_Sources.Source_Information",
"Scene_Source.VIEWING_ANGLE_ALONG_TRACK", m_Data.AlongTrackViewingAngle, defaultValue);
ParseVector(mds, prefix + "Dataset_Sources.Source_Information",
"Scene_Source.VIEWING_ANGLE_ACROSS_TRACK", m_Data.AcrossTrackViewingAngle, defaultValue);
ParseVector(mds, prefix + "Data_Strip.Sensor_Calibration.Calibration.Band_Parameters",
"Gain_Section_List.Gain_Section.PHYSICAL_BIAS", m_Data.PhysicalBias, defaultValue);
// Try Image_Interpretation.Spectral_Band_Info_i.PHYSICAL_BIAS instead
if (m_Data.PhysicalBias.empty())
{
ParseVector(mds, prefix + "Image_Interpretation.Spectral_Band_Info",
"PHYSICAL_BIAS", m_Data.PhysicalBias);
}
ParseVector(mds, prefix + "Data_Strip.Sensor_Calibration.Calibration.Band_Parameters",
"Gain_Section_List.Gain_Section.PHYSICAL_GAIN", m_Data.PhysicalGain, defaultValue);
// Try Image_Interpretation.Spectral_Band_Info_i.PHYSICAL_GAIN instead
if (m_Data.PhysicalGain.empty())
{
ParseVector(mds, prefix + "Image_Interpretation.Spectral_Band_Info",
"PHYSICAL_GAIN", m_Data.PhysicalGain);
}
ParseVector(mds, prefix + "Radiometric_Data.Radiometric_Calibration.Instrument_Calibration.Band_Measurement_List.Band_Solar_Irradiance",
"VALUE" , m_Data.SolarIrradiance, defaultValue);
ParseVector(mds, prefix + "Data_Strip.Sensor_Calibration.Solar_Irradiance.Band_Solar_Irradiance",
"SOLAR_IRRADIANCE_VALUE" , m_Data.SolarIrradiance, defaultValue);
ParseVector(mds, prefix + "Dataset_Frame",
"SCENE_ORIENTATION" , m_Data.SceneOrientation);
std::string path = prefix + "Production.JOB_ID";
m_Data.ImageID =mds.GetAs<std::string>(path);
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;
auto imagingDate = GetSingleValueFromList<std::string>(mds, prefix + "Dataset_Sources.Source_Information", "Scene_Source.IMAGING_DATE" );
auto imagingTime = GetSingleValueFromList<std::string>(mds, prefix + "Dataset_Sources.Source_Information", "Scene_Source.IMAGING_TIME" );
m_Data.AcquisitionDate = imagingDate + "T" + imagingTime;
m_Data.Instrument = GetSingleValueFromList<std::string>(mds, prefix + "Dataset_Sources.Source_Information", "Scene_Source.INSTRUMENT" );
m_Data.InstrumentIndex = GetSingleValueFromList<std::string>(mds, prefix + "Dataset_Sources.Source_Information", "Scene_Source.INSTRUMENT_INDEX" );
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");
}
}
void Parse(const MetadataSupplierInterface & mds)
{
std::vector<std::string> missionVec;
ParseVector(mds, "IMD/Dataset_Sources.Source_Identification"
,"Strip_Source.MISSION", missionVec);
m_Data.mission = missionVec[0];
std::vector<std::string> missionIndexVec;
ParseVector(mds, "IMD/Dataset_Sources.Source_Identification"
,"Strip_Source.MISSION_INDEX", missionIndexVec);
m_Data.missionIndex = missionIndexVec[0];
ParseVector(mds, "IMD/Radiometric_Data.Radiometric_Calibration.Instrument_Calibration.Band_Measurement_List.Band_Radiance",
"BAND_ID", m_Data.BandIDs);
ParseVector(mds, "IMD/Geometric_Data.Use_Area.Located_Geometric_Values",
"Solar_Incidences.SUN_ELEVATION", m_Data.SunElevation);
ParseVector(mds, "IMD/Geometric_Data.Use_Area.Located_Geometric_Values",
"Solar_Incidences.SUN_AZIMUTH", m_Data.SunAzimuth);
ParseVector(mds, "IMD/Geometric_Data.Use_Area.Located_Geometric_Values",
"Acquisition_Angles.INCIDENCE_ANGLE", m_Data.IncidenceAngle);
ParseVector(mds, "IMD/Geometric_Data.Use_Area.Located_Geometric_Values",
"Acquisition_Angles.INCIDENCE_ANGLE_ALONG_TRACK", m_Data.AlongTrackIncidenceAngle);
ParseVector(mds, "IMD/Geometric_Data.Use_Area.Located_Geometric_Values",
"Acquisition_Angles.INCIDENCE_ANGLE_ACROSS_TRACK", m_Data.AcrossTrackIncidenceAngle);
ParseVector(mds, "IMD/Geometric_Data.Use_Area.Located_Geometric_Values",
"Acquisition_Angles.VIEWING_ANGLE", m_Data.ViewingAngle);
ParseVector(mds, "IMD/Geometric_Data.Use_Area.Located_Geometric_Values",
"Acquisition_Angles.AZIMUTH_ANGLE", m_Data.AzimuthAngle);
ParseVector(mds, "IMD/Radiometric_Data.Radiometric_Calibration.Instrument_Calibration.Band_Measurement_List.Band_Radiance",
"BIAS", m_Data.PhysicalBias);
ParseVector(mds, "IMD/Radiometric_Data.Radiometric_Calibration.Instrument_Calibration.Band_Measurement_List.Band_Radiance",
"GAIN", m_Data.PhysicalGain);
ParseVector(mds, "IMD/Radiometric_Data.Radiometric_Calibration.Instrument_Calibration.Band_Measurement_List.Band_Solar_Irradiance",
"VALUE" , m_Data.SolarIrradiance);
ParseVector(mds, "IMD/Geometric_Data.Use_Area.Located_Geometric_Values",
"Acquisition_Angles.AZIMUTH_ANGLE" , m_Data.SceneOrientation);
std::string path = "IMD/Product_Information.Delivery_Identification.JOB_ID";
m_Data.ImageID =mds.GetAs<std::string>(path);
path = "IMD/Product_Information.Delivery_Identification.PRODUCTION_DATE";
m_Data.ProductionDate = mds.GetAs<std::string>(path);
auto imagingDate = GetSingleValueFromList<std::string>(mds, "IMD/Dataset_Sources.Source_Identification", "Strip_Source.IMAGING_DATE" );
auto imagingTime = GetSingleValueFromList<std::string>(mds, "IMD/Dataset_Sources.Source_Identification", "Strip_Source.IMAGING_TIME" );
m_Data.AcquisitionDate = imagingDate + "T" + imagingTime;
m_Data.Instrument = GetSingleValueFromList<std::string>(mds, "IMD/Dataset_Sources.Source_Identification", "Strip_Source.INSTRUMENT" );
m_Data.InstrumentIndex = GetSingleValueFromList<std::string>(mds, "IMD/Dataset_Sources.Source_Identification", "Strip_Source.INSTRUMENT_INDEX" );
m_Data.ProcessingLevel = mds.GetAs<std::string>
("IMD/Processing_Information.Product_Settings.PROCESSING_LEVEL");
m_Data.SpectralProcessing = mds.GetAs<std::string>
("IMD/Processing_Information.Product_Settings.SPECTRAL_PROCESSING");
}
protected:
private:
template <class T>
void ParseVector(const MetadataSupplierInterface & mds,
const std::string & prefix,
const std::string & name,
std::vector<T> & dest)
{
dest.clear();
std::vector<std::string> mdStr;
bool hasValue = false;
auto value = mds.GetMetadataValue(prefix + "." + name, hasValue);
if (hasValue)
{
mdStr.push_back(value);
}
else