Skip to content

comparer where does not filter raw_data #629

@otzi5300

Description

@otzi5300

cmp_2m = cmp.where(cmp.data['z']==-2).rename({cmp.name: "1m"})

cmp_2m.raw_model_results contains all z levels

d = self.data.where(cond, other=np.nan)
d = d.dropna(dim="time", how="all")
return Comparer.from_matched_data(d, self.raw_mod_data)

This is an issue if we want to plot timeseries for the comparer.

cmp_2m.plot.timeseries()

will plot all model depths

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions