Changeset 307
- Timestamp:
- 12/16/09 11:48:53
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sodar/branches/raw2proc-dev/proc_scintec_maindata_sfas.py
r304 r307 53 53 data['error'] = n.array(n.ones((num_profiles, 54 54 num_altitudes), dtype = int) * n.nan) 55 profile_index = -1 56 for profile in main_data: 57 profile_index += 1 58 55 for (profile_index, profile) in enumerate(main_data): 59 56 dt = {'month' : profile.stop.month, 60 57 'day' : profile.stop.day, … … 71 68 data['time'][profile_index] = procutil.dt2es(dt) 72 69 73 observation_index = -1 74 for observation in profile: 75 observation_index += 1 76 70 for (observation_index, observation) in enumerate(profile): 77 71 radial = observation['speed'] 78 72 theta = observation['dir']