Skip to content

Commit 57b885f

Browse files
committed
FIX: typo in notebook
1 parent a5705ed commit 57b885f

File tree

1 file changed

+15
-60
lines changed

1 file changed

+15
-60
lines changed

doc/source/notebooks/retrieve_meteoswiss_data_from_cscs.ipynb

Lines changed: 15 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -34,53 +34,9 @@
3434
},
3535
{
3636
"cell_type": "code",
37-
"execution_count": 1,
37+
"execution_count": 6,
3838
"metadata": {},
3939
"outputs": [
40-
{
41-
"name": "stderr",
42-
"output_type": "stream",
43-
"text": [
44-
"<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method is deprecated and slated for removal in Python 3.12; use exec_module() instead\n",
45-
"/users/wolfensb/pyrad/src/pyart/pyart/io/nexrad_level3.py:11: DeprecationWarning: 'xdrlib' is deprecated and slated for removal in Python 3.13\n",
46-
" from xdrlib import Unpacker\n"
47-
]
48-
},
49-
{
50-
"name": "stdout",
51-
"output_type": "stream",
52-
"text": [
53-
"\n",
54-
"## You are using the Python ARM Radar Toolkit (Py-ART), an open source\n",
55-
"## library for working with weather radar data. Py-ART is partly\n",
56-
"## supported by the U.S. Department of Energy as part of the Atmospheric\n",
57-
"## Radiation Measurement (ARM) Climate Research Facility, an Office of\n",
58-
"## Science user facility.\n",
59-
"##\n",
60-
"## If you use this software to prepare a publication, please cite:\n",
61-
"##\n",
62-
"## JJ Helmus and SM Collis, JORS 2016, doi: 10.5334/jors.119\n",
63-
"\n",
64-
"Welcome to PyDDA 2.0.0\n",
65-
"If you are using PyDDA in your publications, please cite:\n",
66-
"Jackson et al. (2020) Journal of Open Research Science\n",
67-
"Detecting Jax...\n",
68-
"Jax/JaxOpt are not installed on your system, unable to use Jax engine.\n",
69-
"Detecting TensorFlow...\n",
70-
"Unable to load both TensorFlow and tensorflow-probability. TensorFlow engine disabled.\n",
71-
"No module named 'tensorflow'\n"
72-
]
73-
},
74-
{
75-
"name": "stderr",
76-
"output_type": "stream",
77-
"text": [
78-
"/users/wolfensb/pyrad/src/pyrad_proc/pyrad/flow/flow_aux.py:54: UserWarning: Memory profiler not available\n",
79-
" warn(\"Memory profiler not available\")\n",
80-
"/users/wolfensb/pyrad/src/pyrad_proc/pyrad/flow/flow_control.py:56: UserWarning: dask not available: The processing will not be parallelized\n",
81-
" warn(\"dask not available: The processing will not be parallelized\")\n"
82-
]
83-
},
8440
{
8541
"name": "stdout",
8642
"output_type": "stream",
@@ -123,7 +79,7 @@
12379
},
12480
{
12581
"cell_type": "code",
126-
"execution_count": 2,
82+
"execution_count": 7,
12783
"metadata": {},
12884
"outputs": [
12985
{
@@ -150,15 +106,15 @@
150106
},
151107
{
152108
"cell_type": "code",
153-
"execution_count": 3,
109+
"execution_count": 8,
154110
"metadata": {},
155111
"outputs": [
156112
{
157113
"name": "stdout",
158114
"output_type": "stream",
159115
"text": [
160116
"5\n",
161-
"[np.str_('/scratch/wolfensb//RZC241311010VL.001'), np.str_('/scratch/wolfensb//RZC241311012VL.001'), np.str_('/scratch/wolfensb//RZC241311015VL.001'), np.str_('/scratch/wolfensb//RZC241311017VL.001')]\n"
117+
"[np.str_('/scratch/wolfensb//RZC241311010VL.001'), np.str_('/scratch/wolfensb//RZC241311012VL.001'), np.str_('/scratch/wolfensb//RZC241311015VL.001'), np.str_('/scratch/wolfensb//RZC241311017VL.001'), np.str_('/scratch/wolfensb//RZC241311020VL.001')]\n"
162118
]
163119
}
164120
],
@@ -172,12 +128,12 @@
172128
"cell_type": "markdown",
173129
"metadata": {},
174130
"source": [
175-
"### Example 3: getting a Cartesian product, CPC = radar-gauge QPE, but only at hourly accumulation"
131+
"### Example 4: getting a Cartesian product, CPC = radar-gauge QPE, but only at hourly accumulation"
176132
]
177133
},
178134
{
179135
"cell_type": "code",
180-
"execution_count": 4,
136+
"execution_count": 9,
181137
"metadata": {},
182138
"outputs": [
183139
{
@@ -199,7 +155,7 @@
199155
"cell_type": "markdown",
200156
"metadata": {},
201157
"source": [
202-
"### Example 4: more complex filtering of retrieved files with regex"
158+
"### Example 5: more complex filtering of retrieved files with regex"
203159
]
204160
},
205161
{
@@ -211,25 +167,24 @@
211167
},
212168
{
213169
"cell_type": "code",
214-
"execution_count": 5,
170+
"execution_count": 10,
215171
"metadata": {},
216172
"outputs": [
217173
{
218-
"name": "stderr",
174+
"name": "stdout",
219175
"output_type": "stream",
220176
"text": [
221-
"<>:4: SyntaxWarning: invalid escape sequence '\\.'\n",
222-
"<>:4: SyntaxWarning: invalid escape sequence '\\.'\n",
223-
"/tmp/ipykernel_136299/2246465886.py:4: SyntaxWarning: invalid escape sequence '\\.'\n",
224-
" files = retrieve_mch_prod('/scratch/wolfensb/',T0, T1, product_name='CPC', pattern='^(?!.*00005\\.801\\.gif$).*\\.gif$', pattern_type='regex')\n"
177+
"[np.str_('/scratch/wolfensb//CPC/CPC2413108100_00060.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108100_00180.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108100_00360.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108100_00720.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108100_01440.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108200_00060.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108200_00180.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108200_00360.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108200_00720.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108200_01440.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108300_00060.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108300_00180.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108300_00360.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108300_00720.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108300_01440.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108400_00060.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108400_00180.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108400_00360.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108400_00720.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108400_01440.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108500_00060.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108500_00180.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108500_00360.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108500_00720.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108500_01440.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109000_00060.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109000_00180.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109000_00360.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109000_00720.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109000_01440.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109001_02880.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109003_04320.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109100_00060.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109100_00180.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109100_00360.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109100_00720.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109100_01440.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109200_00060.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109200_00180.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109200_00360.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109200_00720.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109200_01440.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109300_00060.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109300_00180.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109300_00360.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109300_00720.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109300_01440.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109400_00060.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109400_00180.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109400_00360.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109400_00720.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109400_01440.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109500_00060.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109500_00180.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109500_00360.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109500_00720.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413109500_01440.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413110000_00060.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413110000_00180.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413110000_00360.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413110000_00720.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413110000_01440.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413110001_02880.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413110003_04320.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413110100_00060.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413110100_00180.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413110100_00360.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413110100_00720.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413110100_01440.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413110200_00060.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413110200_00180.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413110200_00360.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413110200_00720.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413110200_01440.801.gif')]\n"
225178
]
226179
},
227180
{
228-
"name": "stdout",
181+
"name": "stderr",
229182
"output_type": "stream",
230183
"text": [
231-
"74\n",
232-
"[np.str_('/scratch/wolfensb//CPC/CPC2413108100_00060.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108100_00180.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108100_00360.801.gif'), np.str_('/scratch/wolfensb//CPC/CPC2413108100_00720.801.gif')]\n"
184+
"<>:3: SyntaxWarning: invalid escape sequence '\\.'\n",
185+
"<>:3: SyntaxWarning: invalid escape sequence '\\.'\n",
186+
"/tmp/ipykernel_136299/2933435368.py:3: SyntaxWarning: invalid escape sequence '\\.'\n",
187+
" files = retrieve_mch_prod('/scratch/wolfensb/',T0, T1, product_name='CPC', pattern='^(?!.*00005\\.801\\.gif$).*\\.gif$', pattern_type='regex')\n"
233188
]
234189
}
235190
],

0 commit comments

Comments
 (0)