-
Notifications
You must be signed in to change notification settings - Fork 29
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
Sphinx manual user manual basic starter tutorial #489
Sphinx manual user manual basic starter tutorial #489
Conversation
5e20ef6
to
96f167f
Compare
|
Codecov Report
@@ Coverage Diff @@
## main #489 +/- ##
==========================================
+ Coverage 90.76% 91.86% +1.09%
==========================================
Files 91 91
Lines 6446 6441 -5
==========================================
+ Hits 5851 5917 +66
+ Misses 595 524 -71
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
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.
Reviewed through it through 13_subducting_slab_adding_a_segement.md
doc/sphinx/user_manual/basic_starter_tutorial/02_your_first_input_file.md
Show resolved
Hide resolved
doc/sphinx/user_manual/basic_starter_tutorial/03_optional_coordinate_system.md
Outdated
Show resolved
Hide resolved
doc/sphinx/user_manual/basic_starter_tutorial/03_optional_coordinate_system.md
Outdated
Show resolved
Hide resolved
doc/sphinx/user_manual/basic_starter_tutorial/04_adding_first_tectonic_feature.md
Outdated
Show resolved
Hide resolved
doc/sphinx/user_manual/basic_starter_tutorial/04_adding_first_tectonic_feature.md
Outdated
Show resolved
Hide resolved
doc/sphinx/user_manual/basic_starter_tutorial/12_subducting_plate_temperatures.md
Outdated
Show resolved
Hide resolved
doc/sphinx/user_manual/basic_starter_tutorial/12_subducting_plate_temperatures.md
Outdated
Show resolved
Hide resolved
doc/sphinx/user_manual/basic_starter_tutorial/13_subducting_slab_adding_a_segment.md
Outdated
Show resolved
Hide resolved
doc/sphinx/user_manual/basic_starter_tutorial/13_subducting_slab_adding_a_segment.md
Outdated
Show resolved
Hide resolved
doc/sphinx/user_manual/basic_starter_tutorial/13_subducting_slab_adding_a_segment.md
Outdated
Show resolved
Hide resolved
doc/sphinx/user_manual/basic_starter_tutorial/02_your_first_input_file.md
Show resolved
Hide resolved
Different models in segments | ||
============================ | ||
|
||
Slabs and faults can be heterogeneous in depth, and this is very easy to represent in the world builder. The segments we just added allow for defining temperature and compositional models, which overwrite the temperature and compositional models for the whole feature. You can think of it this way: you set the default models for each segment in the feature (line 54 and 55) and then you overwrite that default model in the segments where you want something else. |
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.
I think using the word default here is a little confusing since earlier you use the word default to talk about defaults built into GWB itself, not as something you set. Maybe "you set the general models that apply to all the segments in the feature (line 54 and 55), and then you overwrite that general model in the segments where you want to use something else."
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.
I see what you mean, but I don't really like the term general models. I will think about how to reword this.
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.
Yeah I agree general isn't great either. I was having a hard time finding the right word for this since general didn't feel correct either. I'm not sure if "overall" or "broad", "universal" is better?
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.
what about "feature" model? Since it is the the (temperature/composition) model of the feature which is actually set as the "default" which you can overwrite.
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.
Yeah I think that makes sense!
doc/sphinx/user_manual/basic_starter_tutorial/14_different_models_in_segments.md
Outdated
Show resolved
Hide resolved
doc/sphinx/user_manual/basic_starter_tutorial/15_different_segments_in_sections.md
Outdated
Show resolved
Hide resolved
doc/sphinx/user_manual/basic_starter_tutorial/15_different_segments_in_sections.md
Outdated
Show resolved
Hide resolved
doc/sphinx/user_manual/basic_starter_tutorial/15_different_segments_in_sections.md
Outdated
Show resolved
Hide resolved
doc/sphinx/user_manual/basic_starter_tutorial/15_different_segments_in_sections.md
Outdated
Show resolved
Hide resolved
2D models | ||
========= | ||
|
||
2D models in the world builder are nothing more than a cross section through a 3D model. This means that you need to do to be able to create a 2D model is to state in the world builder file the origin of the cross section (where x=0) and in what direction the cross section should go (the positive y direction). You can set this with the global parameter `cross section`. It takes two points. The first point is the origin, and the second point is the direction of the cross section. |
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.
2D models in the world builder are nothing more than a cross section through a 3D model. This means that you need to do to be able to create a 2D model is to state in the world builder file the origin of the cross section (where x=0) and in what direction the cross section should go (the positive y direction). You can set this with the global parameter `cross section`. It takes two points. The first point is the origin, and the second point is the direction of the cross section. | |
2D models in the world builder are nothing more than a cross section through a 3D model. This means that what you need to do to be able to create a 2D model is to state in the world builder file the origin of the cross section (where x=0) and in what direction the cross section should go (the positive y direction). You can set this with the global parameter `cross section`. It takes two points. The first point is the origin, and the second point is the direction of the cross section. |
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.
I think this could be clearer if either you label the coordinates on your figure to show the cross section coordinates or if you had values in parentheses to your text description. I remember a figure Magali made one time showing the 3D model, and then the cross section line through the 3D model that the 2D model was being made for. This could be helpful for visualizing too what points the cross section is being pulled from. Since you already have the 3D model figures made I imagine this might be a fairly quick edit of just adding a line across the 3D model domain showing where this 2D profile comes from and adding that figure to this page? I am confused here how the first point is supposed to be the origin, but it is listed as 0, 200e3 in the file.
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.
I agree, I don't know if I have time to do that before the release though.
|
||
To make this change two changes need to be made: | ||
|
||
1. The coordinate system should be set to spherical and a depth method need to be set. |
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.
1. The coordinate system should be set to spherical and a depth method need to be set. | |
1. The coordinate system should be set to spherical and a depth method needs to be set. |
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 for the through review, it is really appreciated!
2D models | ||
========= | ||
|
||
2D models in the world builder are nothing more than a cross section through a 3D model. This means that you need to do to be able to create a 2D model is to state in the world builder file the origin of the cross section (where x=0) and in what direction the cross section should go (the positive y direction). You can set this with the global parameter `cross section`. It takes two points. The first point is the origin, and the second point is the direction of the cross section. |
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.
I agree, I don't know if I have time to do that before the release though.
doc/sphinx/user_manual/basic_starter_tutorial/15_different_segments_in_sections.md
Outdated
Show resolved
Hide resolved
doc/sphinx/user_manual/basic_starter_tutorial/02_your_first_input_file.md
Show resolved
Hide resolved
doc/sphinx/user_manual/basic_starter_tutorial/07_subducting_plate_oceanic_part.md
Show resolved
Hide resolved
doc/sphinx/user_manual/basic_starter_tutorial/12_subducting_plate_temperatures.md
Outdated
Show resolved
Hide resolved
Different models in segments | ||
============================ | ||
|
||
Slabs and faults can be heterogeneous in depth, and this is very easy to represent in the world builder. The segments we just added allow for defining temperature and compositional models, which overwrite the temperature and compositional models for the whole feature. You can think of it this way: you set the default models for each segment in the feature (line 54 and 55) and then you overwrite that default model in the segments where you want something else. |
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.
I see what you mean, but I don't really like the term general models. I will think about how to reword this.
ed6206b
to
a50f04a
Compare
Co-authored-by: Rebecca Fildes <[email protected]>
a50f04a
to
5175f9d
Compare
This pull request add a starter tutorial to the new manual. This is the last new major addition before the next release of the world builder.
The new manual is not complete in the sense that there are many more section I would like to add, but it is already a lot better and more up to date that the pdf manual, so after this is it ready to replace that and start the process of incrementally improving and extending it.
I also found that the 2D chunk is not working well, so I disabled it for now.