-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support integer time #145
Comments
ProblemClimaAtmos uses the same floating point type for time as for the spatial discretization. As a result, due to floating point errors, time can become inaccurate and even stop incrementing (especially with Float32). Consider the expression Requirements
Proposed solutionHere we propose
When a number is needed, call When a date is needed, calling Operations with
|
There should be documentation for how long a simulation can run for without overloading for Int32 and Int64 and whether the period is in hours, seconds, or milliseconds. For example, this can be problematic if the period is 1 millisecond and the type of the counter is Int32 in which the simulation can only be ran for approximately 24 days. Additionally, there should also be tests that validate that none of the functions like Similarly, the |
Draft. This is in progress
Tasks
The text was updated successfully, but these errors were encountered: