Skip to content

Commit

Permalink
fix time_standard bug in index_mseed_file
Browse files Browse the repository at this point in the history
Should resolve an issue I just posted
  • Loading branch information
pavlis authored and wangyinz committed Jan 18, 2024
1 parent cedfaf0 commit 86ae612
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/mspasspy/db/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -5709,6 +5709,8 @@ def index_mseed_file(
doc["format"] = "mseed"
doc["dir"] = odir
doc["dfile"] = dfile
# mseed is dogmatically UTC so we always set it this way
doc["time_standard"] = "UTC"
thisid = dbh.insert_one(doc).inserted_id
ids_affected.append(thisid)
if normalize_channel:
Expand Down

0 comments on commit 86ae612

Please sign in to comment.