Skip to content

Commit a2b1582

Browse files
update plotModel3D data readin
1 parent b1f5633 commit a2b1582

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
userSettings.txt
22
Model
3+
model*
34

45
# Byte-compiled / optimized / DLL files
56
__pycache__/

docs/src/1_examples/3_3Dplots/plotModel3D.ipynb

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,21 @@
4949
},
5050
{
5151
"cell_type": "code",
52-
"execution_count": 9,
52+
"execution_count": 2,
5353
"id": "e435d46a",
5454
"metadata": {},
5555
"outputs": [],
5656
"source": [
5757
"prefix = 'wind'\n",
58-
"model = 'v10e00'\n",
58+
"model = 'model-v10e00'\n",
5959
"loc = str(model)\n",
6060
"dumpnumber = 584\n",
6161
"dump = os.path.join(loc, f\"{prefix}_{dumpnumber:05d}\")\n"
6262
]
6363
},
6464
{
6565
"cell_type": "code",
66-
"execution_count": 10,
66+
"execution_count": 3,
6767
"id": "9b26a061",
6868
"metadata": {},
6969
"outputs": [],
@@ -73,15 +73,14 @@
7373
},
7474
{
7575
"cell_type": "code",
76-
"execution_count": 12,
76+
"execution_count": 4,
7777
"id": "38f9fd84",
7878
"metadata": {},
7979
"outputs": [],
8080
"source": [
8181
"%%capture\n",
8282
"if not os.path.exists(dump):\n",
83-
" # !wget \"https://github.com/Ensor-code/phantom-models/raw/refs/heads/main/Esseldeurs+2023/BinaryHighLucy/wind_00600?download=\" --output-document $dump\n",
84-
" !wget 'https://raw.githubusercontent.com/Ensor-code/phantom-models/main/Malfait%2B2024a/v10e00/wind_v10e00' --output-document $dump\n",
83+
" !wget 'https://github.com/Ensor-code/phantom-models/raw/refs/heads/main/Malfait+2024a/v10e00/wind_v10e00?download=' --output-document $dump\n",
8584
"\n",
8685
"infile = os.path.join(loc, f\"{prefix}.in\")\n",
8786
"if not os.path.exists(infile):\n",
@@ -102,7 +101,7 @@
102101
},
103102
{
104103
"cell_type": "code",
105-
"execution_count": 15,
104+
"execution_count": 5,
106105
"metadata": {
107106
"tags": []
108107
},
@@ -130,15 +129,15 @@
130129
},
131130
{
132131
"cell_type": "code",
133-
"execution_count": 16,
132+
"execution_count": 6,
134133
"metadata": {
135134
"tags": []
136135
},
137136
"outputs": [
138137
{
139138
"data": {
140139
"application/vnd.jupyter.widget-view+json": {
141-
"model_id": "db898d1843744a2392822488892faddd",
140+
"model_id": "d81f379d746a4fe1b76a9b14353d67f1",
142141
"version_major": 2,
143142
"version_minor": 0
144143
},
@@ -152,7 +151,7 @@
152151
{
153152
"data": {
154153
"application/vnd.jupyter.widget-view+json": {
155-
"model_id": "6cd2ccfe9b9343d3b14999f9c786a113",
154+
"model_id": "b18d357c65694b5685bfe88b8e612eef",
156155
"version_major": 2,
157156
"version_minor": 0
158157
},
@@ -191,7 +190,7 @@
191190
{
192191
"data": {
193192
"application/vnd.jupyter.widget-view+json": {
194-
"model_id": "89281a157b65447c8fb82baad0742635",
193+
"model_id": "5b299444c0634c7d815ddc6224e9c405",
195194
"version_major": 2,
196195
"version_minor": 0
197196
},
@@ -205,7 +204,7 @@
205204
{
206205
"data": {
207206
"application/vnd.jupyter.widget-view+json": {
208-
"model_id": "16427dfb27b74d93ab6eb083f0f31474",
207+
"model_id": "f3b3234712d34195aaf7fcb8c95148b6",
209208
"version_major": 2,
210209
"version_minor": 0
211210
},
@@ -228,7 +227,7 @@
228227
],
229228
"metadata": {
230229
"kernelspec": {
231-
"display_name": "Python 3",
230+
"display_name": "plons",
232231
"language": "python",
233232
"name": "python3"
234233
},
@@ -242,7 +241,7 @@
242241
"name": "python",
243242
"nbconvert_exporter": "python",
244243
"pygments_lexer": "ipython3",
245-
"version": "3.10.13"
244+
"version": "3.10.14"
246245
}
247246
},
248247
"nbformat": 4,

0 commit comments

Comments
 (0)