Skip to content
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

adding variable density #110

Merged
merged 1 commit into from
Mar 29, 2024
Merged

adding variable density #110

merged 1 commit into from
Mar 29, 2024

Conversation

jzmejia
Copy link
Owner

@jzmejia jzmejia commented Mar 29, 2024

updating crevasse.py Crevasse.crevmorph() and .elastic_displacement() to accept density as a vector such that you can input a variable density with depth to these calculations.

Class method addition of Crevasse.paterson_empirical_relation() and class attributes .surface_density.
I just realized that this may be redundant because a function density_profile() already exists with the same equation at the beginning of crevasse.py (i.e., not a class method)

TODO water depth calculation needs to be updated for variable density, this requires reworking the equation itself, not a coding issue. Therefore, variable density is being applied to some equations but not all (I.e., water depth which is assuming ice density throughout).

@jzmejia jzmejia added the functionality improved functionality of core project label Mar 29, 2024
@jzmejia jzmejia self-assigned this Mar 29, 2024
@jzmejia jzmejia merged commit 445878a into main Mar 29, 2024
@jzmejia jzmejia deleted the driver branch March 29, 2024 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
functionality improved functionality of core project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant