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

AMIP doesn't allow dt_rad that is not in hours #1046

Closed
Sbozzolo opened this issue Oct 29, 2024 · 1 comment
Closed

AMIP doesn't allow dt_rad that is not in hours #1046

Sbozzolo opened this issue Oct 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Sbozzolo
Copy link
Member

Sbozzolo commented Oct 29, 2024

dt_water_albedo = parse(FT, filter(x -> !occursin(x, "hours"), dt_rad))

This line parses dt_rad assuming that it is in hours. Setting dt_rad = "180secs" lead to

ERROR: LoadError: ArgumentError: cannot parse "180ec" as Float32
@Sbozzolo Sbozzolo added the bug Something isn't working label Oct 29, 2024
@juliasloan25
Copy link
Member

closed by #1121

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants