*ec@sddlmZmZdadZdZdejfdYZdZ ej ej eeej ej e ej ej ddS( i(tImaget ImageFilecCs |adS(N(t_handler(thandler((s=/usr/lib64/python2.7/site-packages/PIL/GribStubImagePlugin.pytregister_handlerscCs!|dd!dko |ddkS(NiitGRIBis((tprefix((s=/usr/lib64/python2.7/site-packages/PIL/GribStubImagePlugin.pyt_acceptstGribStubImageFilecBs&eZdZdZdZdZRS(RcCs~|jj}t|jjds6tdn|jj|d|_d|_|j}|rz|j |ndS(NisNot a GRIB filetFi(ii( tfpttellRtreadt SyntaxErrortseektmodetsizet_loadtopen(tselftoffsettloader((s=/usr/lib64/python2.7/site-packages/PIL/GribStubImagePlugin.pyt_open$s   cCstS(N(R(R((s=/usr/lib64/python2.7/site-packages/PIL/GribStubImagePlugin.pyR5s(t__name__t __module__tformattformat_descriptionRR(((s=/usr/lib64/python2.7/site-packages/PIL/GribStubImagePlugin.pyRs cCsBtdkstdd r+tdntj|||dS(NRtsavesGRIB save handler not installed(RtNonethasattrtIOErrorR(timR tfilename((s=/usr/lib64/python2.7/site-packages/PIL/GribStubImagePlugin.pyt_save8ss.gribN(tPILRRRRRRt StubImageFileRR!t register_openRt register_savetregister_extension(((s=/usr/lib64/python2.7/site-packages/PIL/GribStubImagePlugin.pyt s