Database Reference
In-Depth Information
In the MODIS directory, there should be several files. One of these files has the
name srs.sql andcontainsthe INSERT statementneededfortheMODISSinus-
oidal projection. Run the INSERT statement.
> psql -d postgis_cookbook -f srs.sql
The main file has the extension HDF. Let's check the metadata of that HDF file.
> gdalinfo
MYD09A1.A2012161.h08v05.005.2012170065756.hdf
Whenrun, gdalinfo outputsalotofinformation.Wearelookingforthelistofsub-
datasets found in the Subdatasets section.
Subdatasets:
SUBDATASET_1_NAME=HDF4_EOS:EOS_GRID:"MYD09A1.A2012161.h08v05.005.2012170065756.hdf":MOD_Grid_500m_Surface_Reflectance:sur_refl_b01
SUBDATASET_1_DESC=[2400x2400] sur_refl_b01
MOD_Grid_500m_Surface_Reflectance (16-bit
integer)
SUBDATASET_2_NAME=HDF4_EOS:EOS_GRID:"MYD09A1.A2012161.h08v05.005.2012170065756.hdf":MOD_Grid_500m_Surface_Reflectance:sur_refl_b02
SUBDATASET_2_DESC=[2400x2400] sur_refl_b02
MOD_Grid_500m_Surface_Reflectance (16-bit
integer)
...
SUBDATASET_12_NAME=HDF4_EOS:EOS_GRID:"MYD09A1.A2012161.h08v05.005.2012170065756.hdf":MOD_Grid_500m_Surface_Reflectance:sur_refl_state_500m
SUBDATASET_12_DESC=[2400x2400]
sur_refl_state_500m
MOD_Grid_500m_Surface_Reflectance (16-bit
unsigned integer)
Search WWH ::




Custom Search