Skip to content

Commit 95ecbe8

Browse files
committed
exclude the notebooks (strange error)
1 parent 24127dd commit 95ecbe8

File tree

3 files changed

+129
-121
lines changed

3 files changed

+129
-121
lines changed

notebooks/xrlint-cli.ipynb

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
{
1313
"cell_type": "code",
14-
"execution_count": 4,
14+
"execution_count": 1,
1515
"metadata": {},
1616
"outputs": [
1717
{
@@ -22,15 +22,19 @@
2222
"\n",
2323
" Validate the given dataset FILES.\n",
2424
"\n",
25-
" Reads configuration from `./xrlint_config.*` if such file exists and unless\n",
26-
" `--no_config_lookup` is set or `--config` is provided. Then validates each\n",
27-
" dataset in FILES against the configuration. The default dataset patters are\n",
28-
" `**/*.zarr` and `**/.nc`. FILES may comprise also directories. If a\n",
29-
" directory is not matched by any file pattern, it will be traversed\n",
30-
" recursively. The validation result is dumped to standard output if not\n",
31-
" otherwise stated by `--output-file`. The output format is `simple` by\n",
32-
" default. Other inbuilt formats are `json` and `html` which you can specify\n",
33-
" using the `--format` option.\n",
25+
" Reads configuration from './xrlint_config.*' if such file exists and unless\n",
26+
" '--no_config_lookup' is set or '--config' is provided. It then validates\n",
27+
" each dataset in FILES against the configuration. The default dataset patters\n",
28+
" are '**/*.zarr' and '**/.nc'. FILES may comprise also directories or URLs.\n",
29+
" The supported URL protocols are the ones supported by xarray. Using remote\n",
30+
" protocols may require installing additional packages such as S3Fs\n",
31+
" (https://s3fs.readthedocs.io/) for the 's3' protocol.\n",
32+
"\n",
33+
" If a directory is provided that not matched by any file pattern, it will be\n",
34+
" traversed recursively. The validation result is dumped to standard output if\n",
35+
" not otherwise stated by '--output-file'. The output format is 'simple' by\n",
36+
" default. Other inbuilt formats are 'json' and 'html' which you can specify\n",
37+
" using the '--format' option.\n",
3438
"\n",
3539
"Options:\n",
3640
" --no-config-lookup Disable use of default configuration from\n",
@@ -59,7 +63,7 @@
5963
},
6064
{
6165
"cell_type": "code",
62-
"execution_count": 5,
66+
"execution_count": 2,
6367
"metadata": {},
6468
"outputs": [
6569
{
@@ -68,7 +72,7 @@
6872
"'C:\\\\Users\\\\norma\\\\Projects\\\\xrlint\\\\notebooks'"
6973
]
7074
},
71-
"execution_count": 5,
75+
"execution_count": 2,
7276
"metadata": {},
7377
"output_type": "execute_result"
7478
}
@@ -81,14 +85,14 @@
8185
},
8286
{
8387
"cell_type": "code",
84-
"execution_count": 6,
88+
"execution_count": 3,
8589
"metadata": {},
8690
"outputs": [
8791
{
88-
"name": "stderr",
92+
"name": "stdout",
8993
"output_type": "stream",
9094
"text": [
91-
"Error: file xrlint_config.yaml already exists.\n"
95+
"Configuration template written to xrlint_config.yaml\n"
9296
]
9397
}
9498
],
@@ -98,16 +102,16 @@
98102
},
99103
{
100104
"cell_type": "code",
101-
"execution_count": 7,
105+
"execution_count": 4,
102106
"metadata": {},
103107
"outputs": [
104108
{
105109
"data": {
106110
"text/plain": [
107-
"<xarray.backends.zarr.ZarrStore at 0x2b09f4c3010>"
111+
"<xarray.backends.zarr.ZarrStore at 0x14b37ccb400>"
108112
]
109113
},
110-
"execution_count": 7,
114+
"execution_count": 4,
111115
"metadata": {},
112116
"output_type": "execute_result"
113117
}
@@ -121,7 +125,7 @@
121125
},
122126
{
123127
"cell_type": "code",
124-
"execution_count": 8,
128+
"execution_count": 5,
125129
"metadata": {},
126130
"outputs": [
127131
{
@@ -147,7 +151,7 @@
147151
},
148152
{
149153
"cell_type": "code",
150-
"execution_count": 39,
154+
"execution_count": 6,
151155
"metadata": {},
152156
"outputs": [
153157
{
@@ -181,7 +185,7 @@
181185
},
182186
{
183187
"cell_type": "code",
184-
"execution_count": 9,
188+
"execution_count": 7,
185189
"metadata": {},
186190
"outputs": [
187191
{
@@ -191,7 +195,7 @@
191195
"{\n",
192196
" \"name\": \"<computed>\",\n",
193197
" \"plugins\": {\n",
194-
" \"__core__\": \"xrlint.plugins.core\"\n",
198+
" \"__core__\": \"xrlint.plugins.core:export_plugin\"\n",
195199
" },\n",
196200
" \"rules\": {\n",
197201
" \"coords-for-dims\": 2,\n",
@@ -232,7 +236,7 @@
232236
"name": "python",
233237
"nbconvert_exporter": "python",
234238
"pygments_lexer": "ipython3",
235-
"version": "3.11.11"
239+
"version": "3.13.1"
236240
}
237241
},
238242
"nbformat": 4,

0 commit comments

Comments
 (0)