-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Tutorial 4 - Geophysics (Seismology): Add JN #8
base: main
Are you sure you want to change the base?
Conversation
Hi @yvonnefroehlich |
Yep, I am sorry, I mean |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot, @jhtong33 , for getting started here 👍!
I made a few updates:
- I prefer to use the Scientific colour maps by F. Crameri, i.e., for topography, "oleron".
- I reduced the resolution of the image showing within the Jupyter notebook to keep the file size smaller.
- I figured out that list input is supported for the
center
andendpoint
parameters ofproject
. - Fix typo
grdproject
toproject
. - So minor code style improvements.
- I think we should be consistent and use either single (
'
) or double ("
) quotation marks; I prefer double quotation marks.
Great! Thanks for your updates. |
Hi @yvonnefroehlich |
Regarding plotting the seismicity as color- and size-coded circles: Actually, is more or less the same as I do already in part "1.3 Create a geographical map of the earthquakes" of tutorial 2 (please see https://github.com/GenericMappingTools/agu24workshop/blob/add-jn-pd-gpd/book/tut2_spec_pd_gpd.ipynb). Reading data in to a pandas.Dataframe and plotting it with color- and size-coding. Maybe we just provide the data and they should try to write the code on their own as an additional task? Some updates from my side
|
Oh! Great! I agree that they can write the code on their own. Perhaps we can write more details or provide the example figure with them. How do you think ? |
This PR adds the Jupyter notebook for Tutorial 4 - Geophysics (Seismology).
pygmt.xyz2grd
pygmt.Figure.grdcontour
pygmt.project
andpygmt.grdtrack
Feel free to fill the subsections with suggestions for code and docs🙂.
Preview:
Fixes: #6