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

Ice Dynamics #123

Merged
merged 14 commits into from
Jul 19, 2023
Merged

Ice Dynamics #123

merged 14 commits into from
Jul 19, 2023

Conversation

lukem12345
Copy link
Member

@lukem12345 lukem12345 commented Jul 12, 2023

This PR introduces an ice model based on Halfar's "On the Dynamics of Ice Sheets". (1981).

We also update the Budyko-Sellers model to demonstrate composition.

There is also a fix to type inference of summations in this PR.

Equation 2 from Halfar's "On the Dynamics of Ice Sheets". (1981).

image

Ice Dynamics Diagram Generated From Above Equation

ice_dynamics

Glacial Flow Auto-Generated From Above Diagram

Ice height is initialized as an upwards parabola centered at (0,0).
ice_dynamics

@lukem12345
Copy link
Member Author

Budyko-Sellers

Energy Balance

energy_balance

Absorbed Shortwave Radiation

absorbed_shortwave_radiation

Outgoing Longwave Radiation

outgoing_lonwave_radiation

Heat Transfer

heat_transfer

Insolation

insolation

Diagrams pre-Composition

diagrams_together

Composition Pattern

composition_pattern

Budyko-Sellers

budyko_sellers_composed

Dynamics given isothermal initial conditions

budyko_sellers

@codecov
Copy link

codecov bot commented Jul 12, 2023

Codecov Report

Patch coverage: 91.66% and project coverage change: +0.01 🎉

Comparison is base (4e8824c) 88.38% compared to head (50851f3) 88.40%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #123      +/-   ##
==========================================
+ Coverage   88.38%   88.40%   +0.01%     
==========================================
  Files           9        9              
  Lines         999     1009      +10     
==========================================
+ Hits          883      892       +9     
- Misses        116      117       +1     
Impacted Files Coverage Δ
src/simulation.jl 91.01% <83.33%> (-0.17%) ⬇️
src/decapodeacset.jl 96.53% <100.00%> (+0.08%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@lukem12345 lukem12345 requested a review from jpfairbanks July 13, 2023 15:27
@jpfairbanks jpfairbanks merged commit 6bc4665 into main Jul 19, 2023
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.

2 participants