NCAR / icar

The Intermediate Complexity Atmospheric Research model (ICAR)
MIT License
72 stars 53 forks source link

Improve time handling #82

Closed gutmann closed 2 years ago

gutmann commented 3 years ago

Apparently, double precision is not enough to store time accurately. "easy" switch: modify the time object (and maybe the time delta object though that isn't as necessary) to use quad-precision internally, while maintaining the same external interface. Also, make sure rounding to the nearest second for output files works correctly.