Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added xarray dataset accessor to record axis validation #136

Merged
merged 12 commits into from
Jan 16, 2023
Merged
Prev Previous commit
Next Next commit
Updating docs
  • Loading branch information
davidorme committed Dec 20, 2022
commit b5f0fd21f4906def55b46d166e066a340117c4f4
6 changes: 3 additions & 3 deletions docs/source/virtual_rainforest/core/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ loaded_temp = data["temperature"]
print(loaded_temp)
```

The returned data array has a `core_axes` property, which can be used to check that data
has been validated on a particular core axis:
You can check whether a particular variable has been validated on a given core axis
using the {meth}`~virtual_rainforest.core.data.Data.on_core_axis` method:

```{code-cell} ipython3
loaded_temp.core_axes('spatial')
data.on_core_axis("temperature", "spatial")
```