-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Partial rewrite of reconstruct_grid `gplately.grids.reconstruct_grid` now uses `scipy.spatial.transform.Rotation` to perform rotations and `scipy.spatial.cKDTree` for nearest-neighbour interpolation after rotation. * Raster reconstruction tweaks Minor changes to raster reconstruction, including: * Add `inplace` argument to `Raster.reconstruct` * Allow matplotlib colour strings for `fill_value` * For 3D colour images, check values are within valid ranges * Add _parse_extent_origin function Extract `extent` and `origin` parameter handling for several functions and methods to a new `_parse_extent_origin` function. * Update raster documentation and notebook Update documentation for `Raster` and `reconstruct_grid`, and edit and re-run `06-Rasters.ipynb`. * Update Raster time when reconstructing in-place * Update raster tests Add `test_reverse_reconstruct` to check that reverse reconstruction is working well, and make sure that plate models other than Muller2019 are available. * Update Raster signatures Switch calls to `Raster` from `array` or `filename` to `data`. Also re-run affected notebooks.
- Loading branch information
Showing
13 changed files
with
850 additions
and
706 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
gplately.egg-info | ||
build | ||
__pycache__ | ||
.ipynb_checkpoints |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
reconstructed_etopo.nc | ||
GlobalAveragePlateVelocities.csv | ||
average_plate_velocity.pdf | ||
India_collision.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.