[Gdal-dev] Sinusoidal projection for MODIS images with OGR

Markus Neteler neteler at itc.it
Wed Oct 15 12:13:10 EDT 2003


On Tue, Oct 14, 2003 at 01:41:31PM -0400, Ben Discoe wrote:
> 
> Well, if the images are in a normal sinusoidal (SIN), then we don't need the
> MODIS reproject tool at all, we can just use GDAL :-)

Mhhh, for me it doesn't work (yesterday's CVS version). Trying on 
"MODIS/Terra Land Surface Temperature/Emissivity Daily L3 Global 1km SIN Grid":

gdalinfo MOD11A1.A2000055.h18v04.004.2002355023354.hdf
Driver: HDF4/Hierarchical Data Format Release 4
Size is 512, 512
Coordinate System is '
Metadata:
  HDFEOSVersion=HDFEOS_V2.4
  LOCALGRANULEID=MOD11A1.A2000055.h18v04.004.2002355023354.hdf
  PRODUCTIONDATETIME=2002-12-21T02:33:54.000Z
  DAYNIGHTFLAG=Both
  REPROCESSINGACTUAL=reprocessed
  LOCALVERSIONID=SCF V4.1.3A
  REPROCESSINGPLANNED=further update is anticipated
  SCIENCEQUALITYFLAG=Not Investigated
  AUTOMATICQUALITYFLAGEXPLANATION=Passed if algorithm ran within bounds of execution constraints.  Suspect if bounds of execution constraints violated.  Failed if PGE failed.
  AUTOMATICQUALITYFLAG=Passed
  SCIENCEQUALITYFLAGEXPLANATION=See http://landdb1.nascom.nasa.gov/QA_WWW/release.cgi for the Science QA status of this product.
  QAPERCENTMISSINGDATA=0
  QAPERCENTOUTOFBOUNDSDATA=0
  QAPERCENTCLOUDCOVER=61
  QAPERCENTINTERPOLATEDDATA=0
  PARAMETERNAME=MOD 1KM L3 LST
  VERSIONID=4
  SHORTNAME=MOD11A1
  INPUTPOINTER=MOD03.A2000055.1010.004.2002296011149.hdf,MOD021KM.A2000055.1010.004.2002296173139.hdf,MOD35_L2.A2000055.1010.004.2002297061857.hdf,MOD10_L2.A2000055.1010.004.2002354210009.hdf,MOD07_L2.A2000055.1010.004.2002297062000.hdf,MOD03.A2000055.1145.004.2002296011823.hdf,MOD021KM.A2000055.1145.004.2002296023327.hdf,MOD35_L2.A2000055.1145.004.2002296060357.hdf,MOD10_L2.A2000055.1145.004.2002354210217.hdf,MOD07_L2.A2000055.1145.004.2002296060509.hdf,MOD03.A2000055.1150.004.2002296012012.hdf,MOD021KM.A2000055.1150.004.2002296023356.hdf,MOD35_L2.A2000055.1150.004.2002296060336.hdf,MOD10_L2.A2000055.1150.004.2002354210217.hdf,MOD07_L2.A2000055.1150.004.2002296060449.hdf,MOD03.A2000055.2115.004.2002296073024.hdf,MOD021KM.A2000055.2115.004.2002296082726.hdf,MOD35_L2.A2000055.2115.004.2002296134515.hdf,MOD07_L2.A2000055.2115.004.2002296134700.hdf,MOD03.A2000055.2120.004.2002296073106.hdf,MOD021KM.A2000055.2120.004.2002296101156.hdf,MOD35_L2.A2000055.2120.004.2002296134111.hdf,MOD07_L2.A2000055.2120.004.2002296134234.hdf,MOD03.A2000055.2255.004.2002296095939.hdf,MOD021KM.A2000055.2255.004.2002296145019.hdf,MOD35_L2.A2000055.2255.004.2002296165000.hdf,MOD07_L2.A2000055.2255.004.2002296165152.hdf
  GRINGPOINTLONGITUDE=0.000000, 15.544281, 13.044787, 0.000000
  GRINGPOINTLATITUDE=49.995833, 49.995833, 40.004167, 40.004167
  GRINGPOINTSEQUENCENO=1, 2, 3, 4
  EXCLUSIONGRINGFLAG=N
  RANGEENDINGDATE=2000-02-24
  RANGEENDINGTIME=22:59:36.085400
  RANGEBEGINNINGDATE=2000-02-24
  RANGEBEGINNINGTIME=10:10:38.975336
  PGEVERSION=4.1.4
  ASSOCIATEDSENSORSHORTNAME=MODIS
  ASSOCIATEDPLATFORMSHORTNAME=Terra
  ASSOCIATEDINSTRUMENTSHORTNAME=MODIS
  QAPERCENTGOODQUALITY=12
  QAPERCENTOTHERQUALITY=0
  QAPERCENTNOTPRODUCEDCLOUD=61
  QAPERCENTNOTPRODUCEDOTHER=27
  N_GRAN_POINTERS=27
  HORIZONTALTILENUMBER=18
  VERTICALTILENUMBER=04
  TileID=51018004
  QAFRACTIONGOODQUALITY=0.1232632
  QAFRACTIONOTHERQUALITY=0.0000000
  QAFRACTIONNOTPRODUCEDCLOUD=0.6113181
  QAFRACTIONNOTPRODUCEDOTHER=0.2654187
  HORIZONTALTILENUMBER=18
  VERTICALTILENUMBER=04
  ALGORITHMPACKAGEACCEPTANCEDATE=1997-11-01
  ALGORITHMPACKAGEMATURITYCODE=pre-launch
  ALGORITHMPACKAGENAME=MOD_PR11A_V3
  ALGORITHMPACKAGEVERSION=Version 2
  LONGNAME=MODIS/Terra Land Surface Temperature/Emissivity Daily L3 Global 1km SIN Grid
  INSTRUMENTNAME=Moderate-Resolution Imaging SpectroRadiometer
  INPUTTILEPOINTER=MOD12Q1.A2000289.h18v04.003.2002170222129.hdf
  INPUTTILEPOINTER=MOD11A1.1.A2000055.h18v04.hdf
  INPUTTILEPOINTER=MOD11B1.1.A2000055.h18v04.hdf
  INPUTTILEPOINTER=MOD11UPD.A2-1.1.update_for_lst.h18v04.hdf
  INPUTGRANULEPOINTER=MOD03.A2000055.1010.004.2002296011149.hdf
  INPUTGRANULEPOINTER=MOD021KM.A2000055.1010.004.2002296173139.hdf
  INPUTGRANULEPOINTER=MOD35_L2.A2000055.1010.004.2002297061857.hdf
  INPUTGRANULEPOINTER=MOD10_L2.A2000055.1010.004.2002354210009.hdf
  INPUTGRANULEPOINTER=MOD07_L2.A2000055.1010.004.2002297062000.hdf
  INPUTGRANULEPOINTER=MOD03.A2000055.1145.004.2002296011823.hdf
  INPUTGRANULEPOINTER=MOD021KM.A2000055.1145.004.2002296023327.hdf
  INPUTGRANULEPOINTER=MOD35_L2.A2000055.1145.004.2002296060357.hdf
  INPUTGRANULEPOINTER=MOD10_L2.A2000055.1145.004.2002354210217.hdf
  INPUTGRANULEPOINTER=MOD07_L2.A2000055.1145.004.2002296060509.hdf
  INPUTGRANULEPOINTER=MOD03.A2000055.1150.004.2002296012012.hdf
  INPUTGRANULEPOINTER=MOD021KM.A2000055.1150.004.2002296023356.hdf
  INPUTGRANULEPOINTER=MOD35_L2.A2000055.1150.004.2002296060336.hdf
  INPUTGRANULEPOINTER=MOD10_L2.A2000055.1150.004.2002354210217.hdf
  INPUTGRANULEPOINTER=MOD07_L2.A2000055.1150.004.2002296060449.hdf
  INPUTGRANULEPOINTER=MOD03.A2000055.2115.004.2002296073024.hdf
  INPUTGRANULEPOINTER=MOD021KM.A2000055.2115.004.2002296082726.hdf
  INPUTGRANULEPOINTER=MOD35_L2.A2000055.2115.004.2002296134515.hdf
  INPUTGRANULEPOINTER=MOD07_L2.A2000055.2115.004.2002296134700.hdf
  INPUTGRANULEPOINTER=MOD03.A2000055.2120.004.2002296073106.hdf
  INPUTGRANULEPOINTER=MOD021KM.A2000055.2120.004.2002296101156.hdf
  INPUTGRANULEPOINTER=MOD35_L2.A2000055.2120.004.2002296134111.hdf
  INPUTGRANULEPOINTER=MOD07_L2.A2000055.2120.004.2002296134234.hdf
  INPUTGRANULEPOINTER=MOD03.A2000055.2255.004.2002296095939.hdf
  INPUTGRANULEPOINTER=MOD021KM.A2000055.2255.004.2002296145019.hdf
  INPUTGRANULEPOINTER=MOD35_L2.A2000055.2255.004.2002296165000.hdf
  INPUTGRANULEPOINTER=MOD07_L2.A2000055.2255.004.2002296165152.hdf
  LOCALINPUTGRANULEID=1010,1145,1150,2115,2120,2255
  LOOKUPTABLETYPE=Land-cover based band emissivity database
  LOOKUPTABLEPOINTER=band_emis.h
  LOOKUPTABLETYPE=the generalized split-window LST coefficients
  LOOKUPTABLEPOINTER=lst_coef.h
  PROCESSINGCENTER=GSFC
  PROCESSINGDATETIME=2002-12-21T02:33:54.000Z
  NORTHBOUNDINGCOORDINATE=49.995833
  SOUTHBOUNDINGCOORDINATE=40.004167
  EASTBOUNDINGCOORDINATE=15.544281
  WESTBOUNDINGCOORDINATE=0.000000
  SPSOPARAMETERS=2484 and 3323
  PROCESSINGENVIRONMENT=IRIX64 mtvs2 6.5 07121149 IP35
  DESCRREVISION=4.0
Subdatasets:

SUBDATASET_1_NAME=HDF4_SDS:UNKNOWN:"MOD11A1.A2000055.h18v04.004.2002355023354.hdf":0
  SUBDATASET_1_DESC=[1200x1200] LST_Day_1km (16-bit unsigned integer)

SUBDATASET_2_NAME=HDF4_SDS:UNKNOWN:"MOD11A1.A2000055.h18v04.004.2002355023354.hdf":1
  SUBDATASET_2_DESC=[1200x1200] QC_Day (8-bit unsigned integer)

SUBDATASET_3_NAME=HDF4_SDS:UNKNOWN:"MOD11A1.A2000055.h18v04.004.2002355023354.hdf":2
  SUBDATASET_3_DESC=[1200x1200] Day_view_time (8-bit unsigned integer)

SUBDATASET_4_NAME=HDF4_SDS:UNKNOWN:"MOD11A1.A2000055.h18v04.004.2002355023354.hdf":3
  SUBDATASET_4_DESC=[1200x1200] Day_view_angl (8-bit unsigned integer)

SUBDATASET_5_NAME=HDF4_SDS:UNKNOWN:"MOD11A1.A2000055.h18v04.004.2002355023354.hdf":4
  SUBDATASET_5_DESC=[1200x1200] LST_Night_1km (16-bit unsigned integer)

SUBDATASET_6_NAME=HDF4_SDS:UNKNOWN:"MOD11A1.A2000055.h18v04.004.2002355023354.hdf":5
  SUBDATASET_6_DESC=[1200x1200] QC_Night (8-bit unsigned integer)

SUBDATASET_7_NAME=HDF4_SDS:UNKNOWN:"MOD11A1.A2000055.h18v04.004.2002355023354.hdf":6
  SUBDATASET_7_DESC=[1200x1200] Night_view_time (8-bit unsigned integer)

SUBDATASET_8_NAME=HDF4_SDS:UNKNOWN:"MOD11A1.A2000055.h18v04.004.2002355023354.hdf":7
  SUBDATASET_8_DESC=[1200x1200] Night_view_angl (8-bit unsigned integer)

SUBDATASET_9_NAME=HDF4_SDS:UNKNOWN:"MOD11A1.A2000055.h18v04.004.2002355023354.hdf":8
  SUBDATASET_9_DESC=[1200x1200] Emis_31 (8-bit unsigned integer)

SUBDATASET_10_NAME=HDF4_SDS:UNKNOWN:"MOD11A1.A2000055.h18v04.004.2002355023354.hdf":9
  SUBDATASET_10_DESC=[1200x1200] Emis_32 (8-bit unsigned integer)

SUBDATASET_11_NAME=HDF4_SDS:UNKNOWN:"MOD11A1.A2000055.h18v04.004.2002355023354.hdf":10
  SUBDATASET_11_DESC=[1200x1200] Clear_day_cov (16-bit unsigned integer)

SUBDATASET_12_NAME=HDF4_SDS:UNKNOWN:"MOD11A1.A2000055.h18v04.004.2002355023354.hdf":11
  SUBDATASET_12_DESC=[1200x1200] Clear_night_cov (16-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)

Do you have a suggestion for me?

[...]

Thanks,

 Markus



More information about the Gdal-dev mailing list