Closed xigrug closed 2 years ago
I have a dataset with station observation in csv file. Output is nothing cf.head()
from eofs.xarray import Eof ds = cf.to_xarray() solver = Eof(ds["ci"]) eof_ci = solver.eofsAsCorrelation(neofs=1)
here is eof_ci:
<xarray.DataArray 'eofs' (mode: 0, Lat: 154, Lon: 166)> array([], shape=(0, 154, 166), dtype=float64) Coordinates: mode (mode) float64 Lat (Lat) float64 2.85 2.86 2.97 3.02 3.03 ... 34.27 34.29 34.5 34.51 Lon (Lon) float64 11.75 11.81 11.91 11.98 ... 121.6 122.1 122.1 122.3 Attributes: long_name: correlation_between_pcs_and_ci
<xarray.DataArray 'eofs' (mode: 0, Lat: 154, Lon: 166)> array([], shape=(0, 154, 166), dtype=float64) Coordinates:
There isn't enough information here to act on. What is the shape of ds["ci"] and what coordinates does it have?
ds["ci"]
Closing as stale, feel free to reopen with more information if you still want to follow up.
I have a dataset with station observation in csv file. Output is nothing cf.head()
here is eof_ci: