Error in time conversion (function read_sea_and_sun)
I've got an error in the function read_sea_and_sun, when converting the time with df["time"] = df["time"].dt.tz_localize('UTC').astype(int) // 10 ** 9 The error was "Converting from datetime64[ns, UTC] to int32 is not supported. Do obj.astype('int64').astype(dtype) instead". Maybe it is due to the versions of my packages? I've replaced astype(int) by astype('int64') and it works now. I guess it is the same in the function read_rbr.