Andreas Hilboll
unread,Aug 11, 2015, 7:31:36 AM8/11/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Iris
I'm working with MODIS data, which come in HDF-EOS2 format. I can read
these files using GDAL, and the projection information looks like this:
In [52]: ds.GetProjection()
Out[52]: 'PROJCS["unnamed",GEOGCS["Unknown datum based upon the custom
spheroid",DATUM["Not specified (based on custom
spheroid)",SPHEROID["Custom
spheroid",6371007.181,0]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]],PROJECTION["Sinusoidal"],PARAMETER["longitude_of_center",0],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["Meter",1]]'
In [53]: ds.GetGeoTransform()
Out[53]:
(5559752.598333, 926.625433055833, 0.0,
8895604.157333, 0.0, -926.6254330549995)
The meaning of the GDAL geotransform are as follows:
Xgeo = GT(0) + Xpixel*GT(1) + Yline*GT(2)
Ygeo = GT(3) + Xpixel*GT(4) + Yline*GT(5)
Can I represent this projection in Iris? iris.coord_systems doesn't
have a 'sinusoidal' member ...
Cheers,
Andreas.