python - Converting cftime.DatetimeJulian to datetime - Stack Overflow

PHOTO EMBED

Wed Mar 17 2021 04:20:21 GMT+0000 (UTC)

Saved by @diptish #python

#nor_xr is  dataarray (var) name
datetimeindex = nor_xr.indexes['time'].to_datetimeindex()

nor_xr['time'] = datetimeindex
content_copyCOPY

https://stackoverflow.com/questions/55786995/converting-cftime-datetimejulian-to-datetime