Hey all, I really have great confusion on how to convert my HDF 4 images which reside as multiple bands into a single HDF file to a GeoTiff geo-referenced image. In reality, I need to convert the format into a single latitude/longitude
<b>WGS-84</b> referenced TIFF image..I need to do this and at the same time obtain a <span style="font-weight: bold;">.tfw</span> file which specifies the top left corner coordinates of the image's bounding box and the pixel resolution of the image.
<br><br>I've tried to run the <span style="font-weight: bold;">gdalinfo</span> command on one of my images.. The image name is <span style="font-weight: bold;">AMOD021KM20061229043102.hdf</span> and when I run the command (under Ubuntu) I get the following stack report (the subdatasets are at the bottom part):
<br><br><span style="font-weight: bold;"><span style="font-weight: bold;">//-----------------------------</span></span><span style="font-weight: bold;"><span style="font-weight: bold;">-----------------------------</span>
</span><span style="font-weight: bold;"><span style="font-weight: bold;">---------------------START-LOG</span></span><span style="font-weight: bold;"><span style="font-weight: bold;">--------------</span></span><span style="font-weight: bold;">
<span style="font-weight: bold;">--</span></span><span style="font-weight: bold;"><span style="font-weight: bold;">-------------------------</span></span><span style="font-weight: bold;"><span style="font-weight: bold;">-----------------------------
</span></span><span style="font-weight: bold;"><span style="font-weight: bold;">-----------------------------</span></span><br><br><span style="font-weight: bold;">rasdaman@mattia-desktop:~/FTPCHINA$ gdalinfo AMOD021KM20061229043102.hdf
<br>Driver: HDF4/Hierarchical Data Format Release 4<br>Size is 512, 512<br>Coordinate System is `'<br>Metadata:<br> RANGEBEGINNINGDATE=2006-12-29<br> RANGEBEGINNINGTIME=04:31:03.294926<br> RANGEENDINGDATE=2006-12-29
<br> RANGEENDINGTIME=04:39:59.497042<br> DAYNIGHTFLAG=Day<br> GRINGPOINTLATITUDE.1=63.7264060974121, 57.638111114502, 28.4389171600342, 31.9011936187744<br> GRINGPOINTLONGITUDE.1=82.2857818603516, 124.476379394531, 104.08544921875
, 80.1825561523438<br> AveragedBlackBodyTemperature=290.0164<br> AveragedMirrorTemperature=279.3138<br> AveragedFocalPlane1Temperature=270.8599<br> AveragedFocalPlane2Temperature=271.0926<br> AveragedFocalPlane3Temperature=
83.34911<br> AveragedFocalPlane4Temperature=83.01984<br> QAPERCENTMISSINGDATA.1=0<br> QAPERCENTMISSINGDATA.2=0<br> QAPERCENTINTERPOLATEDDATA.1=0<br> QAPERCENTINTERPOLATEDDATA.2=0<br> QAPERCENTOUTOFBOUNDSDATA.1=33<br>
QAPERCENTOUTOFBOUNDSDATA.2=0<br> EASTBOUNDINGCOORDINATE=124.476376001332<br> WESTBOUNDINGCOORDINATE=80.1739148770052<br> NORTHBOUNDINGCOORDINATE=63.75567496824<br> SOUTHBOUNDINGCOORDINATE=28.2823508492026<br> PGE_Version=
3.0.0<br> ASSOCIATEDPLATFORMSHORTNAME.1=Terra<br> Satellite=Terra<br> Number of Scans=363<br> Number of Day mode scans=363<br> Number of Night mode scans=0<br> Incomplete Scans=3<br> Max Earth View Frames=1354<br> %Valid EV Observations=
99.7291, 99.7291, 99.7291, 99.7291, 99.72901, 99.7291, 99.72907, 99.71925, 97.10823, 86.80626, 78.78944, 71.92345, 31.80874, 19.07113, 34.80765, 12.43985, 26.49936, 35.73066, 99.7291, 99.7291, 99.7291, 99.7291, 99.71949,
99.7291, 99.7291, 99.7291, 99.7291, 99.7291, 99.7291, 99.7291, 99.7291, 99.7291, 99.7291, 99.7291, 99.7291, 99.7291, 99.7291, 99.7291<br> %Saturated EV Observations=0, 0, 0, 0, 0, 0, 0, 0.009847366, 2.564954, 12.81738, 20.93965
, 27.80564, 67.92036, 80.65796, 64.92145, 87.28925, 73.22974, 63.99844, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0<br> Post Processing Indicates Bad data=0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
<br> Electronics Redundancy Vector=22405973, 1048<br> Electronics Configuration Change=0, 0<br> Reflective LUT Serial Number and Date of Last Change=R031t2003:04:08:08:55<br> Emissive LUT Serial Number and Date of Last Change=E023t2003:04:08:08:55
<br> QA LUT Serial Number and Date of Last Change=Q019t2003:04:08:08:55<br> Focal Plane Set Point State=0<br> Doors and Screens Configuration=128<br> Reflective Bands With Bad Data=1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
<br> Emissive Bands With Bad Data=1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1<br> Noise in Black Body Thermistors=2, 4, 2, 4, 2, 2, 1, 3, 1, 6, 1, 3<br> Noise in Average BB Temperature=2<br> Noise in LWIR FPA Temperature=147
<br> Noise in MWIR FPA Temperature=26<br> Noise in Scan Mirror Thermistor #1=255<br> Noise in Scan Mirror Thermistor #2=1<br> Noise in Scan Mirror Thermistor Average=19<br> Noise in Instrument Temperature=1<br> Noise in Cavity Temperature=255
<br> Discontinuities in linear gain b1 across granule=0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
<br> Noise in Temperature of NIR FPA=0<br> Noise in Temperature of Vis FPA=0<br> Dead Detector List=0, 0,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32, 32, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 104, 104, 104, 109, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 100, 104, 104, 104, 104, 104, 96, 96, 104, 104, 104, 104, 104, 96, 104, 104, 104, 104, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 76, 72, 72, 72, 72, 72, 72, 72, 72, 72, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 68, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64
<br> Earth-Sun Distance=0.9836482<br> Solar Irradiance on RSB Detectors over pi=511.46, 511.46, 511.46, 511.46, 511.46, 511.46, 511.46, 511.588, 511.62, 511.588, 511.588, 511.588, 511.556, 511.556, 511.556, 511.492, 511.492
, 511.556, 511.588, 511.588, 511.588, 511.62, 511.62, 511.62, 511.62, 511.62, 511.556, 511.492, 511.46, 511.365, 511.301, 511.206, 511.11, 510.983, 510.824, 510.378, 509.614, 509.614, 509.614, 509.614, 315.763, 315.763, 315.763
, 315.763, 315.763, 315.763, 315.763, 315.795, 315.795, 315.795, 315.795, 315.795, 315.795, 315.763, 315.795, 315.795, 315.795, 315.795, 315.795, 315.795, 315.795, 315.795, 315.795, 315.795, 315.795, 315.795, 315.763, 315.763
, 315.763, 315.732, 315.732, 315.7, 315.763, 315.795, 315.859, 315.954, 316.082, 316.273, 316.273, 316.273, 664.599, 664.599, 664.599, 664.599, 664.631, 664.631, 664.631, 664.631, 664.663, 664.663, 664.631, 664.631, 664.599
, 664.663, 664.599, 664.599, 664.567, 664.567, 664.567, 664.567, 593.934, 593.934, 593.934, 593.934, 593.966, 593.934, 593.934, 593.934, 593.934, 593.934, 593.934, 593.934, 593.934, 593.934, 593.934, 593.934, 593.966, 593.998
, 593.998, 593.998, 150.974, 150.974, 150.974, 150.974, 150.974, 150.974, 151.006, 151.006, 151.006, 151.006, 151.006, 151.006, 151.006, 150.974, 151.006, 151.006, 150.974, 150.974, 150.974, 150.974, 76.458, 76.458, 76.458
, 76.458, 76.458, 76.458, 76.458, 76.458, 76.4899, 76.4899, 76.4899, 76.4899, 76.4899, 76.4899, 76.458, 76.458, 76.458, 76.458, 76.458, 76.458, 28.7752, 28.7752, 28.7752, 28.7752, 28.7434, 28.7434, 28.7434, 28.7434, 28.7434
, 28.7752, 28.7434, 28.7434, 28.7434, 28.7434, 28.7434, 28.7434, 28.7434, 28.7434, 28.7434, 28.7434, 555.228, 555.228, 555.164, 555.101, 555.164, 555.323, 555.642, 556.151, 556.756, 557.138, 606.094, 606.094, 606.094, 606.03
, 605.935, 605.903, 605.935, 606.03, 605.903, 605.871, 630.572, 630.572, 630.572, 630.572, 630.572, 630.572, 630.604, 630.54, 630.54, 630.413, 599.728, 599.728, 599.728, 599.759, 599.759, 599.759, 599.759, 599.759, 599.791
, 599.791, 602.242, 602.242, 602.306, 602.306, 602.306, 602.306, 602.306, 602.338, 602.401, 602.433, 492.807, 492.807, 492.712, 492.68, 492.648, 492.648, 492.712, 492.839, 493.094, 493.062, 492.807, 492.807, 492.712, 492.68
, 492.648, 492.648, 492.712, 492.839, 493.094, 493.062, 480.075, 480.075, 480.075, 480.043, 480.043, 480.043, 480.043, 480.043, 480.043, 480.075, 480.075, 480.075, 480.075, 480.043, 480.043, 480.043, 480.043, 480.043, 480.043
, 480.075, 412.084, 412.084, 412.116, 412.179, 412.179, 412.179, 412.211, 412.148, 412.148, 412.148, 309.684, 309.684, 309.684, 309.716, 309.684, 309.716, 309.716, 309.716, 309.747, 309.811, 297.556, 297.556, 297.556, 297.556
, 297.556, 297.556, 297.556, 297.556, 297.556, 297.556, 278.107, 278.107, 278.107, 278.107, 278.107, 278.107, 278.107, 278.107, 278.107, 278.107, 277.948, 277.948, 277.948, 277.948, 277.948, 277.948, 277.948, 277.948, 277.948
, 277.948, 116.151, 116.151, 116.151, 116.151, 116.151, 116.183, 116.183, 116.183, 116.183, 116.183<br>Subdatasets:<br> SUBDATASET_1_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf":0<br> SUBDATASET_1_DESC=[15x3630x1354] EV_1KM_RefSB (16-bit unsigned integer)
<br> SUBDATASET_2_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf":1<br> SUBDATASET_2_DESC=[15x3630x1354] EV_1KM_RefSB_Uncert_Indexes (8-bit unsigned integer)<br> SUBDATASET_3_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf
":2<br> SUBDATASET_3_DESC=[2x3630x1354] EV_250_Aggr1km_RefSB (16-bit unsigned integer)<br> SUBDATASET_4_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf":3<br> SUBDATASET_4_DESC=[2x3630x1354] EV_250_Aggr1km_RefSB_Uncert_Indexes (8-bit unsigned integer)
<br> SUBDATASET_5_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf":4<br> SUBDATASET_5_DESC=[2x3630x1354] EV_250_Aggr1km_RefSB_Samples_Used (8-bit unsigned integer)<br> SUBDATASET_6_NAME=HDF4_SDS:UNKNOWN:"
AMOD021KM20061229043102.hdf":5<br> SUBDATASET_6_DESC=[5x3630x1354] EV_500_Aggr1km_RefSB (16-bit unsigned integer)<br> SUBDATASET_7_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf":6<br> SUBDATASET_7_DESC=[5x3630x1354] EV_500_Aggr1km_RefSB_Uncert_Indexes (8-bit unsigned integer)
<br> SUBDATASET_8_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf":7<br> SUBDATASET_8_DESC=[5x3630x1354] EV_500_Aggr1km_RefSB_Samples_Used (8-bit unsigned integer)<br> SUBDATASET_9_NAME=HDF4_SDS:UNKNOWN:"
AMOD021KM20061229043102.hdf":8<br> SUBDATASET_9_DESC=[16x3630x1354] EV_1KM_Emissive (16-bit unsigned integer)<br> SUBDATASET_10_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf":9<br> SUBDATASET_10_DESC=[16x3630x1354] EV_1KM_Emissive_Uncert_Indexes (8-bit unsigned integer)
<br> SUBDATASET_11_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf":10<br> SUBDATASET_11_DESC=[726x271] Latitude (32-bit floating-point)<br> SUBDATASET_12_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf
":11<br> SUBDATASET_12_DESC=[726x271] Longitude (32-bit floating-point)<br> SUBDATASET_13_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf":12<br> SUBDATASET_13_DESC=[726x271] Height (16-bit integer)<br>
SUBDATASET_14_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf":13<br> SUBDATASET_14_DESC=[726x271] SensorZenith (16-bit integer)<br> SUBDATASET_15_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf":14
<br> SUBDATASET_15_DESC=[726x271] SensorAzimuth (16-bit integer)<br> SUBDATASET_16_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf":15<br> SUBDATASET_16_DESC=[726x271] Range (16-bit unsigned integer)<br> SUBDATASET_17_NAME=HDF4_SDS:UNKNOWN:"
AMOD021KM20061229043102.hdf":16<br> SUBDATASET_17_DESC=[726x271] SolarZenith (16-bit integer)<br> SUBDATASET_18_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf":17<br> SUBDATASET_18_DESC=[726x271] SolarAzimuth (16-bit integer)
<br> SUBDATASET_19_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf":18<br> SUBDATASET_19_DESC=[726x271] gflags (8-bit unsigned integer)<br> SUBDATASET_20_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf
":19<br> SUBDATASET_20_DESC=[3630x1354] EV_Band26 (16-bit unsigned integer)<br> SUBDATASET_21_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf":20<br> SUBDATASET_21_DESC=[3630x1354] EV_Band26_Uncert_Indexes (8-bit unsigned integer)
<br> SUBDATASET_22_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf":21<br> SUBDATASET_22_DESC=[16x10] Noise in Thermal Detectors (8-bit unsigned integer)<br> SUBDATASET_23_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf
":22<br> SUBDATASET_23_DESC=[16x10] Change in relative responses of thermal detectors (8-bit unsigned integer)<br> SUBDATASET_24_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf":23<br> SUBDATASET_24_DESC=[363x16x10] DC Restore Change for Thermal Bands (8-bit integer)
<br> SUBDATASET_25_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf":24<br> SUBDATASET_25_DESC=[363x2x40] DC Restore Change for Reflective 250m Bands (8-bit integer)<br> SUBDATASET_26_NAME=HDF4_SDS:UNKNOWN:"
AMOD021KM20061229043102.hdf":25<br> SUBDATASET_26_DESC=[363x5x20] DC Restore Change for Reflective 500m Bands (8-bit integer)<br> SUBDATASET_27_NAME=HDF4_SDS:UNKNOWN:"AMOD021KM20061229043102.hdf":26<br> SUBDATASET_27_DESC=[363x15x10] DC Restore Change for Reflective 1km Bands (8-bit integer)
<br>Corner Coordinates:<br>Upper Left ( 0.0, 0.0)<br>Lower Left ( 0.0, 512.0)<br>Upper Right ( 512.0, 0.0)<br>Lower Right ( 512.0, 512.0)<br>Center ( 256.0, 256.0)<br><br><span style="font-weight: bold;">
//-----------------------------</span></span><span style="font-weight: bold;"><span style="font-weight: bold;">-----------------------------</span></span><span style="font-weight: bold;"><span style="font-weight: bold;">----------------END-LOG
</span></span><span style="font-weight: bold;"><span style="font-weight: bold;"></span></span><span style="font-weight: bold;"><span style="font-weight: bold;">--------------------------</span></span><span style="font-weight: bold;">
<span style="font-weight: bold;">-----------------------------</span></span><span style="font-weight: bold;"><span style="font-weight: bold;">-----------------------------</span></span><span style="font-weight: bold;"><span style="font-weight: bold;">
-----------------------------</span></span><span style="font-weight: bold;"><span style="font-weight: bold;"></span><br></span><br>It looks like the subdatasets could be malformed... This is because I get these <span style="font-weight: bold;">
SUBDATASET_X_NAME=HDF4_SDS:UNKNOWN: </span>syntax.. is that right.. I've been told that the images are MODIS images from Terra and Aqua satellites. I also read that MODIS is used for snow detection only.. is this correct??
<br><br><span style="font-weight: bold;"></span>I'm trying to understand how to achieve what I need and so far I understand that the required commands are the <span style="font-weight: bold;">gdal_transform</span> or the
<span style="font-weight: bold;">gdalwarp</span> commands.<br><br>When I run <span style="font-weight: bold;">gdal_translate</span> on the file, I get the following:<br><br><span style="font-weight: bold;">rasdaman@mattia-desktop
:~/FTPCHINA$ gdal_translate AMOD021KM20061229043102.hdf test.tiff<br>Input file contains subdatasets. Please, select one of them for reading.<br>rasdaman@mattia-desktop:~/FTPCHINA$<br><span style="font-weight: bold;"><br>
<span style="font-weight: bold;"></span></span></span>Hence my question is, how do I tell the command to pick up a certain dataset?? And, where can I find the relative documentation for this command when applied to multiple HDF bands??
<br><br>Finally, I reside in Germany and need to transform a whole lot of images into GeoTiff to later establish a WMS service .. Hence all conversion will need be done remotely... Does anyone have any suggestions on how I should go on about this?? Should I be using the
<span style="font-weight: bold;">gdal </span>library or would I best bet on something else???<br>Msphinx?? ENVI??<br><br><br><br clear="all"><br>-- <br>Mattia