Bug #4580
TileSurvey w/o parallel
Start date:
08/26/2013
Due date:
% Done:
0%
Estimated time:
Description
************************** starting TileSurvey ************************** Loading common configuration... Loading command line configuration... Setting file mode creation mask to 0002... Parallelization mode: [] Setting up logging system... 26-08-2013 17:15 INFO PAUdm_init Log file in ./Figures/DESpec.log 26-08-2013 17:15 INFO PAUdm_init Setting up local despecdb SQLite database... 26-08-2013 17:15 INFO PAUdm_init Creating a local sqlte DB... 26-08-2013 17:15 INFO PAUdm_init ...DB successfully created. 26-08-2013 17:15 INFO PAUdm_init PAUdm initialization complete. Planning survey... plan mode in config! SELF Projection 1 is MOL ...done. Scheduling survey... Projection 1 is MOL ...done. Number of tiles:105 Setting Tile ID to each galaxy gal ra/dec min/max ... ra -42.784 -16.3221 ... dec -1.48403 6.38918 tile ra/dec min/max ... ra -42.6739818209 -17.7798515414 ... dec -5.702925 5.847075 Allocating galaxies to tiles ### ITILE 0 ### ITILE 1 ### ITILE 2 ### ITILE 3 ### ITILE 4 ### ITILE 5 ### ITILE 6 ### ITILE 7 ### ITILE 8 ### ITILE 9 ### ITILE 10 ### ITILE 11 ### ITILE 12 ### ITILE 13 ### ITILE 14 ### ITILE 15 ### ITILE 16 ### ITILE 17 ### ITILE 18 ### ITILE 19 ### ITILE 20 ### ITILE 21 ### ITILE 22 ### ITILE 23 ### ITILE 24 ### ITILE 25 ### ITILE 26 ### ITILE 27 ### ITILE 28 ### ITILE 29 ### ITILE 30 ### ITILE 31 ### ITILE 32 ### ITILE 33 ### ITILE 34 ### ITILE 35 ### ITILE 36 ### ITILE 37 ### ITILE 38 ### ITILE 39 ### ITILE 40 ### ITILE 41 ### ITILE 42 ### ITILE 43 ### ITILE 44 ### ITILE 45 ### ITILE 46 ### ITILE 47 ### ITILE 48 ### ITILE 49 ### ITILE 50 ### ITILE 51 ### ITILE 52 ### ITILE 53 ### ITILE 54 ### ITILE 55 ### ITILE 56 ### ITILE 57 --------------------------------------------------------------------------- IndexError Traceback (most recent call last) /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/utils/py3compat.pyc in execfile(fname, *where) 202 else: 203 filename = fname --> 204 __builtin__.execfile(filename, *where) /Users/ben/Documents/DESpec/repo/despec/02-TileSurvey/TileSurvey_Serrano/TileSurvey.py in <module>() 2737 # ===================================================== 2738 if __name__ == '__main__': -> 2739 main() 2740 2741 /Users/ben/Documents/DESpec/repo/despec/02-TileSurvey/TileSurvey_Serrano/TileSurvey.py in main() 2727 if Tile: 2728 print "Setting Tile ID to each galaxy" -> 2729 msd_survey_strategy.set_tile_number() 2730 2731 # save diagnostic information for spokes pipeline final report /Users/ben/Documents/DESpec/repo/despec/02-TileSurvey/TileSurvey_Serrano/TileSurvey.py in set_tile_number(self, comm) 1881 choose_plot_tile=choose_plot_tile, 1882 Ngal_overplot_tile=Ngal_overplot_tile, -> 1883 target_selection_flag=target_selection_flag) 1884 1885 /Users/ben/Documents/DESpec/repo/despec/02-TileSurvey/TileSurvey_Serrano/TileSurvey.py in allocateGalaxiesRing(galaxy_in_tile_ID, gals_ra_in, gals_dec_in, tiles, tiles2, tile_centers_ra, tile_centers_dec, hexagon_radius, choose_plot_tile, Ngal_overplot_tile, target_selection_flag) 2122 ra_inn = gals_ra_in[indices_inn]* numpy.cos(gals_dec_in[indices_inn] * math.pi/180.0), 2123 dec_inn = gals_dec_in[indices_inn], -> 2124 ra_btw = gals_ra_in[indices_btw]* numpy.cos(gals_dec_in[indices_btw] * math.pi/180.0), 2125 dec_btw = gals_dec_in[indices_btw], 2126 ra_sel = gals_ra_in[indices_sel]* numpy.cos(gals_dec_in[indices_sel] * math.pi/180.0), IndexError: arrays used as indices must be of integer (or boolean) type
History
#1 Updated by Ben Hambrecht over 7 years ago
option was parallelizing = []
#2 Updated by Ben Hambrecht over 7 years ago
the exact same error at the same tile occurs when using the option 'job'