-
Notifications
You must be signed in to change notification settings - Fork 3
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
Footpoint depth when turning on optically thick radiation #171
Comments
|
Sorry for not responding to this for a bit! This could either be done at the template level or in the If the latter, this is just a matter of adding some sort of validation layer to the input dictionary itself and maybe warning if some value is already set that is not the expected value. |
I haven't spent any time yet on how to actually make these changes (incredibly busy the last few weeks), so I'm just noting where there might be issues. I don't have a strong preference, but I would suggest that the values should be updated automatically rather than warning the user, but fully understand if your preference is to simply warn the user. |
Noting where changes need to be made is very helpful! Thanks for providing those default values. That is good to know.
Sorry, my initial comment was vague. When I said warn the user, I meant that the user should be warned that the value is being updated automatically. That way, they are aware that values that they've put are being automatically overwritten. |
One counterargument to this is that we might want to allow for the user to override the defaults. I've been trying to help with some stellar flare modeling, for example, and we've had to modify the chromosphere pretty significantly. There's likely an intelligent way to do this . . . |
When
OPTICALLY_THICK_RADIATION
is turned on in HYDRAD, it expects a chromospheric depth of 2.26 Mm. If that number differs, there will likely be a discontinuity in the initial conditions solver. HYDRAD's GUI updates this value automatically, as should pydrad unless there's some future change to HYDRAD's functionality.That is, if we set
config['radiation']['optically_thick_chromosphere'] = True
, thenconfig['general']['footpoint_height']
needs to be set to2.26e8 * u.cm
for consistency.This should either be done automatically, or a warning given to the user that the mismatch may cause issues.
This is somewhat related to #33
The text was updated successfully, but these errors were encountered: