-
Notifications
You must be signed in to change notification settings - Fork 39
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
Integrating GPlately for Plate Reconstruction and Feature Extraction #810
Conversation
|
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.
incomplete review. i will continue once you are done reorganizing the pr.
contrib/gplate/contrib/gplate/data/ridges_and_transforms.geojson
Outdated
Show resolved
Hide resolved
bb1c0e2
to
140c0f8
Compare
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.
Looks good already. In addition to my earlier comments here are a few more. And one question: You checked in the gplately2gwb.ipynb including the outputs of the notebook (in particular the figure). Was that on purpose? It makes the notebook larger and less clean in the repository.
@Minerallo Is this still WIP? Is this ready to be merged? |
@MFraters, I had made all the changes in the last commit "reply to review" 👍 |
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.
Ok, sound good. @gassmoeller thanks for doing the reviewing! I took a look a it and I would say that we get this merged in its current state and build from here.
@Minerallo Can you make a separate issue which contains the checklist with the Ongoing Work section in it? That way we have one place to keep track of this.
Hi everyone,
I initially planned to use the GPlates Web Services OpenAPI, as discussed in issue #787. However, I realized that an alternative and potentially more efficient approach would be to leverage GPlately(https://github.com/GPlates/gplately), which already provides a wide range of features such as trenches, ridges, transform faults, continents, cratons, and many more accessible using a python script. GPlately also offers the capability to perform remote plate reconstructions and extract associated geological features seamlessly into geojson format.
Usage instructions for Gplate2gwb.ipynb
The script runs GPlately to import selected geological features based on a specified plate reconstruction model and geological time (Figure 1). Then we generates multiple GeoJSON files, each corresponding to a specific geological feature. Currently, the script supports the extraction of continents and ridges_and_transform_faults, with plans to include additional features such as trenches, passive margins, cratons etc.
I plan to adapt the script so the user can also decide to import its own local plate reconstruction model as it is currently possible using Geojson2json.py for continental plate.
Geojson2json.py is for now really simple and will probably be combine to Gplate2gwb, it converts GeoJSON files to the World Builder-compatible JSON format.
Using the Gplates GUI the users can locally extract features in geojson format (currently it only support continental plate geometry, and make it directly readable by the Geodynamic World Builder.
Usage Instructions for Geojson2json.py
Load a plate reconstruction in GPlates or define your own continental plates.
Export the data to GeoJSON format using the specified parameters (figure 2).
Once the GeoJSON files are generated, run the conversion script using the command:
figure 1

figure 2
