Project

General

Profile

Bug #4578

TileSurvey

Added by Ben Hambrecht over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Urgent
Assignee:
Start date:
08/26/2013
Due date:
% Done:

0%

Estimated time:
Duration:

Description

************************** starting TileSurvey **************************

Loading common configuration...
Loading command line configuration...
Setting file mode creation mask to 0002...
Parallelization mode:  ['multiprocessing']
Setting up logging system...
26-08-2013 16:56  INFO     PAUdm_init      Log file in ./Figures/DESpec.log
26-08-2013 16:56  INFO     PAUdm_init      Setting up local despecdb SQLite database...
26-08-2013 16:56  INFO     PAUdm_init      Creating a local sqlte DB...
26-08-2013 16:56  INFO     PAUdm_init      ...DB successfully created.
26-08-2013 16:56  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
---------------------------------------------------------------------------
NameError                                 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)
   1865                                 gal_from = i * chunksize
   1866                                 gal_to = min(n_galaxies, gal_from + chunksize)
-> 1867                                 p = Process(target=allocateGalaxies, args=(gals_ra_in, gals_dec_in, ra_center, tiles, galaxy_in_tile_ID, gal_from, gal_to))
   1868                                 p.start()
   1869                                 proc.append(p)

NameError: global name 'ra_center' is not defined

History

#1 Updated by Ben Hambrecht over 6 years ago

option was parallelizing = ['multiprocessing']



Also available in: Atom PDF