You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+36-52Lines changed: 36 additions & 52 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,73 +13,57 @@ For demonstration purposes, this repository contains three Python packages, but
13
13
14
14
## Example usage
15
15
16
-
There is an example script, [`demo.py`](demo.py), that demonstrates how to use the `fix` function to fix a dataset. The script can be run with the following command:
16
+
There is an example script, [`demo_fix.py`](demo_fix.py), that demonstrates how to use the `fix` function to fix a dataset. The script can be run with the following command:
17
17
18
18
```bash
19
-
uv run --extra dev demo.py
19
+
uv run --extra dev demo_fix.py
20
20
```
21
21
22
-
Below is an example using Ipython:
22
+
Additionally, there is a script, [`demo_scan.py`](demo_scan.py), that demonstrates how to scan a dataset for problems and generate a fixer configuration. The script can be run with the following command:
23
+
24
+
```bash
25
+
uv run --extra dev demo_scan.py
26
+
```
27
+
28
+
Below is an example of using the `fix` function in Ipython:
23
29
24
30
```python
25
-
In [1]: import xarray as xr
31
+
In [1]: from fixer import fix
26
32
27
-
In [2]: fromfixerimportfix
33
+
In [2]: fromfixer_cmip7.tests.test_fixesimportcreate_test_dataset
0 commit comments