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

Open
Sbozzolo opened this issue Oct 29, 2024 · 0 comments
Open

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

Sbozzolo opened this issue Oct 29, 2024 · 0 comments
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
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

No branches or pull requests

1 participant