quintusdias / pyhdfeos

2 stars 6 forks source link

SwathFile class not picking up SDS attributes #53

Closed quintusdias closed 9 years ago

quintusdias commented 9 years ago
In [2]: file = '/opt/data/hdfeos/MYD03.A2002226.0000.005.2009193071127.hdf'

In [3]: from pyhdfeos import SwathFile

In [4]: swf = SwathFile(file)

In [10]: swf.swaths['MODIS_Swath_Type_GEO'].datafields['SolarZenith'].attrs                                                          
Out[10]: OrderedDict()