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

add Milankovitch cycles #34

Merged
merged 1 commit into from
Jun 6, 2022
Merged

add Milankovitch cycles #34

merged 1 commit into from
Jun 6, 2022

Conversation

claresinger
Copy link
Member

@claresinger claresinger commented Jun 2, 2022

Closes #27 and closes #29

  • Add look up for orbital parameters from Laskar 2004 dataset.
  • Update dealing with dates to make Insolation work with Float32 values.
  • Add tests and documentation for the new Milankovitch cycles.
  • Specifically test that long-term variations in vernal equinox and perihelion date are correct.
  • Change mean anomaly to be calculated relative to epoch not to vernal equinox.
  • Remove Manifest files.

Docs preview here: https://clima.github.io/Insolation.jl/previews/PR34

@claresinger claresinger linked an issue Jun 2, 2022 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Jun 2, 2022

Codecov Report

Merging #34 (83a3c4b) into main (fdb0d45) will increase coverage by 1.28%.
The diff coverage is 100.00%.

❗ Current head 83a3c4b differs from pull request most recent head 03a1c81. Consider uploading reports for the commit 03a1c81 to get more accurate results

@@             Coverage Diff             @@
##             main       #34      +/-   ##
===========================================
+ Coverage   98.71%   100.00%   +1.28%     
===========================================
  Files           3         3              
  Lines          78        87       +9     
===========================================
+ Hits           77        87      +10     
+ Misses          1         0       -1     
Impacted Files Coverage Δ
src/Insolation.jl 100.00% <100.00%> (+50.00%) ⬆️
src/InsolationCalc.jl 100.00% <100.00%> (ø)
src/ZenithAngleCalc.jl 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fdb0d45...03a1c81. Read the comment docs.

@claresinger claresinger requested a review from tapios June 2, 2022 04:12
@claresinger
Copy link
Member Author

bors try

bors bot added a commit that referenced this pull request Jun 2, 2022
@bors
Copy link
Contributor

bors bot commented Jun 2, 2022

try

Build failed:

@claresinger
Copy link
Member Author

bors try

bors bot added a commit that referenced this pull request Jun 2, 2022
@bors
Copy link
Contributor

bors bot commented Jun 2, 2022

src/ZenithAngleCalc.jl Outdated Show resolved Hide resolved
@claresinger claresinger force-pushed the try_rebase branch 2 times, most recently from c10ef96 to a264ae3 Compare June 2, 2022 23:45
Copy link

@tapios tapios left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great to me! Thanks so much Clare. Some comments in the file. Also, the documentation landing page still is quite Earth-centric, while you made the rest more planet-agnostic. You might want to do the same on the landing page.

docs/src/InsolationExamples.md Show resolved Hide resolved
docs/src/InsolationExamples.md Show resolved Hide resolved
docs/src/Milankovitch.md Outdated Show resolved Hide resolved
docs/src/Milankovitch.md Outdated Show resolved Hide resolved
docs/src/Milankovitch.md Show resolved Hide resolved
src/ZenithAngleCalc.jl Outdated Show resolved Hide resolved
src/ZenithAngleCalc.jl Outdated Show resolved Hide resolved
src/ZenithAngleCalc.jl Outdated Show resolved Hide resolved
src/ZenithAngleCalc.jl Outdated Show resolved Hide resolved
test/test_insolation.jl Show resolved Hide resolved
…ealing with dates to make Insolation work with Float32 values. Add tests and documentation for the new Milankovitch cycles. Specifically test that long-term variations in vernal equinox and perihelion date are correct. Change mean anomaly to be calculated relative to epoch not to vernal equinox. Remove Manifest files. Update epoch from float to string->DateTime.
@claresinger
Copy link
Member Author

bors try

bors bot added a commit that referenced this pull request Jun 6, 2022
@claresinger
Copy link
Member Author

bors r+

@bors
Copy link
Contributor

bors bot commented Jun 6, 2022

@bors
Copy link
Contributor

bors bot commented Jun 6, 2022

@bors bors bot merged commit d260374 into main Jun 6, 2022
@bors bors bot deleted the try_rebase branch June 6, 2022 20:53
@simonbyrne simonbyrne mentioned this pull request Jun 3, 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
3 participants