skill_grid.SkillGridArray
skill_grid.SkillGridArray(data)A SkillGridArray is a single metric-SkillGrid, corresponding to a “column” in a SkillGrid
Typically created by indexing a SkillGrid object, e.g. ss["bias"].
Examples
>>> gs = cc.gridded_skill()
>>> gs["bias"].plot()Attributes
| Name | Description |
|---|---|
| coords | Coordinates (same as xr.DataSet.coords) |
| mod_names | List of model names |
| obs_names | List of observation names |
| x | x-coordinate values |
| y | y-coordinate values |
Methods
| Name | Description |
|---|---|
| plot | wrapper for xArray DataArray plot function |
plot
skill_grid.SkillGridArray.plot(**kwargs)wrapper for xArray DataArray plot function
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| **kwargs | Any | keyword arguments passed to xr.DataArray plot() e.g. figsize | {} |
Examples
>>> gs = cc.gridded_skill()
>>> gs["bias"].plot()
>>> gs.sel(model='SW_1').rmse.plot()
>>> gs.r2.plot(cmap='YlOrRd', figsize=(10,10))