uafgeotools / waveform_collection

Collect seismic/infrasound waveforms and metadata from IRIS/WATC/AVO servers, local miniSEED files, etc.
https://uaf-waveform-collection.readthedocs.io/
MIT License
11 stars 6 forks source link

Add notification when element locations are all the same #13

Open jwbishop opened 4 years ago

jwbishop commented 4 years ago

For example, the element locations are all the same for the following data:

SOURCE = 'IRIS' NETWORK = 'AV' STATION = 'DLL' LOCATION = '' CHANNEL = ''

STARTTIME = UTCDateTime('2019-07-15T16:50:00') ENDTIME = STARTTIME + 10*60

It would be nice to know for beam forming when the user will need to import the element locations separately.

liamtoney commented 4 years ago

Huh, that's new behavior. Agreed that we should check for this, but this is also definitely an issue with our AVO metadata — each element should have its own coordinates. Output of an FDSN query for DLL

http://service.iris.edu/irisws/fedcatalog/1/query?net=AV&format=text&includeoverlaps=true&nodata=404&station=DLL

shows identical coordinates

#Network | Station | Location | Channel | Latitude | Longitude | Elevation | Depth | Azimuth | Dip | SensorDescription | Scale | ScaleFreq | ScaleUnits | SampleRate | StartTime | EndTime

#DATACENTER=IRISDMC,http://ds.iris.edu
AV|DLL|01|HDF|59.136028|-158.614243|57.1|0|0|0|50A,Chaparral at DLL H1,Infrasound|244566.0|1|PA|100|2010-10-12T00:00:00|2599-12-31T23:59:59
AV|DLL|02|HDF|59.136028|-158.614243|43.3|0|0|0|50A,Chaparral at DLL H2,Infrasound|244566.0|1|PA|100|2010-10-12T00:00:00|2599-12-31T23:59:59
AV|DLL|03|HDF|59.136028|-158.614243|53.8|0|0|0|50A,Chaparral at DLL H3,Infrasound|244566.0|1|PA|100|2010-10-12T00:00:00|2599-12-31T23:59:59
AV|DLL|04|HDF|59.136028|-158.614243|58.5|0|0|0|50A,Chaparral at DLL H4,Infrasound|244566.0|1|PA|100|2010-10-12T00:00:00|2599-12-31T23:59:59
AV|DLL|05|HDF|59.136028|-158.614243|68.7|0|0|0|50A,Chaparral at DLL H5,Infrasound|244566.0|1|PA|100|2010-10-12T00:00:00|2599-12-31T23:59:59
AV|DLL|06|HDF|59.136028|-158.614243|58.5|0|0|0|50A,Chaparral at DLL H6,Infrasound|244566.0|1|PA|100|2010-10-12T00:00:00|2599-12-31T23:59:59

...weird that the elevations are still different!

davidfee5 commented 4 years ago

This is related to location codes and how AVO vs others choose to use them. It's a long story so easiest to explain in person. In short "AVO" has decided it wants infrasound array elements to all have the same station name and differentiate the channels via location code. WATC disagrees as large IMS arrays may be separated by km and should have difference station names, and prefers location codes be reserved for collocated sites with the same station and channel designation. Bottom-line, waveform_collection needs to be able to use location codes and provide unique coordinates and elevations.

davidfee5 commented 4 years ago

Just a note here that the problem here is really that each location code has the same lat/lon. We're working on fixing these metadata at IRIS. My response above was somewhat incorrect and misleading!

liamtoney commented 4 years ago

DLL metadata now fixed on IRIS:

http://service.iris.edu/irisws/fedcatalog/1/query?net=AV&format=text&includeoverlaps=true&nodata=404&station=DLL

liamtoney commented 3 years ago

@jwbishop can we close this?