<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div id="yiv289786947"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div id="yiv289786947yui_3_2_0_17_129599216386340"><div style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 8px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; "><div id="yiv289786947yui_3_2_0_16_12959921638631178" style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Hi Everyone, greetings.</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br id="yiv289786947yui_3_2_0_16_12959921638631195"></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">I am working with AIRS images, specifically
 CO2 products (AIRX2STC,AIRX2SPC) and i am trying to convert a couple of subdataset from .hdf files to other format as GTiff or .img so that can be handled on some open source GIS but using gdal_translate there are problems, mainly a lack of georeference in processed images.</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span style="font-size:12pt;"><br></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span id="yiv289786947yui_3_2_0_16_12959921638631184" style="font-size:12pt;">&nbsp;The file is&nbsp;AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf downloadable from</span></div><div id="yiv289786947yui_3_2_0_16_12959921638631188" style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span id="yiv289786947yui_3_2_0_16_12959921638631185"
 style="font-size:12pt;">&nbsp;ttp://mirador.gsfc.nasa.gov/cgi-bin/mirador/homepageAlt.pl?keyword=AIRX2SPC</span>&nbsp;&nbsp;<span id="yiv289786947yui_3_2_0_16_12959921638631189" style="color:rgb(69, 69, 69);font-size:12pt;">for 2008-03-12 date.</span>A special feature of this kind of files is geolocations fields "latitude" and "longitude" &nbsp;have some values =-9999 where respective pixel doesn't have information about co2 amounts.</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div id="yiv289786947yui_3_2_0_16_12959921638631183" style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">* When I&nbsp;do gdalinfo I get&nbsp;<span style="font-size:12pt;">:</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span style="font-size:12pt;"><br></span></div><div><div style="font-family: 'times new roman', 'new york', times,
 serif; "><font face="'times new roman', 'new york', times, serif" id="yiv289786947yui_3_2_0_17_1295992163863101">gdalinfo /home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">Size is 512, 512</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">Coordinate System is `'</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">Metadata:</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><span style="font-size: 12pt; ">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;...</span><br></div><div style="font-family: 'times new roman', 'new york', times,
 serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...</font></div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; GROUP &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= SPATIALDOMAINCONTAINER<br></div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; &nbsp; GROUP &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= HORIZONTALSPATIALDOMAINCONTAINER<br></div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; &nbsp; &nbsp; GROUP &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= BOUNDINGRECTANGLE<br></div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; &nbsp; &nbsp; &nbsp; OBJECT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
 EASTBOUNDINGCOORDINATE<br></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NUM_VAL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 1</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; VALUE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= -133.537399291992</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; END_OBJECT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = EASTBOUNDINGCOORDINATE</font></div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; &nbsp; &nbsp; &nbsp; OBJECT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
 WESTBOUNDINGCOORDINATE<br></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NUM_VAL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 1</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 VALUE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= -157.941314697266</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; END_OBJECT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = WESTBOUNDINGCOORDINATE</font></div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; &nbsp; &nbsp; &nbsp; OBJECT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = SOUTHBOUNDINGCOORDINATE<br></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NUM_VAL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 1</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; VALUE &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 22.2317676544189</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; END_OBJECT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = SOUTHBOUNDINGCOORDINATE</font></div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; &nbsp;
 &nbsp; &nbsp; OBJECT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = NORTHBOUNDINGCOORDINATE<br></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NUM_VAL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 1</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; VALUE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 45.889762878418</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; END_OBJECT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = NORTHBOUNDINGCOORDINATE</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york',
 times, serif"><br></font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; END_GROUP &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= BOUNDINGRECTANGLE</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times,
 serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;...</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;...</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp;&nbsp;</font>HDFEOSVersion=HDFEOS_V2.12</div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; ProductGenerationHostInformation=alpha.jpl.nasa.gov Linux 2.6.9-78.0.22.ELsmp #1_SMP_Thu_Apr_30_19:17:40_EDT_2009 x86_64</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; VersionRetrieval=5.2.2.0</font></div><div style="font-family:
 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">Subdatasets:</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif" style="font-size: 12pt; ">&nbsp;</font><span style="font-size: 12pt; ">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...</span><br></div><div id="yiv289786947yui_3_2_0_17_129599216386366" style="font-family: 'times new roman', 'new york', times, serif; "><span style="font-size:12pt;">&nbsp;SUBDATASET_8_NAME=HDF4_EOS:EOS_SWATH:"/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf":CO2:CO2ret</span><br></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; SUBDATASET_8_DESC=[22x15] CO2ret CO2 (32-bit floating-point)</font></div><div
 id="yiv289786947yui_3_2_0_17_129599216386370" style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif" id="yiv289786947yui_3_2_0_17_129599216386348">&nbsp;&nbsp;</font><span style="font-size:12pt;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;...</span></div><div style="font-family: 'times new roman', 'new york', times, serif; "><span style="font-size:12pt;">&nbsp; SUBDATASET_11_DESC=[22x15x100] AvgKern CO2 (32-bit floating-point)</span></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp;SUBDATASET_12_NAME=HDF4_SDS:UNKNOWN:"/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf":0</font></div><div id="yiv289786947yui_3_2_0_17_1295992163863126" style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new
 roman', 'new york', times, serif" style="font-size:12pt;">&nbsp;</font><span style="font-size:12pt;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...</span><br></div><div style="font-family: 'times new roman', 'new york', times, serif; "><div id="yiv289786947yui_3_2_0_17_129599216386387">SUBDATASET_19_NAME=HDF4_SDS:UNKNOWN:"/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf":7</div></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; SUBDATASET_19_DESC=[22x15] CO2ret (32-bit floating-point)</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif" id="yiv289786947yui_3_2_0_17_129599216386382">&nbsp;</font><font face="'times new roman', 'new york', times, serif" id="yiv289786947yui_3_2_0_17_129599216386392"
 style="font-size:12pt;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;...</font><span style="font-size:12pt;">&nbsp;</span><span style="font-size:12pt;">&nbsp;</span><font face="'times new roman', 'new york', times, serif" style="font-size:12pt;">&nbsp;</font><span style="font-size:12pt;">&nbsp; SUBDATASET_23_NAME=HDF4_SDS:UNKNOWN:"/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf":11</span></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; SUBDATASET_23_DESC=[22x15] Latitude (32-bit floating-point)</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; SUBDATASET_24_NAME=HDF4_SDS:UNKNOWN:"/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf":12</font></div><div
 style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp; SUBDATASET_24_DESC=[22x15] Longitude (32-bit floating-point)</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">Corner Coordinates:</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">Upper Left &nbsp;( &nbsp; &nbsp;0.0, &nbsp; &nbsp;0.0)</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york',
 times, serif">Lower Left &nbsp;( &nbsp; &nbsp;0.0, &nbsp;512.0)</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">Upper Right ( &nbsp;512.0, &nbsp; &nbsp;0.0)</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">Lower Right ( &nbsp;512.0, &nbsp;512.0)</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">Center &nbsp; &nbsp; &nbsp;( &nbsp;256.0, &nbsp;256.0)</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif"><br></font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif"><br></font></div><div style="font-family: 'times new
 roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">* I need "CO2ret" subdataset. Using gdalinfo:</font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif"><br></font></div><div><div style="font-family: 'times new roman', 'new york', times, serif; ">root@debian:/home/david# gdalinfo
 HDF4_EOS:EOS_SWATH:"/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf":CO2:CO2ret</div><div style="font-family: 'times new roman', 'new york', times, serif; ">Driver: HDF4Image/HDF4 Dataset</div><div style="font-family: 'times new roman', 'new york', times, serif; ">Files: /home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf</div><div style="font-family: 'times new roman', 'new york', times, serif; ">Size is 15, 22</div><div style="font-family: 'times new roman', 'new york', times, serif; ">Coordinate System is `'</div><div style="font-family: 'times new roman', 'new york', times, serif; ">GCP[ &nbsp;0]: Id=, Info=</div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (0.5,0.5) -&gt; (-9999,-9999,0)</div><div style="font-family: 'times new roman', 'new york', times, serif; "><span style="font-size: 12pt; ">GCP[
 &nbsp;3]: Id=, Info=</span><br></div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (3.5,0.5) -&gt; (-145.229995727539,23.3500003814697,0)</div><div style="font-family: 'times new roman', 'new york', times, serif; ">GCP[ &nbsp;4]: Id=, Info=</div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (4.5,0.5) -&gt; (-9999,-9999,0)</div><div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif">&nbsp;</font><span style="font-family: times, serif; ">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...</span><br></div><div style="font-family: 'Times New Roman'; "><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;...</font><span style="font-family: times, serif;
 ">&nbsp;&nbsp;</span></div><div><div style="font-family: 'times new roman', 'new york', times, serif; ">GCP[329]: Id=, Info=</div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (14.5,21.5) -&gt; (-9999,-9999,0)</div><div style="font-family: 'times new roman', 'new york', times, serif; "><font face="'times new roman', 'new york', times, serif" style="font-size: 12pt; ">&nbsp;</font><span class="yui_3_2_0_14_1296014222931754" style="font-size: 12pt; ">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...</span><br></div><div><div style="font-family: 'Times New Roman'; "><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;...</font></div><div><font><div><span style="font-size: 12pt; ">Geolocation:</span><br></div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp;
 LINE_OFFSET=0</div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp;
 LINE_STEP=1</div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; PIXEL_OFFSET=0</div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; PIXEL_STEP=1</div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; X_BAND=1</div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; X_DATASET=HDF4_EOS:EOS_SWATH_GEOL:"/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf":CO2:Longitude</div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; Y_BAND=1</div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; Y_DATASET=HDF4_EOS:EOS_SWATH_GEOL:"/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf":CO2:Latitude</div><div style="font-family: 'times new roman', 'new york', times, serif; ">Corner Coordinates:</div><div
 style="font-family: 'times new roman', 'new york', times, serif; ">Upper Left &nbsp;( &nbsp; &nbsp;0.0, &nbsp; &nbsp;0.0)</div><div style="font-family: 'times new roman', 'new york', times, serif; ">Lower Left &nbsp;( &nbsp; &nbsp;0.0, &nbsp; 22.0)</div><div style="font-family: 'times new roman', 'new york', times, serif; ">Upper Right ( &nbsp; 15.0, &nbsp; &nbsp;0.0)</div><div style="font-family: 'times new roman', 'new york', times, serif; ">Lower Right ( &nbsp; 15.0, &nbsp; 22.0)</div><div style="font-family: 'times new roman', 'new york', times, serif; ">Center &nbsp; &nbsp; &nbsp;( &nbsp; &nbsp;7.5, &nbsp; 11.0)</div><div style="font-family: 'times new roman', 'new york', times, serif; ">Band 1 Block=15x22 Type=Float32, ColorInterp=Gray</div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; NoData Value=-9999</div><div style="font-family: 'times new roman', 'new york', times, serif; "><br></div><div style="font-family:
 'times new roman', 'new york', times, serif; ">* I tried create an .img file but the image doesn't spatial
 reference:</div><div style="font-family: 'times new roman', 'new york', times, serif; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; "><div>rgdal_translate -of HFA HDF4_EOS:EOS_SWATH:"/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf":CO2:CO2ret &nbsp;/home/david/Descargas/pruebas/CO2_sup_img_EOS.img</div><div id="yiv289786947yui_3_2_0_16_12959921638631193"><br></div><div>* with Geotiff format there is not georeference and all pixels have value =0 :</div><div><br></div><div>gdal_translate -of GTiff HDF4_EOS:EOS_SWATH:"/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf":CO2:CO2ret &nbsp;/home/david/Descargas/pruebas/CO2_sup_Gtiff_EOS_traslate.tif</div><div>Input file size is 15, 22</div><div>0Warning 1: Lost metadata writing to GeoTIFF ... too large to fit in tag.</div><div>Warning 1: Lost metadata writing to GeoTIFF ... too large to fit
 in tag.</div><div>...10...20...30...40...50...60...70...80...90...100 -
 done.</div><div><br></div><div>* I tried with gdalwarp but the file doesn't have geographical reference and co2 info:</div><div><br></div><div id="yiv289786947yui_3_2_0_17_1295992163863173">&nbsp;gdalwarp HDF4_EOS:EOS_SWATH:"/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf":CO2:CO2ret &nbsp;/home/david/Descargas/pruebas/CO2_sup_Gtiff_EOS_warp.tif</div><div>Creating output file that is 141P x 144L.</div><div>Processing input file HDF4_EOS:EOS_SWATH:/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf:CO2:CO2ret.</div><div>Using internal nodata values (eg. -9999) for image HDF4_EOS:EOS_SWATH:/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf:CO2:CO2ret.</div><div>0...10...20...30...40...50...60...70...80...90...100 - done.</div><div><br></div><div><br></div><div>* SO, i did the same with subdataset name&nbsp;HDF4_SDS:UNKNOWN&nbsp;
 :</div><div><br></div><div><div id="yiv289786947yui_3_2_0_17_1295992163863168">&nbsp;gdalinfo HDF4_SDS:UNKNOWN:"/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf":7</div><div>Driver: HDF4Image/HDF4 Dataset</div><div>Files: /home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf</div><div>Size is 15, 22</div><div>Coordinate System is `'</div><div><div class="yui_3_2_0_14_1296014222931302"><font face="'times new roman', 'new york', times, serif">&nbsp;</font><span class="yui_3_2_0_14_1296014222931762">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...</span><br></div><div class="yui_3_2_0_14_1296014222931304"><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;...</font><span class="yui_3_2_0_14_1296014222931766">&nbsp;</span></div></div><div>Geolocation:</div><div>&nbsp;
 LINE_OFFSET=0</div><div>&nbsp; LINE_STEP=1</div><div>&nbsp; PIXEL_OFFSET=0</div><div>&nbsp; PIXEL_STEP=1</div><div>&nbsp; SRS=GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9108"]],AUTHORITY["EPSG","4326"]]</div><div>&nbsp; X_BAND=1</div><div>&nbsp; X_DATASET=HDF4_SDS:UNKNOWN:"/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf":12</div><div>&nbsp; Y_BAND=1</div><div>&nbsp; Y_DATASET=HDF4_SDS:UNKNOWN:"/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf":11</div><div>Corner Coordinates:</div><div>Upper Left &nbsp;( &nbsp; &nbsp;0.0, &nbsp; &nbsp;0.0)</div><div>Lower Left &nbsp;( &nbsp;
 &nbsp;0.0, &nbsp; 22.0)</div><div>Upper Right ( &nbsp; 15.0, &nbsp; &nbsp;0.0)</div><div>Lower Right ( &nbsp; 15.0, &nbsp; 22.0)</div><div>Center &nbsp; &nbsp; &nbsp;( &nbsp; &nbsp;7.5, &nbsp; 11.0)</div><div>Band 1 Block=15x22 Type=Float32, ColorInterp=Gray</div><div><br></div><div id="yiv289786947yui_3_2_0_17_1295992163863135">&nbsp;gdal_translate -of HFA HDF4_SDS:UNKNOWN:"/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf":7 /home/david/Descargas/pruebas/CO2_sup_img_UNKNOWN_traslate.img</div><div><br></div><div id="yiv289786947yui_3_2_0_17_1295992163863158">&nbsp;gdal_translate -of GTiff HDF4_SDS:UNKNOWN:"/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf":7 /home/david/Descargas/pruebas/CO2_sup_Gtiff_UNKNOWN_traslate.tif</div><div>Input file size is 15, 22</div><div>0Warning 1: Lost metadata writing to GeoTIFF ... too large to fit in tag.</div><div>Warning 1: Lost
 metadata writing to GeoTIFF
 ... too large to fit in tag.</div><div>...10...20...30...40...50...60...70...80...90...100 - done.</div><div><br></div><div id="yiv289786947yui_3_2_0_17_1295992163863163">gdalwarp HDF4_SDS:UNKNOWN:"/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf":7 /home/david/Descargas/pruebas/CO2_sup_Gtiff_UNKNOWN_warp.tif</div><div>Creating output file that is 70P x 72L.</div><div>Processing input file HDF4_SDS:UNKNOWN:/home/david/Descargas/pruebas/AIRS.2008.03.12.228.L2.CO2_Sup.v5.4.11.0.CO2.T09254115637.hdf:7.</div><div>ERROR 1: Too many points (441 out of 441) failed to transform,</div><div>unable to compute output bounds.</div><div>0...10...20...30...40...50...60...70...80...90...100 - done</div><div><br></div><div><br></div><div>* but none of images have geographical reference. When i use HEGTool with AIRS radiances (AIRIBRAD products), for example, the Geotiff have WGS84 coordinates.The problem is HEG doesn't support
 CO2
 products.</div><div><br></div><div>1. How can i generate &nbsp;images with spatial reference?</div><div>2. Should i replace -9999 values from latitude and longitude&nbsp;fields&nbsp;with other value? How can i do this?</div><div><br></div><div>The gdal version is 1.9 built from source with hdf4 support:</div><div><div>./configure --with-hdf4=/home/david/Descargas/gdal_grass_R/hdf-4.2.6-linux --without-grass --without-libgrass&nbsp;</div><div>make</div><div>make install</div><div><br></div><div id="yiv289786947yui_3_2_0_16_12959921638631181"><br></div><div><br></div><div id="yiv289786947yui_3_2_0_16_12959921638631180"><br></div></div><div>I really&nbsp;appreciate&nbsp;your help and&nbsp;advice</div><div id="yiv289786947yui_3_2_0_16_12959921638631198"><br></div><div>Best Regards</div><div><br></div><div><br></div><div>David A. Ortiz V.</div><div>UD - ICG</div><div id="yiv289786947yui_3_2_0_16_12959921638631179">Bogota
 D.C.&nbsp;</div><div><br></div></div><div><br></div></div></font></div></div></div></div></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div></div><br class="yiv289786947Apple-interchange-newline"></div></div></div></div></div></body></html>