Bas,
We prototyped a native reader last autumn, and we came quite far. You
are welcome to test it using the msg_native branches in both mpop and
mipp. There is still some important functionality lacking, such as
slicing. I don't think you can yet load only a subsection of the
MSG-disk. You kind of need to read the full disk, as far as I remember.
Reading and making a quicklook goes as usual, and you can do either of
the two ways shown here:
from mpop.utils import debug_on
debug_on()
from datetime import datetime
from mpop.satellites import GeostationaryFactory
time_slot = datetime(2014, 7, 24, 9, 45)
glbd = GeostationaryFactory.create_scene("meteosat", "10", "seviri",
time_slot)
glbd.load([0.8, 1.6, 3.9, 10.8, 13.2])
img = glbd.image.green_snow()
img.show()
or
from mpop.utils import debug_on
debug_on()
from mpop.satellites import GeostationaryFactory
filename =
"/home/a000680/data/msg_native/MSG3-SEVI-MSG15-0100-NA-20140724095743.719000000Z-NA.nat"
glbd = GeostationaryFactory.create_scene("meteosat", "10", "seviri", None)
glbd.load([0.8, 1.6, 3.9, 10.8, 13.2], filename=filename)
img = glbd.image.green_snow()
img.show()
My meteosat10.cfg file looks like this:
[satellite]
satname = 'meteosat'
number = '10'
instruments = ('seviri',)
projection = 'geos(0.0)'
proj4_params = proj=geos lon_0=0.00 lat_0=0.00 a=6378169.00 b=6356583.80
h=35785831.00
[seviri-level1]
format = 'mipp/native/MSG'
filename = MSG3-SEVI-MSG15-0100-NA-%Y%m%d%H*.nat
dir = /home/a000680/data/msg_native
[seviri-level2]
format = 'mipp_msgnative.NativeReader'
...
I was trying to recall how the reprojection goes, but right now it
doesn't seem to work as it should, so something with the geolocation
needs to be fixed. But tell me once you have come as far as being able
to run the examples above!
-Adam
> --
> You received this message because you are subscribed to the Google
> Groups "pytroll" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
pytroll+u...@googlegroups.com
> <mailto:
pytroll+u...@googlegroups.com>.
> For more options, visit
https://groups.google.com/d/optout.
--
Adam Dybbroe,
Satellite Remote Sensing Scientist,
Numerical models and Remote Sensing,
Core Services, Swedish Meteorological and Hydrological Institute (SMHI)
www.pytroll.org
nwcsaf.smhi.se
www.smhi.se