Merge branch 'develop' of ariadne.geophysik.ruhr-uni-bochum.de:/data/git/pylot into develop
This commit is contained in:
		
						commit
						c60c659608
					
				| @ -1 +0,0 @@ | |||||||
| f135-dirty |  | ||||||
| @ -875,21 +875,21 @@ def getQualitiesfromxml(xmlnames, ErrorsP, ErrorsS, plotflag=1): | |||||||
|         arrivals_copy = cat_copy.events[0].picks |         arrivals_copy = cat_copy.events[0].picks | ||||||
|         # Prefere manual picks if qualities are sufficient! |         # Prefere manual picks if qualities are sufficient! | ||||||
|         for Pick in arrivals: |         for Pick in arrivals: | ||||||
|             if Pick.method_id.id == 'manual': |             if (Pick.method_id.id).split('/')[1] == 'manual': | ||||||
|                 mstation = Pick.waveform_id.station_code |                 mstation = Pick.waveform_id.station_code | ||||||
|                 mstation_ext = mstation + '_' |                 mstation_ext = mstation + '_' | ||||||
|                 for mpick in arrivals_copy: |                 for mpick in arrivals_copy: | ||||||
|                     if mpick.phase_hint[0] == 'P': |                     if mpick.phase_hint[0] == 'P': | ||||||
|                         if ((mpick.waveform_id.station_code == mstation) or \ |                         if ((mpick.waveform_id.station_code == mstation) or \ | ||||||
|                            (mpick.waveform_id.station_code == mstation_ext)) and \ |                            (mpick.waveform_id.station_code == mstation_ext)) and \ | ||||||
|                            (mpick.method_id == 'auto') and \ |                            ((mpick.method_id).split('/')[1] == 'auto') and \ | ||||||
|                            (mpick.time_errors['uncertainty'] <= ErrorsP[3]): |                            (mpick.time_errors['uncertainty'] <= ErrorsP[3]): | ||||||
|                            del mpick |                            del mpick | ||||||
|                            break |                            break | ||||||
|                     elif mpick.phase_hint[0] == 'S': |                     elif mpick.phase_hint[0] == 'S': | ||||||
|                         if ((mpick.waveform_id.station_code == mstation) or \ |                         if ((mpick.waveform_id.station_code == mstation) or \ | ||||||
|                            (mpick.waveform_id.station_code == mstation_ext)) and \ |                            (mpick.waveform_id.station_code == mstation_ext)) and \ | ||||||
|                            (mpick.method_id == 'auto') and \ |                            ((mpick.method_id).split('/')[1] == 'auto') and \ | ||||||
|                            (mpick.time_errors['uncertainty'] <= ErrorsS[3]): |                            (mpick.time_errors['uncertainty'] <= ErrorsS[3]): | ||||||
|                            del mpick |                            del mpick | ||||||
|                            break |                            break | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user