[gdal-dev] Support for MISR data processing.
Wesley Roberts
wroberts at csir.co.za
Thu Dec 1 04:03:16 EST 2011
Dear gdal-dev,
I have some MISR hdf data downloaded from the following website (http://eosweb.larc.nasa.gov/PRODOCS/misr/table_misr.html). I have tried to use gdal to access the hdf data using techniques similar to other hdf data sources (MODIS - NDVI and ET). gdalinfo is able to read the contents of the data file in much the same way as it does with MODIS data products. See below, however when I use gdal_translate to extract my data set of interest the result is incorrect. The command executes as per normal and writes a data set to my disk, however when I look at the result in QGIS I see that the image is flippped to the left (north now faces west) and that the data is jumbled (white noise). The command I am using is below. Any help on extracting MISR data blocks is greatly appreciated.
Many thanks,
Wesley
###################################################gdal_translate###################################################
gdal_translate -of GTiff "HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":RegParamsLnd:NormBlkSfcIrrad" output.tif
###################################################gdalinfo###################################################
gdalinfo MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf
Driver: HDF4/Hierarchical Data Format Release 4
Files: MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf
Size is 512, 512
Coordinate System is `'
Metadata:
HDFEOSVersion=HDFEOS_V2.13
Path_number=174
AGP_version_id=2
DID_version_id=4
Number_blocks=180
Ocean_blocks_size=180
Ocean_blocks.count=50
Ocean_blocks.numbers=5, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 174, 175, 176, 177, 178, 179, 180, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
SOM_parameters.som_ellipsoid.a=6378137
SOM_parameters.som_ellipsoid.e2=0.006694348
SOM_parameters.som_orbit.aprime=1
SOM_parameters.som_orbit.eprime=1
SOM_parameters.som_orbit.gama=1
SOM_parameters.som_orbit.nrev=233
SOM_parameters.som_orbit.ro=7078040.8
SOM_parameters.som_orbit.i=1.71572532628785
SOM_parameters.som_orbit.P2P1=0.0686666666666667
SOM_parameters.som_orbit.lambda0=-2.43535567370853
Origin_block.ulc.x=7460750
Origin_block.ulc.y=527450
Origin_block.lrc.x=7601550
Origin_block.lrc.y=1090650
Start_block=117
End block=118
Cam_mode=1
Num_local_modes=0
Local_mode_site_name=
Orbit_QA=0
coremetadata=
############################################LOTS of Metadata Removed##################################################################
Subdatasets:
SUBDATASET_1_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":RegParamsLnd:NormBlkSfcIrrad
SUBDATASET_1_DESC=[180x8x32x4] NormBlkSfcIrrad RegParamsLnd (32-bit floating-point)
SUBDATASET_2_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":RegParamsLnd:NormBlkSfcIrradUnc
SUBDATASET_2_DESC=[180x8x32x4] NormBlkSfcIrradUnc RegParamsLnd (32-bit floating-point)
SUBDATASET_3_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":RegParamsLnd:BOABihemAlb
SUBDATASET_3_DESC=[180x8x32x4] BOABihemAlb RegParamsLnd (32-bit floating-point)
SUBDATASET_4_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":RegParamsLnd:BOABihemAlbUnc
SUBDATASET_4_DESC=[180x8x32x4] BOABihemAlbUnc RegParamsLnd (32-bit floating-point)
SUBDATASET_5_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":RegParamsLnd:RegSfcRetrOptDepth
SUBDATASET_5_DESC=[180x8x32] RegSfcRetrOptDepth RegParamsLnd (32-bit floating-point)
SUBDATASET_6_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":RegParamsLnd:RegSfcRetrOptDepthUnc
SUBDATASET_6_DESC=[180x8x32] RegSfcRetrOptDepthUnc RegParamsLnd (32-bit floating-point)
SUBDATASET_7_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":RegParamsLnd:RegSfcRetrMixture
SUBDATASET_7_DESC=[180x8x32] RegSfcRetrMixture RegParamsLnd (8-bit unsigned integer)
SUBDATASET_8_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":RegParamsLnd:RegSfcRetrAlgTypeFlag
SUBDATASET_8_DESC=[180x8x32] RegSfcRetrAlgTypeFlag RegParamsLnd (8-bit unsigned integer)
SUBDATASET_9_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":RegParamsLnd:LandQA
SUBDATASET_9_DESC=[180x8x32] LandQA RegParamsLnd (8-bit unsigned integer)
SUBDATASET_10_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":RegParamsLnd:SolZenAng
SUBDATASET_10_DESC=[180x8x32] SolZenAng RegParamsLnd (32-bit floating-point)
SUBDATASET_11_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":RegParamsLnd:ViewZenAng
SUBDATASET_11_DESC=[180x8x32x9] ViewZenAng RegParamsLnd (32-bit floating-point)
SUBDATASET_12_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":RegParamsLnd:RelViewCamAziAng
SUBDATASET_12_DESC=[180x8x32x9] RelViewCamAziAng RegParamsLnd (32-bit floating-point)
SUBDATASET_13_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":RegParamsLnd:ScatterAng
SUBDATASET_13_DESC=[180x8x32x9] ScatterAng RegParamsLnd (32-bit floating-point)
SUBDATASET_14_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":RegParamsLnd:GlitterAng
SUBDATASET_14_DESC=[180x8x32x9] GlitterAng RegParamsLnd (32-bit floating-point)
SUBDATASET_15_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:LandHDRF
SUBDATASET_15_DESC=[180x128x512x4x9] LandHDRF SubregParamsLnd (16-bit unsigned integer)
SUBDATASET_16_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:LandHDRFUnc
SUBDATASET_16_DESC=[180x128x512x4x9] LandHDRFUnc SubregParamsLnd (16-bit unsigned integer)
SUBDATASET_17_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:RDQI
SUBDATASET_17_DESC=[180x128x512x4x9] RDQI SubregParamsLnd (8-bit unsigned integer)
SUBDATASET_18_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:LandBHR
SUBDATASET_18_DESC=[180x128x512x4] LandBHR SubregParamsLnd (8-bit unsigned integer)
SUBDATASET_19_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:LandBHRRelUnc
SUBDATASET_19_DESC=[180x128x512x4] LandBHRRelUnc SubregParamsLnd (8-bit unsigned integer)
SUBDATASET_20_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:LandBRF
SUBDATASET_20_DESC=[180x128x512x4x9] LandBRF SubregParamsLnd (16-bit unsigned integer)
SUBDATASET_21_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:LandDHR
SUBDATASET_21_DESC=[180x128x512x4] LandDHR SubregParamsLnd (8-bit unsigned integer)
SUBDATASET_22_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:BRFModParam1
SUBDATASET_22_DESC=[180x128x512x4] BRFModParam1 SubregParamsLnd (16-bit unsigned integer)
SUBDATASET_23_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:BRFModParam2
SUBDATASET_23_DESC=[180x128x512x4] BRFModParam2 SubregParamsLnd (8-bit unsigned integer)
SUBDATASET_24_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:BRFModParam3
SUBDATASET_24_DESC=[180x128x512x4] BRFModParam3 SubregParamsLnd (8-bit unsigned integer)
SUBDATASET_25_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:BRFModFitResid
SUBDATASET_25_DESC=[180x128x512x4] BRFModFitResid SubregParamsLnd (16-bit unsigned integer)
SUBDATASET_26_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:NDVI
SUBDATASET_26_DESC=[180x128x512] NDVI SubregParamsLnd (8-bit unsigned integer)
SUBDATASET_27_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:BiomeBestEstimate
SUBDATASET_27_DESC=[180x128x512] BiomeBestEstimate SubregParamsLnd (8-bit unsigned integer)
SUBDATASET_28_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:BiomeBestEstimateQA
SUBDATASET_28_DESC=[180x128x512] BiomeBestEstimateQA SubregParamsLnd (8-bit unsigned integer)
SUBDATASET_29_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:LAIBestEstimate
SUBDATASET_29_DESC=[180x128x512] LAIBestEstimate SubregParamsLnd (32-bit floating-point)
SUBDATASET_30_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:LAIBestEstimateQA
SUBDATASET_30_DESC=[180x128x512] LAIBestEstimateQA SubregParamsLnd (8-bit unsigned integer)
SUBDATASET_31_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:FPARBestEstimate
SUBDATASET_31_DESC=[180x128x512] FPARBestEstimate SubregParamsLnd (32-bit floating-point)
SUBDATASET_32_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:BHRPAR
SUBDATASET_32_DESC=[180x128x512] BHRPAR SubregParamsLnd (32-bit floating-point)
SUBDATASET_33_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:DHRPAR
SUBDATASET_33_DESC=[180x128x512] DHRPAR SubregParamsLnd (32-bit floating-point)
SUBDATASET_34_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:LAIMean1
SUBDATASET_34_DESC=[180x128x512x6] LAIMean1 SubregParamsLnd (8-bit unsigned integer)
SUBDATASET_35_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:LAIDelta1
SUBDATASET_35_DESC=[180x128x512x6] LAIDelta1 SubregParamsLnd (32-bit floating-point)
SUBDATASET_36_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:LAINumGoodFit1
SUBDATASET_36_DESC=[180x128x512x6] LAINumGoodFit1 SubregParamsLnd (8-bit unsigned integer)
SUBDATASET_37_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:LAIMean2
SUBDATASET_37_DESC=[180x128x512x6] LAIMean2 SubregParamsLnd (8-bit unsigned integer)
SUBDATASET_38_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:LAIDelta2
SUBDATASET_38_DESC=[180x128x512x6] LAIDelta2 SubregParamsLnd (32-bit floating-point)
SUBDATASET_39_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:LAINumGoodFit2
SUBDATASET_39_DESC=[180x128x512x6] LAINumGoodFit2 SubregParamsLnd (8-bit unsigned integer)
SUBDATASET_40_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:LAIQA
SUBDATASET_40_DESC=[180x128x512x6] LAIQA SubregParamsLnd (8-bit unsigned integer)
SUBDATASET_41_NAME=HDF4_EOS:EOS_GRID:"MISR_AM1_AS_LAND_P174_O001092_F07_0022.b117-118.hdf":SubregParamsLnd:SubrVar
SUBDATASET_41_DESC=[180x128x512x4] SubrVar SubregParamsLnd (8-bit unsigned integer)
Corner Coordinates:
Upper Left ( 0.0, 0.0)
Lower Left ( 0.0, 512.0)
Upper Right ( 512.0, 0.0)
Lower Right ( 512.0, 512.0)
Center ( 256.0, 256.0)
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.
More information about the gdal-dev
mailing list