Skip to content

Commit

Permalink
added the new thing
Browse files Browse the repository at this point in the history
  • Loading branch information
lsawade committed Sep 24, 2024
1 parent 0359189 commit 1c15289
Show file tree
Hide file tree
Showing 5 changed files with 588 additions and 13 deletions.
6 changes: 4 additions & 2 deletions scripts/alaska_event_section_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
import obsplotlib.plot as opl

mpl.rcParams["font.family"] = "monospace"


# %%

cmtfile = """ PDEW2018 1 23 9 31 40.90 56.0000 -149.1700 14.1 0.0 7.9 GULF OF ALASKA
Expand All @@ -38,11 +40,11 @@
# Get data from database
if not os.path.exists("alaska.h5"):
gfc = GF3DClient(db="glad-m25")
gfc.get_subset("subset.h5", cmt.latitude, cmt.longitude, cmt.depth, radius_in_km=40)
gfc.get_subset("alaska.h5", cmt.latitude, cmt.longitude, cmt.depth, radius_in_km=40)

# %%

gfm = GFManager("subset.h5")
gfm = GFManager("alaska.h5")
gfm.load()
rp = gfm.get_seismograms(cmt)

Expand Down
Loading

0 comments on commit 1c15289

Please sign in to comment.