nfsi-canada / OrientPy

Seismic station orientation tools
https://nfsi-canada.github.io/OrientPy/
44 stars 16 forks source link

Channel lists #16

Closed dylanmikesell closed 2 years ago

dylanmikesell commented 2 years ago

Thanks for making this package. I am trying to use it for first time. I have heterogeneous data: HH, BH, and CH. I am getting an error related to location code for the CH channels. Metadata on IRIS looks good. Is CH* excluded from possible options somewhere in your code? I can't figure out why else I get the error.

Example:

query_fdsn_stdb -N XP -C HH*,CH*,HDF --start="2020-03-31 00:00:00" --end="2022-01-01 00:00:00" XP.stat.list > stdb.query.log

Below is part of output to show the error I am getting. You can check BANN for example at IRIS. Seems okay in terms of the metadata. Any thoughts? I really need these CH* channels.

Search Complete: 
  22 stations in 1 networks

Network: XP
   Station: ATL
     Lon, Lat, Elev: -115.1266,  43.8015,   1.641
     Start Date: 2020-12-07 18:37:08
     End Date:   2021-05-28 18:50:27
     Status:     open
       Selected Channel: HH
         Locations:  00
         Start Date: 2020-12-07 18:41:59
         End Date:   2021-05-28 18:50:27
    Added as: XP.ATL

   Station: BANN
     Lon, Lat, Elev: -115.2346,  44.3033,   2.135
     Start Date: 2020-04-01 20:50:32
     End Date:   2021-05-19 00:37:25
     Status:     open
     Error: Location * not available. Skipping
   Station: BBR
     Lon, Lat, Elev: -116.1822,  43.6893,   1.063
     Start Date: 2020-04-01 02:51:56
     End Date:   2020-04-01 15:09:23
     Status:     open
     Error: Location * not available. Skipping
   Station: CREE
     Lon, Lat, Elev: -115.2111,  44.3575,   2.041
     Start Date: 2020-04-05 18:54:18
     End Date:   2020-05-30 21:31:59
     Status:     open
     Error: No Z component. Skipping
   Station: DDR
     Lon, Lat, Elev: -114.8281,  44.5886,   1.686
     Start Date: 2020-04-09 21:12:50
     End Date:   2020-10-26 18:54:04
     Status:     open
       Selected Channel: HH
         Locations:  --
         Start Date: 2020-04-09 21:13:30
         End Date:   2020-10-26 18:54:04
    Added as: XP.DDR

   Station: EPIC
     Lon, Lat, Elev: -115.1750,  44.3944,   2.000
     Start Date: 2020-04-01 23:30:34
     End Date:   2020-10-18 20:57:45
     Status:     open
     Error: Location * not available. Skipping
   Station: FOX
     Lon, Lat, Elev: -115.2781,  44.1661,   1.471
     Start Date: 2020-04-01 21:56:39
     End Date:   2021-05-19 01:21:18
     Status:     open
     Error: Location * not available. Skipping
   Station: IRON
     Lon, Lat, Elev: -114.9811,  44.2205,   1.928
     Start Date: 2020-04-02 03:14:01
     End Date:   2020-10-18 19:06:30
     Status:     open
     Error: Location * not available. Skipping
   Station: JAKE
     Lon, Lat, Elev: -115.0260,  44.2830,   2.000
     Start Date: 2020-04-13 03:15:13
     End Date:   2020-05-30 20:55:13
     Status:     open
     Error: No Z component. Skipping
   Station: LPR
     Lon, Lat, Elev: -115.9625,  43.5923,   0.944
     Start Date: 2020-04-01 04:18:00
     End Date:   2020-04-04 00:18:00
     Status:     open
     Error: Location * not available. Skipping
   Station: MFRD
     Lon, Lat, Elev: -115.2940,  44.4236,   1.935
     Start Date: 2020-04-05 19:08:24
     End Date:   2020-10-15 19:44:03
     Status:     open
     Error: Location * not available. Skipping
   Station: PARK
     Lon, Lat, Elev: -115.0190,  44.2748,   1.987
     Start Date: 2020-04-13 17:13:06
     End Date:   2020-06-13 00:41:00
     Status:     open
     Error: No Z component. Skipping
   Station: PETL
     Lon, Lat, Elev: -114.8699,  43.9866,   2.173
     Start Date: 2020-04-12 00:13:20
     End Date:   2020-10-28 19:08:30
     Status:     open
       Selected Channel: HH
         Locations:  --
         Start Date: 2020-04-12 00:14:06
         End Date:   2020-10-28 19:08:30
    Added as: XP.PETL

   Station: RDFL
     Lon, Lat, Elev: -114.9044,  44.1656,   1.987
     Start Date: 2020-04-11 22:50:00
     End Date:   2020-10-28 20:09:23
     Status:     open
       Selected Channel: HH
         Locations:  --
         Start Date: 2020-04-11 22:50:08
         End Date:   2020-10-28 20:09:23
    Added as: XP.RDFL
dylanmikesell commented 2 years ago

Sorry. I posted this comment in the wrong repo. It should be in StDb.