The error message "float() argument must be a string or a number, not cftime.cftime.DatetimeGregorian" means that the code is trying to convert a value of type cftime.cftime.DatetimeGregorian into a float, which is not possible. The float() function can only convert values that are strings or numbers.
Asked: 2021-05-02 11:00:00 +0000
Seen: 9 times
Last updated: Jan 19 '23