-
Notifications
You must be signed in to change notification settings - Fork 63
Description
hello,
i found that the result from eofs.xarray show the different result depending on the xarray version.
I'm curious what has been updated to produce different results.
the versions i compared are,
type 1)
Python 3.9.16
xarray 2022.11.0
eofs 1.4.0
type 2)
Python 3.10.13
xarray 2025.4.0
eofs 1.4.0
The version of the eofs library hasn't changed, so I wondered if it was an issue with the xarray version, but I've confirmed that there is no difference as far as loading the data goes.
Is it possible that the results will vary depending on the Python version?
Here's the situation in detail.
I ran EOF on 100 ensemble members of CESM2:
Regardless of which variables I use, the first time step (1850) produces all negative values.
This is happening on version type 1.
When I checked PC1, it outputs the same values, but only the sign is all negative.
If i proceed in type 2 with all conditions and code identical, the problem does not occur.
type 1 results)



type 2 results)


