Skip to content

CCA with nan values #177

Open
Open
@jiwon-j

Description

@jiwon-j

Hello,
now i'm trying to conduct CCA with two datasets, SST(ERA5) and precipitation(GPCP).
i'm following this example(https://xeofs.readthedocs.io/en/latest/auto_examples/2multi/plot_cca.html),
However, I get an error saying that the array should not contain infs or NaNs.
I realize that the SST data used in the example code is a different ERSST than the one I used, but the SST data will naturally have a nan value for land, and that's what the result plot in the example shows.
Do I need to pre-process the nan values before CCA?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions