gipit / gips

Geospatial Image Processing System
GNU General Public License v2.0
21 stars 13 forks source link

final0.8.0: extra `.cdl` in path #43

Closed ircwaves closed 9 years ago

ircwaves commented 9 years ago
(Pdb) p cls
<class 'gips.data.cdl.cdl.cdlRepository'>

Just checking if that .cdl is expected, or if I have things installed incorrectly for this final0.8.0 branch.

matthewhanson commented 9 years ago

Yes, as data sources are moved into directories, and the code is in a file also with that name, so:

data/cdl/cdl.py And in that is cdlRepository.

That being said, since init.py imports cdlRepository from cdl in that namespace (essentially one level up), then you can actually import data.cdl.cdlRepository, although the path in the class will show the complete path.

ircwaves commented 9 years ago

very good. just checking that I hadn't barfed the install.