Hello!
I got problem with MPoP library.
Here is the code:
Code:
from mpop.satellites import GeostationaryFactory
from mpop.projector import get_area_def
import datetime
time_slot = datetime.datetime(2013, 03, 12, 15, 50)
global_data = GeostationaryFactory.create_scene("meteosat", "09", "seviri", time_slot)
europe = get_area_def("EuropeCanary")
global_data.load([0.6, 0.8, 10.8], area_extent=europe.area_extent)
print global_data
Error:
Traceback (most recent call last):
File "test.py", line 7, in <module>
global_data.load([0.6, 0.8, 10.8], area_extent=europe.area_extent)
File "/usr/local/lib/python2.7/dist-packages/mpop-v0.13.0-py2.7.egg/mpop/scene.py", line 470, in load
reader_instance = self._set_reader(reader_name)
File "/usr/local/lib/python2.7/dist-packages/mpop-v0.13.0-py2.7.egg/mpop/scene.py", line 357, in _set_reader
loader = getattr(loader, "load")
AttributeError: 'module' object has no attribute 'load'
scene.py:http://pastebin.com/tJBffRcS
other files (i dont think they are needed): https://github.com/mraspaud/mpop
I am beginner in Python. I dont even know if problem is on my side or the library is broken. Thanks in advance for any kind of help!