[Bug]: regrid2 converts time coordinates to int instead of preserving original datetime objects after annual cycle climatology #709
Labels
type: bug
Inconsistencies or issues which will cause an issue or problem for users or implementors.
Milestone
What happened?
When proceeding regrid2 after getting an annual cycle, somehow it loses the time coordinate data array (see below log print 4).
What did you expect to happen? Are there are possible answers you came across?
It does not happen when using xesmf regridder. time coordinate has to be preserved (see below log print 5).
Minimal Complete Verifiable Example (MVCE)
Relevant log output
Anything else we need to know?
I guess difference between regrid2 and xesmf output is in time array. From regrid 2, it is a data array with index numbers 0 to 11, but from xesmf, it is cftime object.
Environment
Error occurred with xcdat 0.7.1 and 0.7.2
The text was updated successfully, but these errors were encountered: