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

Diagnostic parameters and minor changes #344

Merged
merged 11 commits into from
Mar 9, 2025
Merged

Diagnostic parameters and minor changes #344

merged 11 commits into from
Mar 9, 2025

Conversation

nichollsh
Copy link
Contributor

@nichollsh nichollsh commented Feb 28, 2025

I have noticed that -- for inflated atmospheres -- the radius of the escaping level can become a large fraction of the Hill radius. This indicates that these atmospheres are close to becoming unbound. It is worth tracking the Hill and Roche radii as diagnostic variables. Similarly, it would be useful to know the WTG parameter in order to estimate the potential for day-night heat redistribution. This PR implements these and closes #261.

The planet's axial period (day length) is now stored as a separate variable to the orbital period. At the moment we set them to be equal, but in the future this might not necessarily be the case. This change comes about because the WTG parameter depends on the axial period of the planet.

This PR also includes a few minor fixes to the plotting functions. In particular, it turns out that some of them were previously failing when executed via the CLI. I have also improved the readability of some of the plots.

@nichollsh nichollsh marked this pull request as ready for review March 9, 2025 11:23
@nichollsh nichollsh requested a review from timlichtenberg March 9, 2025 11:54
@nichollsh
Copy link
Contributor Author

Thank you!

@nichollsh nichollsh merged commit 2288fe6 into main Mar 9, 2025
5 checks passed
@nichollsh nichollsh deleted the hn/dev branch March 9, 2025 12:17
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.

Calculate and store WTG parameter, and other diagnostic variables
2 participants