Skip to content

Interpolate model time to layer age#37

Merged
mcflugen merged 3 commits intodevelopfrom
mcflugen/interpolate-time-when-plotting
Apr 9, 2022
Merged

Interpolate model time to layer age#37
mcflugen merged 3 commits intodevelopfrom
mcflugen/interpolate-time-when-plotting

Conversation

@mcflugen
Copy link
Copy Markdown
Collaborator

@mcflugen mcflugen commented Apr 9, 2022

This pull request fixes an issue when plotting Sequence output that contains layers that have been averaged.

The Sequence output file contains variables at every time step (e.g. the position of the shelf edge) as well as variables for every sediment layer (e.g. sediment porosity, layer thickness, age). When plotting stratigraphy it's important to match up shore line location (and shelf edge location) to the correct layer. If layers have not been combined, this is easy: the location of the shore line at time n corresponds to the nth layer. If layers have been averaged, however, we need to interpolate the shore line location time series to the ages of the combined layers.

@mcflugen mcflugen merged commit 69b44f4 into develop Apr 9, 2022
@mcflugen mcflugen deleted the mcflugen/interpolate-time-when-plotting branch April 9, 2022 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant