Hi Bertrand,
thank you for the suggestion. The reason I use negative RA is to cover
almost the whole sky in a single query; the only bit missing is the
10-degree strip in RA containing the bulge. Using
"rectangle(0,-40,360,90)" does not work because my machine chokes on the
bulge region with MemoryError (despite have 24GB of RAM...).
Since it is running fine with "rectangle(-50,-40,50,90)" I didn't think it could be a problem, but I will make more tests.
In case it can help, here is what appeared when I killed the query:
^C ERROR: KeyboardInterrupt [multiprocessing.queues]
Traceback (most recent call last):
File "densitymap.py", line 81, in <module>
for (patch, imin, jmin) in q.execute([(_coverage_mapper, dx, filter)],
File "/<PATH>/py-lib/lsd/join_ops.py", line 1522, in execute
for result in pool.map_reduce_chain(partspecs.items(), kernels, progress_callback=progress_callback):
File "/<PATH>/py-lib/lsd/pool2.py", line 590, in map_reduce_chain
for r in self.imap_unordered(input, K_fun, K_args, progress_callback=progress_callback, progress_callback_stage=stage):
File "/<PATH>/py-lib/lsd/pool2.py", line 389, in imap_unordered
(ident, what, data) = self.qout.get()
File "/usr/lib/python2.7/multiprocessing/queues.py", line 117, in get
res = self._recv()
KeyboardInterrupt
And lines 81-83 in my code are:
for (patch, imin, jmin) in q.execute([(_coverage_mapper, dx, filter)],
bounds=bounds):
sky[imin:imin+patch.shape[0], jmin:jmin+patch.shape[1]] += patch