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

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -