Problem with MPoP library

This is the place for queries that don't fit in any of the other categories.

Problem with MPoP library

Postby antytaon » Mon Aug 12, 2013 12:03 pm

Code: Select all
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

Traceback (most recent call last):
File "", line 9, 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/", 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/", line 357, in _set_reader
loader = getattr(loader, "load")
AttributeError: 'module' object has no attribute 'load'
File can be found here:
Rest can be found here but I don't think it's necessary
I am beginner in using Python, thanks in advance for any kind of help!
Posts: 1
Joined: Mon Aug 12, 2013 12:00 pm

Return to General Coding Help

Who is online

Users browsing this forum: No registered users and 3 guests