|
34 | 34 | }, |
35 | 35 | { |
36 | 36 | "cell_type": "code", |
37 | | - "execution_count": 1, |
| 37 | + "execution_count": 6, |
38 | 38 | "metadata": {}, |
39 | 39 | "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 | | - }, |
84 | 40 | { |
85 | 41 | "name": "stdout", |
86 | 42 | "output_type": "stream", |
|
123 | 79 | }, |
124 | 80 | { |
125 | 81 | "cell_type": "code", |
126 | | - "execution_count": 2, |
| 82 | + "execution_count": 7, |
127 | 83 | "metadata": {}, |
128 | 84 | "outputs": [ |
129 | 85 | { |
|
150 | 106 | }, |
151 | 107 | { |
152 | 108 | "cell_type": "code", |
153 | | - "execution_count": 3, |
| 109 | + "execution_count": 8, |
154 | 110 | "metadata": {}, |
155 | 111 | "outputs": [ |
156 | 112 | { |
157 | 113 | "name": "stdout", |
158 | 114 | "output_type": "stream", |
159 | 115 | "text": [ |
160 | 116 | "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" |
162 | 118 | ] |
163 | 119 | } |
164 | 120 | ], |
|
172 | 128 | "cell_type": "markdown", |
173 | 129 | "metadata": {}, |
174 | 130 | "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" |
176 | 132 | ] |
177 | 133 | }, |
178 | 134 | { |
179 | 135 | "cell_type": "code", |
180 | | - "execution_count": 4, |
| 136 | + "execution_count": 9, |
181 | 137 | "metadata": {}, |
182 | 138 | "outputs": [ |
183 | 139 | { |
|
199 | 155 | "cell_type": "markdown", |
200 | 156 | "metadata": {}, |
201 | 157 | "source": [ |
202 | | - "### Example 4: more complex filtering of retrieved files with regex" |
| 158 | + "### Example 5: more complex filtering of retrieved files with regex" |
203 | 159 | ] |
204 | 160 | }, |
205 | 161 | { |
|
211 | 167 | }, |
212 | 168 | { |
213 | 169 | "cell_type": "code", |
214 | | - "execution_count": 5, |
| 170 | + "execution_count": 10, |
215 | 171 | "metadata": {}, |
216 | 172 | "outputs": [ |
217 | 173 | { |
218 | | - "name": "stderr", |
| 174 | + "name": "stdout", |
219 | 175 | "output_type": "stream", |
220 | 176 | "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" |
225 | 178 | ] |
226 | 179 | }, |
227 | 180 | { |
228 | | - "name": "stdout", |
| 181 | + "name": "stderr", |
229 | 182 | "output_type": "stream", |
230 | 183 | "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" |
233 | 188 | ] |
234 | 189 | } |
235 | 190 | ], |
|
0 commit comments