/home/rowe/Documents/python/NEOSSat/New_worksheets/neossat/improcess.py:483: RuntimeWarning: invalid value encountered in double_scalars
maxi += T1
/home/rowe/Documents/python/NEOSSat/New_worksheets/neossat/improcess.py:483: RuntimeWarning: invalid value encountered in double_scalars
maxi += T1
/usr/local/lib64/python3.7/site-packages/scipy/optimize/minpack.py:454: RuntimeWarning: Number of calls to function has reached maxfev = 600.
warnings.warn(errors[info][0], RuntimeWarning)
RemoteTraceback Traceback (most recent call last)
RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/lib64/python3.7/multiprocessing/pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "/home/rowe/Documents/python/NEOSSat/New_worksheets/neossat/improcess.py", line 662, in lightprocess_save
File "/home/rowe/Documents/python/NEOSSat/New_worksheets/neossat/improcess.py", line 614, in clean_sciimage
File "/home/rowe/Documents/python/NEOSSat/New_worksheets/neossat/improcess.py", line 246, in scale_image_zscale
scaled_data = seg_func(ans.x, data)
UnboundLocalError: local variable 'scaled_image' referenced before assignment
"""
The above exception was the direct cause of the following exception:
in
4 snrcut,fmax,xoff,yoff,T,bpix,),callback=barupdate)\
5 for i in range(len(lightlist))]
----> 6 saveall = [p.get() for p in results]
7 pool.close()
8 pool.join()
in (.0)
4 snrcut,fmax,xoff,yoff,T,bpix,),callback=barupdate)\
5 for i in range(len(lightlist))]
----> 6 saveall = [p.get() for p in results]
7 pool.close()
8 pool.join()
/usr/lib64/python3.7/multiprocessing/pool.py in get(self, timeout)
655 return self._value
656 else:
--> 657 raise self._value
658
659 def _set(self, i, obj):
UnboundLocalError: local variable 'scaled_image' referenced before assignment
/home/rowe/Documents/python/NEOSSat/New_worksheets/neossat/improcess.py:483: RuntimeWarning: invalid value encountered in double_scalars maxi += T1 /home/rowe/Documents/python/NEOSSat/New_worksheets/neossat/improcess.py:483: RuntimeWarning: invalid value encountered in double_scalars maxi += T1 /usr/local/lib64/python3.7/site-packages/scipy/optimize/minpack.py:454: RuntimeWarning: Number of calls to function has reached maxfev = 600. warnings.warn(errors[info][0], RuntimeWarning)
RemoteTraceback Traceback (most recent call last) RemoteTraceback: """ Traceback (most recent call last): File "/usr/lib64/python3.7/multiprocessing/pool.py", line 121, in worker result = (True, func(*args, **kwds)) File "/home/rowe/Documents/python/NEOSSat/New_worksheets/neossat/improcess.py", line 662, in lightprocess_save File "/home/rowe/Documents/python/NEOSSat/New_worksheets/neossat/improcess.py", line 614, in clean_sciimage File "/home/rowe/Documents/python/NEOSSat/New_worksheets/neossat/improcess.py", line 246, in scale_image_zscale scaled_data = seg_func(ans.x, data) UnboundLocalError: local variable 'scaled_image' referenced before assignment """
The above exception was the direct cause of the following exception:
UnboundLocalError Traceback (most recent call last)