python 2.7 - Joining many callisto images -
c1 = callistospectrogram.read('bir_20110922_101500_01.fit')
c2 = callistospectrogram.read('bir_20110922_103000_01.fit')
d = callistospectrogram.join_many([c1, c2])
if want join approximately 40 files this, throwing following error
valueerror: large gap.
is there limit in number?
this error internal error of sunpy package using. question not python package. need tag that.
but can see what's going on looking @ source, eg here. shows valueerror thrown when 2 adjacent spectra separated more maxgap
parameter defaults zero.
so 1 fix might pass in maxgap = none
d = callistospectrogram.join_many([c1, c2],maxgap = none)
that assumes don't mind gaps, of course.
Comments
Post a Comment