-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_eulerdrift_norkyst.html
More file actions
626 lines (600 loc) · 43.5 KB
/
example_eulerdrift_norkyst.html
File metadata and controls
626 lines (600 loc) · 43.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
<!DOCTYPE html>
<html class="writer-html5" lang="en" data-content_root="../">
<head>
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Euler simulation / Finite difference of blob with the Norkyst nordic ocean model — OpenDrift documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b86133f3" />
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=9edc463e" />
<link rel="stylesheet" type="text/css" href="../_static/graphviz.css?v=4ae1632d" />
<link rel="stylesheet" type="text/css" href="../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery.css?v=d2d258e8" />
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery-binder.css?v=f4aeca0c" />
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery-dataframe.css?v=2082cf3c" />
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery-rendered-html.css?v=1277b6f3" />
<link rel="stylesheet" type="text/css" href="../_static/theme_overrides.css" />
<script src="../_static/jquery.js?v=5d32c60e"></script>
<script src="../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../_static/documentation_options.js?v=5929fcd5"></script>
<script src="../_static/doctools.js?v=fd6eb6e6"></script>
<script src="../_static/sphinx_highlight.js?v=6ffebe34"></script>
<script src="../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Double gyre, advection" href="example_double_gyre_advection_schemes.html" />
<link rel="prev" title="Vietnam" href="example_long_vietnam.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="../index.html" class="icon icon-home">
OpenDrift
<img src="../_static/opendrift_logo.png" class="logo" alt="Logo"/>
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul>
<li class="toctree-l1"><a class="reference internal" href="../index.html">Introduction to OpenDrift</a></li>
</ul>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../history_link.html">History</a></li>
<li class="toctree-l1"><a class="reference internal" href="../install.html">Installing OpenDrift</a></li>
<li class="toctree-l1"><a class="reference internal" href="../performance.html">Performance in OpenDrift</a></li>
<li class="toctree-l1"><a class="reference internal" href="../tutorial.html">Tutorial</a></li>
<li class="toctree-l1"><a class="reference internal" href="../theory/index.html">Theory</a></li>
<li class="toctree-l1"><a class="reference internal" href="../theory/index.html#drift-in-the-ocean">Drift in the Ocean</a></li>
<li class="toctree-l1"><a class="reference internal" href="../choosing_a_model.html">How to choose which model to use</a></li>
<li class="toctree-l1"><a class="reference internal" href="../writing_a_new_model.html">How to write a new module</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="index.html">Gallery</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="example_plot.html">Example plot (for front page)</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_eulerdrift_gauss_blob.html">Euler simulation / Finite differnce of Gaussian blob</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_parameterized_stokesdrift.html">Parameterised Stokesdrift</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_constant_current.html">Constant current</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_seed_from_shapefile.html">Seeding from shapefile</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_long_cmems.html">Copernicus Marine Client (CMEMS)</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_roms_native.html">ROMS native reader</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_depth.html">Drift at different depths</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_2d.html">2D simulation profile</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_grib_cf.html">Making GRIB dataset CF-compatible</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_long_global_thredds.html">Thredds (global)</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_larvae.html">Fish Eggs and Larvae</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_double_gyre.html">Double gyre</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_ensemble.html">Ensemble</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_static_2d_current.html">Static 2D current field</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_dominating.html">Show dominating source</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_lake.html">Caspian / lake</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_windblow.html">Wind blow model</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_advection_schemes_eddy.html">Advection schemes</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_thredds_resources.html">Thredds resources for GUI</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_long_shyfem.html">SHYFEM: Using model input from unstructured grid</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_grid.html">Grid</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_fjord.html">Fjord</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_shipdrift.html">Ship drift</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_long_vietnam.html">Vietnam</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">Euler simulation / Finite difference of blob with the Norkyst nordic ocean model</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_double_gyre_advection_schemes.html">Double gyre, advection</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_reader_boundary.html">Reader boundary</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_map.html">Plotting map</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_LCS_norkyst.html">LCS Norkyst</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_oil_ice.html">Oil in ice</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_custom_xarray.html">Customising Xarray Dataset</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_diffusivities.html">Vertical diffusivity</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_double_gyre_LCS.html">Double gyre - Lagrangian Coherent Structures</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_grid_time.html">Grid time</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_rungekutta_norkyst.html">Runge-Kutta scheme on Norkyst model</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_satellite.html">Satellite</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_oil_entrainment_rate.html">Oil entrainment rate</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_drifter.html">Drifter</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_cone.html">Cone seeding</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_coastline.html">No stranding</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_checkerboard.html">Checkerboard</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_openberg.html">Icebergs (openberg)</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_double_gyre_LCS_particles.html">Double gyre - LCS with particles</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_openoil_sample_output.html">Openoil sample output netCDF file</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_shape_landmask.html">Use a shapefile as landmask</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_fvcom.html">FVCOM: Using model input from unstructured grid</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_shipdrift_leeway.html">Comparing Leeway and ShipDrift model</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_water_column_stretching.html">Water column stretching</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_plast.html">Plastic</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_long_selafin.html">Use Telemac (selafin) output</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_oil_verticalmixing.html">Oil vertical mixing</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_openoil.html">Openoil</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_backandforth.html">Back and forth</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_huge_output.html">Analysing huge output files</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_sediments.html">Sediment drift from Glomma river outlet</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_model_landmask.html">Model landmask</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_multi_seed.html">Multi seed</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_codegg.html">Cod egg</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_oilspill_seafloor.html">Seafloor oil spill</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_compare.html">Compare</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_oil_budget_noaa.html">Oil budget (NOAA)</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_seafloor_interaction.html">Seafloor interaction</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_manual_aggregate.html">Manual aggregate</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_macondo.html">Macondo</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_stokesdrift_profiles.html">Stokes drift vertical profiles</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_relative.html">Relative and absolute wind</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_vertical_mixing.html">Vertical mixing</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_sediments_resuspension.html">Sediment drift with resuspension</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_convolve_input.html">Convolve input</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_reader_operators.html">Combining readers using operators</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_mixed_layer_depth.html">Mixing down to Mixed Layer Depth</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_trajan.html">Trajan demo</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_generic.html">Generic example</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_oil_budget.html">Oil budget</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_schism_native.html">SCHISM native reader</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_biodegradation.html">Biodegradation of oil</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_leeway.html">Leeway</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_seed_geojson.html">Seeding from GeoJSON string</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_element_dependent_environment.html">Element dependent environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_long_cmems_currents.html">CMEMS current components</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_leeway_capsizing.html">Leeway capsizing</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_coastline_options.html">Coastline interaction</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_coastline_options.html#coastline-option-stranding">Coastline option “stranding”</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_coastline_options.html#coastline-option-stranding-with-higher-precision">Coastline option “stranding” with higher precision</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_coastline_options.html#coastline-option-previous">Coastline option “previous”</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_coastline_options.html#coastline-option-none">Coastline option “none”</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_current_from_drifter.html">Current from drifter</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_oilspill_seafloor_biodegradation.html">Biodegradation of oil at depth</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_horizontal_diffusion.html">Horizontal diffusion</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_vertical_velocity_correction.html">Vertical advection correction</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_long_multiprocessing.html">Multiprocessing - Parallel execution of multiple OpenDrift instances in distinct CPUs</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_entrainment_rate_oil_types.html">Entrainment rate for light and heavy oils</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_compare_oilbudgets.html">Comparing oil budgets</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_chemicaldrift.html">ChemicalDrift - Transport and fate of organic compounds</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_long_leeway_backtrack.html">Leeway backtracking</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_wind_drift_coefficient_from_trajectory.html">Retrieving wind drift factor from trajectory</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_wind_drift_coefficient_from_trajectory.html#alternative-method-using-skillscore">Alternative method, using skillscore</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_long_radionuclides.html">Radionuclides</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_oil_thickness.html">Oil film thickness</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_seed_demonstration.html">Seed demonstration</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_droplet_distribution_compareJohansen2015.html">Droplet distribution</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_river_runoff.html">River runoff</a></li>
<li class="toctree-l2"><a class="reference internal" href="example_wind_measurements.html">Using wind measurements</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../oil_types.html">Oil types</a></li>
<li class="toctree-l1"><a class="reference internal" href="../interaction_with_coastline.html">Interaction with coastline</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docker.html">Using OpenDrift in a container</a></li>
<li class="toctree-l1"><a class="reference internal" href="../gui.html">Graphical User Interface</a></li>
<li class="toctree-l1"><a class="reference internal" href="../references.html">Publications</a></li>
<li class="toctree-l1"><a class="reference internal" href="../services.html">Services using OpenDrift</a></li>
<li class="toctree-l1"><a class="reference internal" href="../autoapi/index.html">API Reference</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../index.html">OpenDrift</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="../index.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item"><a href="index.html">Gallery</a></li>
<li class="breadcrumb-item active">Euler simulation / Finite difference of blob with the Norkyst nordic ocean model</li>
<li class="wy-breadcrumbs-aside">
<a href="../_sources/gallery/example_eulerdrift_norkyst.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<div class="sphx-glr-download-link-note admonition note">
<p class="admonition-title">Note</p>
<p><a class="reference internal" href="#sphx-glr-download-gallery-example-eulerdrift-norkyst-py"><span class="std std-ref">Go to the end</span></a>
to download the full example code.</p>
</div>
<section class="sphx-glr-example-title" id="euler-simulation-finite-difference-of-blob-with-the-norkyst-nordic-ocean-model">
<span id="sphx-glr-gallery-example-eulerdrift-norkyst-py"></span><h1>Euler simulation / Finite difference of blob with the Norkyst nordic ocean model<a class="headerlink" href="#euler-simulation-finite-difference-of-blob-with-the-norkyst-nordic-ocean-model" title="Link to this heading"></a></h1>
<div class="highlight-Python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span><span class="w"> </span><span class="nn">logging</span>
<span class="kn">import</span><span class="w"> </span><span class="nn">opendrift</span>
<span class="kn">import</span><span class="w"> </span><span class="nn">matplotlib.pyplot</span><span class="w"> </span><span class="k">as</span><span class="w"> </span><span class="nn">plt</span>
<span class="kn">from</span><span class="w"> </span><span class="nn">opendrift</span><span class="w"> </span><span class="kn">import</span> <span class="n">test_data_folder</span> <span class="k">as</span> <span class="n">tdf</span>
<span class="kn">from</span><span class="w"> </span><span class="nn">opendrift.readers</span><span class="w"> </span><span class="kn">import</span> <span class="n">reader_netCDF_CF_generic</span>
<span class="kn">from</span><span class="w"> </span><span class="nn">opendrift.models.basemodel</span><span class="w"> </span><span class="kn">import</span> <span class="n">OpenDriftSimulation</span>
<span class="kn">from</span><span class="w"> </span><span class="nn">opendrift.models</span><span class="w"> </span><span class="kn">import</span> <span class="n">eulerdrift</span>
<span class="n">reader_norkyst</span> <span class="o">=</span> <span class="n">reader_netCDF_CF_generic</span><span class="o">.</span><span class="n">Reader</span><span class="p">(</span><span class="s1">'https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be'</span><span class="p">)</span>
<span class="c1"># reader_norkyst = reader_netCDF_CF_generic.Reader(tdf + '16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc')</span>
<span class="n">lon0</span><span class="p">,</span> <span class="n">lat0</span> <span class="o">=</span> <span class="n">reader_norkyst</span><span class="o">.</span><span class="n">xy2lonlat</span><span class="p">(</span><span class="n">reader_norkyst</span><span class="o">.</span><span class="n">xmin</span><span class="p">,</span> <span class="n">reader_norkyst</span><span class="o">.</span><span class="n">ymin</span><span class="p">)</span>
<span class="n">s</span> <span class="o">=</span> <span class="n">eulerdrift</span><span class="o">.</span><span class="n">ExplSimulation</span><span class="o">.</span><span class="n">new</span><span class="p">(</span><span class="mf">5.21</span><span class="p">,</span> <span class="mf">60.19</span><span class="p">,</span> <span class="mf">10.</span><span class="p">,</span> <span class="n">shape</span> <span class="o">=</span> <span class="p">(</span><span class="mi">400</span><span class="p">,</span> <span class="mi">400</span><span class="p">))</span>
<span class="n">s</span><span class="o">.</span><span class="n">t0</span> <span class="o">=</span> <span class="n">reader_norkyst</span><span class="o">.</span><span class="n">start_time</span>
<span class="n">s</span><span class="o">.</span><span class="n">readers</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">eulerdrift</span><span class="o">.</span><span class="n">OpendriftReader</span><span class="p">(</span><span class="n">reader_norkyst</span><span class="p">))</span>
<span class="nb">print</span><span class="p">(</span><span class="n">s</span><span class="o">.</span><span class="n">U</span><span class="p">(</span><span class="mf">0.0</span><span class="p">))</span>
<span class="n">loc</span><span class="p">,</span> <span class="n">lac</span> <span class="o">=</span> <span class="n">s</span><span class="o">.</span><span class="n">grid</span><span class="o">.</span><span class="n">center</span><span class="p">()</span>
<span class="n">s</span><span class="o">.</span><span class="n">source_gaussian_blob</span><span class="p">(</span><span class="n">loc</span><span class="p">,</span> <span class="n">lac</span><span class="p">,</span> <span class="mf">1.</span><span class="p">,</span> <span class="mi">100</span><span class="p">,</span> <span class="mf">50.</span><span class="p">)</span>
</pre></div>
</div>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>(array([[-1.95447047e-01, -1.95448249e-01, -1.95448583e-01, ...,
-4.53318882e-02, -4.51644768e-02, -4.49995319e-02],
[-1.94710313e-01, -1.94710968e-01, -1.94710737e-01, ...,
-4.45433912e-02, -4.43775818e-02, -4.42142390e-02],
[-1.93974471e-01, -1.93974555e-01, -1.93973752e-01, ...,
-4.37524237e-02, -4.35882147e-02, -4.34264788e-02],
...,
[ 2.46089731e-04, 6.83979108e-04, 1.12372364e-03, ...,
-2.05292778e-02, -2.04752359e-02, -2.04110893e-02],
[ 1.13142125e-04, 5.52235755e-04, 9.93191172e-04, ...,
-2.05163450e-02, -2.04557455e-02, -2.03850421e-02],
[-2.16602855e-05, 4.18637633e-04, 8.60811048e-04, ...,
-2.05135155e-02, -2.04463593e-02, -2.03691001e-02]],
shape=(400, 400)), array([[ 0.26752731, 0.26841351, 0.26929874, ..., 0.07380956,
0.07277117, 0.07173331],
[ 0.26755185, 0.26843743, 0.26932202, ..., 0.07348091,
0.07244287, 0.07140535],
[ 0.26757737, 0.26846232, 0.26934627, ..., 0.07315173,
0.07211403, 0.07107686],
...,
[ 0.15240616, 0.1529898 , 0.15360465, ..., -0.01075797,
-0.01125228, -0.01172412],
[ 0.15074592, 0.15134983, 0.15198495, ..., -0.01091112,
-0.01139084, -0.01184811],
[ 0.14905447, 0.14967865, 0.15033405, ..., -0.01108672,
-0.01155187, -0.01199456]], shape=(400, 400)))
</pre></div>
</div>
<p>Plot the initial conditions</p>
<div class="highlight-Python notranslate"><div class="highlight"><pre><span></span><span class="n">s</span><span class="o">.</span><span class="n">grid</span><span class="o">.</span><span class="n">plot</span><span class="p">()</span>
<span class="n">plt</span><span class="o">.</span><span class="n">show</span><span class="p">()</span>
</pre></div>
</div>
<img src="../_images/sphx_glr_example_eulerdrift_norkyst_001.png" srcset="../_images/sphx_glr_example_eulerdrift_norkyst_001.png" alt="example eulerdrift norkyst" class = "sphx-glr-single-img"/><p>Integrate</p>
<div class="highlight-Python notranslate"><div class="highlight"><pre><span></span><span class="n">s</span><span class="o">.</span><span class="n">integrate</span><span class="p">(</span><span class="n">dt</span> <span class="o">=</span> <span class="mf">20.</span><span class="p">,</span> <span class="n">max_steps</span><span class="o">=</span><span class="mi">300</span><span class="p">)</span>
</pre></div>
</div>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>dx too big, dx = 10.0 > h = 0.5253715646905013
dx too big, dx = 10.0 > h = 0.5253232080323348
dx too big, dx = 10.0 > h = 0.5252748491912042
dx too big, dx = 10.0 > h = 0.5252264881738334
dx too big, dx = 10.0 > h = 0.5251781249869425
dx too big, dx = 10.0 > h = 0.525129759637248
dx too big, dx = 10.0 > h = 0.5250813921314629
dx too big, dx = 10.0 > h = 0.5250330224762956
dx too big, dx = 10.0 > h = 0.5249846506784517
dx too big, dx = 10.0 > h = 0.5249362767446326
dx too big, dx = 10.0 > h = 0.524887900681536
dx too big, dx = 10.0 > h = 0.5248395224958554
dx too big, dx = 10.0 > h = 0.5247911421942817
dx too big, dx = 10.0 > h = 0.5247427597835008
dx too big, dx = 10.0 > h = 0.5246943752701957
dx too big, dx = 10.0 > h = 0.5246459886610451
dx too big, dx = 10.0 > h = 0.5245975999627243
dx too big, dx = 10.0 > h = 0.5245492091819044
dx too big, dx = 10.0 > h = 0.5245008163252536
dx too big, dx = 10.0 > h = 0.5244524213994354
dx too big, dx = 10.0 > h = 0.5244040244111101
dx too big, dx = 10.0 > h = 0.5243556253669339
dx too big, dx = 10.0 > h = 0.5243072242735599
dx too big, dx = 10.0 > h = 0.5242588211376367
dx too big, dx = 10.0 > h = 0.5242104159658094
dx too big, dx = 10.0 > h = 0.5241620087647194
dx too big, dx = 10.0 > h = 0.5241135995410043
dx too big, dx = 10.0 > h = 0.5240651883012982
dx too big, dx = 10.0 > h = 0.5240167750522311
dx too big, dx = 10.0 > h = 0.5239683598004291
dx too big, dx = 10.0 > h = 0.5239199425525154
dx too big, dx = 10.0 > h = 0.5238715233151083
dx too big, dx = 10.0 > h = 0.5238231020948231
dx too big, dx = 10.0 > h = 0.5237746788982713
dx too big, dx = 10.0 > h = 0.5237262537320603
dx too big, dx = 10.0 > h = 0.523677826602794
dx too big, dx = 10.0 > h = 0.5236293975170727
dx too big, dx = 10.0 > h = 0.5235809664814924
dx too big, dx = 10.0 > h = 0.5235325335026458
dx too big, dx = 10.0 > h = 0.5234840985871221
dx too big, dx = 10.0 > h = 0.5234356617415059
dx too big, dx = 10.0 > h = 0.5233872229723785
dx too big, dx = 10.0 > h = 0.5233387822863179
dx too big, dx = 10.0 > h = 0.5232903396898976
dx too big, dx = 10.0 > h = 0.5232418951896877
dx too big, dx = 10.0 > h = 0.5231934487922546
dx too big, dx = 10.0 > h = 0.5231450005041608
dx too big, dx = 10.0 > h = 0.523096550331965
dx too big, dx = 10.0 > h = 0.5230480982822225
dx too big, dx = 10.0 > h = 0.5229996443614844
dx too big, dx = 10.0 > h = 0.5229511885762984
dx too big, dx = 10.0 > h = 0.5229027309332079
dx too big, dx = 10.0 > h = 0.5228542714387536
dx too big, dx = 10.0 > h = 0.5228058100994714
dx too big, dx = 10.0 > h = 0.5227573469218936
dx too big, dx = 10.0 > h = 0.5227088819125493
dx too big, dx = 10.0 > h = 0.5226604150779635
dx too big, dx = 10.0 > h = 0.5226119464246574
dx too big, dx = 10.0 > h = 0.5225634759591485
dx too big, dx = 10.0 > h = 0.5225150036879506
dx too big, dx = 10.0 > h = 0.5224665296175739
dx too big, dx = 10.0 > h = 0.5224180537545243
dx too big, dx = 10.0 > h = 0.5223695761053045
dx too big, dx = 10.0 > h = 0.5223210966764135
dx too big, dx = 10.0 > h = 0.5222726154743459
dx too big, dx = 10.0 > h = 0.5222241325055932
dx too big, dx = 10.0 > h = 0.5221756477766427
dx too big, dx = 10.0 > h = 0.5221271612939782
dx too big, dx = 10.0 > h = 0.5220786730640801
dx too big, dx = 10.0 > h = 0.522030183093424
dx too big, dx = 10.0 > h = 0.5219816913884827
dx too big, dx = 10.0 > h = 0.521933197955725
dx too big, dx = 10.0 > h = 0.5218847028016159
dx too big, dx = 10.0 > h = 0.5218362059326168
dx too big, dx = 10.0 > h = 0.5217877073551848
dx too big, dx = 10.0 > h = 0.5217392070757737
dx too big, dx = 10.0 > h = 0.5216907051008336
dx too big, dx = 10.0 > h = 0.521642201436811
dx too big, dx = 10.0 > h = 0.5215936960901478
dx too big, dx = 10.0 > h = 0.5215451890672833
dx too big, dx = 10.0 > h = 0.5214966803746521
dx too big, dx = 10.0 > h = 0.5214481700186857
dx too big, dx = 10.0 > h = 0.5213996580058113
dx too big, dx = 10.0 > h = 0.5213511443424531
dx too big, dx = 10.0 > h = 0.5213026290350304
dx too big, dx = 10.0 > h = 0.5212541120899602
dx too big, dx = 10.0 > h = 0.5212055935136545
dx too big, dx = 10.0 > h = 0.5211570733125219
dx too big, dx = 10.0 > h = 0.521108551492968
dx too big, dx = 10.0 > h = 0.5210600280613935
dx too big, dx = 10.0 > h = 0.5210115030241961
dx too big, dx = 10.0 > h = 0.5209629763877694
dx too big, dx = 10.0 > h = 0.5209144481585037
dx too big, dx = 10.0 > h = 0.520865918342785
dx too big, dx = 10.0 > h = 0.5208173869469958
dx too big, dx = 10.0 > h = 0.5207688539775148
dx too big, dx = 10.0 > h = 0.5207203194407172
dx too big, dx = 10.0 > h = 0.520671783342974
dx too big, dx = 10.0 > h = 0.5206232456906531
dx too big, dx = 10.0 > h = 0.5205747064901178
dx too big, dx = 10.0 > h = 0.5205261657477285
dx too big, dx = 10.0 > h = 0.5204776234698412
dx too big, dx = 10.0 > h = 0.5204290796628085
dx too big, dx = 10.0 > h = 0.5203805343329791
dx too big, dx = 10.0 > h = 0.5203319874866983
dx too big, dx = 10.0 > h = 0.5202834391303068
dx too big, dx = 10.0 > h = 0.5202348892701429
dx too big, dx = 10.0 > h = 0.5201863379125399
dx too big, dx = 10.0 > h = 0.5201377850638279
dx too big, dx = 10.0 > h = 0.5200892307303332
dx too big, dx = 10.0 > h = 0.5200406749183785
dx too big, dx = 10.0 > h = 0.5199921176342822
dx too big, dx = 10.0 > h = 0.51994355888436
dx too big, dx = 10.0 > h = 0.5198949986749227
dx too big, dx = 10.0 > h = 0.5198464370122781
dx too big, dx = 10.0 > h = 0.5197978739027299
dx too big, dx = 10.0 > h = 0.5197493093525782
dx too big, dx = 10.0 > h = 0.5197007433681194
dx too big, dx = 10.0 > h = 0.5196521759556463
dx too big, dx = 10.0 > h = 0.5196036071214475
dx too big, dx = 10.0 > h = 0.519555036871808
dx too big, dx = 10.0 > h = 0.5195064652130094
dx too big, dx = 10.0 > h = 0.5194578921513292
dx too big, dx = 10.0 > h = 0.5194093176930414
dx too big, dx = 10.0 > h = 0.5193607418444162
dx too big, dx = 10.0 > h = 0.5193121646117198
dx too big, dx = 10.0 > h = 0.5192635860012148
dx too big, dx = 10.0 > h = 0.5192150060191605
dx too big, dx = 10.0 > h = 0.5191664246718116
dx too big, dx = 10.0 > h = 0.5191178419654199
dx too big, dx = 10.0 > h = 0.5190692579062329
dx too big, dx = 10.0 > h = 0.5190206725004948
dx too big, dx = 10.0 > h = 0.5189720857544454
dx too big, dx = 10.0 > h = 0.5189234976743217
dx too big, dx = 10.0 > h = 0.518874908266356
dx too big, dx = 10.0 > h = 0.5188263175367774
dx too big, dx = 10.0 > h = 0.5187777254918114
dx too big, dx = 10.0 > h = 0.5187291321376792
dx too big, dx = 10.0 > h = 0.5186805374805988
dx too big, dx = 10.0 > h = 0.5186319415267842
dx too big, dx = 10.0 > h = 0.5185833442824455
dx too big, dx = 10.0 > h = 0.5185347457537897
dx too big, dx = 10.0 > h = 0.5184861459470191
dx too big, dx = 10.0 > h = 0.5184375448683333
dx too big, dx = 10.0 > h = 0.5183889425239274
dx too big, dx = 10.0 > h = 0.5183403389199931
dx too big, dx = 10.0 > h = 0.5182917340627182
dx too big, dx = 10.0 > h = 0.5182431279582869
dx too big, dx = 10.0 > h = 0.5181945206128795
dx too big, dx = 10.0 > h = 0.518145912032673
dx too big, dx = 10.0 > h = 0.5180973022238401
dx too big, dx = 10.0 > h = 0.5180486911925501
dx too big, dx = 10.0 > h = 0.5180000789449682
dx too big, dx = 10.0 > h = 0.5179514654872567
dx too big, dx = 10.0 > h = 0.5179028508255733
dx too big, dx = 10.0 > h = 0.517854234966072
dx too big, dx = 10.0 > h = 0.5178056179149038
dx too big, dx = 10.0 > h = 0.5177569996782153
dx too big, dx = 10.0 > h = 0.5177083802621496
dx too big, dx = 10.0 > h = 0.5176597596728462
dx too big, dx = 10.0 > h = 0.5176111379164406
dx too big, dx = 10.0 > h = 0.5175625149990645
dx too big, dx = 10.0 > h = 0.5175138909268464
dx too big, dx = 10.0 > h = 0.5174652657059104
dx too big, dx = 10.0 > h = 0.5174166393423775
dx too big, dx = 10.0 > h = 0.5173680118423645
dx too big, dx = 10.0 > h = 0.5173193832119847
dx too big, dx = 10.0 > h = 0.5172707534573473
dx too big, dx = 10.0 > h = 0.5172221225845587
dx too big, dx = 10.0 > h = 0.5171734905997204
dx too big, dx = 10.0 > h = 0.517124857508931
dx too big, dx = 10.0 > h = 0.5170762233182848
dx too big, dx = 10.0 > h = 0.5170275880338732
dx too big, dx = 10.0 > h = 0.5169789516617829
dx too big, dx = 10.0 > h = 0.5169303142080974
dx too big, dx = 10.0 > h = 0.5168816756788965
dx too big, dx = 10.0 > h = 0.5168330360802561
dx too big, dx = 10.0 > h = 0.5167843954182483
dx too big, dx = 10.0 > h = 0.5167357536989419
dx too big, dx = 10.0 > h = 0.5166871109284015
dx too big, dx = 10.0 > h = 0.516638467112688
dx too big, dx = 10.0 > h = 0.5168308290144571
dx too big, dx = 10.0 > h = 0.517023334181392
dx too big, dx = 10.0 > h = 0.5172159827735637
dx too big, dx = 10.0 > h = 0.5174087749512818
dx too big, dx = 10.0 > h = 0.5176017108750944
dx too big, dx = 10.0 > h = 0.5177947907057894
dx too big, dx = 10.0 > h = 0.5179880146043945
dx too big, dx = 10.0 > h = 0.5181813827321773
dx too big, dx = 10.0 > h = 0.5183748952506468
dx too big, dx = 10.0 > h = 0.5185685523215525
dx too big, dx = 10.0 > h = 0.5187623541068859
dx too big, dx = 10.0 > h = 0.5189563007688804
dx too big, dx = 10.0 > h = 0.5191503924700122
dx too big, dx = 10.0 > h = 0.5193446293730002
dx too big, dx = 10.0 > h = 0.5195390116408067
dx too big, dx = 10.0 > h = 0.5197335394366385
dx too big, dx = 10.0 > h = 0.5199282129239458
dx too big, dx = 10.0 > h = 0.5201230322664242
dx too big, dx = 10.0 > h = 0.5203179976280146
dx too big, dx = 10.0 > h = 0.5205131091729034
dx too big, dx = 10.0 > h = 0.5207083670655233
dx too big, dx = 10.0 > h = 0.5209037714705536
dx too big, dx = 10.0 > h = 0.5210993225529207
dx too big, dx = 10.0 > h = 0.5212950204777986
dx too big, dx = 10.0 > h = 0.5214908654106094
dx too big, dx = 10.0 > h = 0.5216868575170238
dx too big, dx = 10.0 > h = 0.5218828502042622
dx too big, dx = 10.0 > h = 0.5220780335156276
dx too big, dx = 10.0 > h = 0.5222733628264976
dx too big, dx = 10.0 > h = 0.5224688383006892
dx too big, dx = 10.0 > h = 0.5226644601022651
dx too big, dx = 10.0 > h = 0.5228602283955331
dx too big, dx = 10.0 > h = 0.5230561433450476
dx too big, dx = 10.0 > h = 0.5232520373659736
dx too big, dx = 10.0 > h = 0.5234471323559455
dx too big, dx = 10.0 > h = 0.5236423728114566
dx too big, dx = 10.0 > h = 0.5238377588951795
dx too big, dx = 10.0 > h = 0.5240332907700286
dx too big, dx = 10.0 > h = 0.5242289685991619
dx too big, dx = 10.0 > h = 0.5244247925459806
dx too big, dx = 10.0 > h = 0.5246204970064924
dx too big, dx = 10.0 > h = 0.524815489377897
dx too big, dx = 10.0 > h = 0.5250106266591275
dx too big, dx = 10.0 > h = 0.5252059090116741
dx too big, dx = 10.0 > h = 0.5254013365972671
dx too big, dx = 10.0 > h = 0.5255969095778769
dx too big, dx = 10.0 > h = 0.5257926281157146
dx too big, dx = 10.0 > h = 0.5259881053414249
dx too big, dx = 10.0 > h = 0.5261829803557816
dx too big, dx = 10.0 > h = 0.5263779997019673
dx too big, dx = 10.0 > h = 0.5265731635402525
dx too big, dx = 10.0 > h = 0.5267684720311452
dx too big, dx = 10.0 > h = 0.5269639253353905
dx too big, dx = 10.0 > h = 0.527159523613972
dx too big, dx = 10.0 > h = 0.5273546799913409
dx too big, dx = 10.0 > h = 0.5275494225333386
dx too big, dx = 10.0 > h = 0.5277443088064878
dx too big, dx = 10.0 > h = 0.5279393389698018
dx too big, dx = 10.0 > h = 0.5281345131825276
dx too big, dx = 10.0 > h = 0.5283298316041475
dx too big, dx = 10.0 > h = 0.5285252943943786
dx too big, dx = 10.0 > h = 0.528720048778046
dx too big, dx = 10.0 > h = 0.5289146438269177
dx too big, dx = 10.0 > h = 0.5291093819838706
dx too big, dx = 10.0 > h = 0.5293042634066232
dx too big, dx = 10.0 > h = 0.5294992882531252
dx too big, dx = 10.0 > h = 0.5296944566815576
dx too big, dx = 10.0 > h = 0.52988976790397
dx too big, dx = 10.0 > h = 0.5300840575330653
dx too big, dx = 10.0 > h = 0.5302784894678889
dx too big, dx = 10.0 > h = 0.5304730638645971
dx too big, dx = 10.0 > h = 0.5306677808795753
dx too big, dx = 10.0 > h = 0.5308626406694372
dx too big, dx = 10.0 > h = 0.5310576433910256
dx too big, dx = 10.0 > h = 0.5312523933417928
dx too big, dx = 10.0 > h = 0.5314465050348495
dx too big, dx = 10.0 > h = 0.5316407583660562
dx too big, dx = 10.0 > h = 0.5318351534902025
dx too big, dx = 10.0 > h = 0.5320296905623032
dx too big, dx = 10.0 > h = 0.5322243697375991
dx too big, dx = 10.0 > h = 0.5324191911715571
dx too big, dx = 10.0 > h = 0.5326133152915178
dx too big, dx = 10.0 > h = 0.5328072330519514
dx too big, dx = 10.0 > h = 0.5330012917596195
dx too big, dx = 10.0 > h = 0.5331954915679067
dx too big, dx = 10.0 > h = 0.5333898326304203
dx too big, dx = 10.0 > h = 0.5335843151009898
dx too big, dx = 10.0 > h = 0.53377877606919
dx too big, dx = 10.0 > h = 0.5339723432435377
dx too big, dx = 10.0 > h = 0.5341660504985105
dx too big, dx = 10.0 > h = 0.5343598979858313
dx too big, dx = 10.0 > h = 0.5345538858574421
dx too big, dx = 10.0 > h = 0.5347480142655034
dx too big, dx = 10.0 > h = 0.5349422833623957
dx too big, dx = 10.0 > h = 0.5351359670760227
dx too big, dx = 10.0 > h = 0.5353293078171069
dx too big, dx = 10.0 > h = 0.5355227879014879
dx too big, dx = 10.0 > h = 0.535716407479411
dx too big, dx = 10.0 > h = 0.5359101667013366
dx too big, dx = 10.0 > h = 0.5361040657179416
dx too big, dx = 10.0 > h = 0.5362979480299472
dx too big, dx = 10.0 > h = 0.5364909070209026
dx too big, dx = 10.0 > h = 0.5366840044452618
dx too big, dx = 10.0 > h = 0.5368772404515425
dx too big, dx = 10.0 > h = 0.5370706151884747
dx too big, dx = 10.0 > h = 0.5372641288049997
dx too big, dx = 10.0 > h = 0.537457781450272
dx too big, dx = 10.0 > h = 0.5376507165739307
dx too big, dx = 10.0 > h = 0.5378434157129223
dx too big, dx = 10.0 > h = 0.5380362525010624
dx too big, dx = 10.0 > h = 0.5382292270853188
dx too big, dx = 10.0 > h = 0.5384223396128676
dx too big, dx = 10.0 > h = 0.5386155902310934
dx too big, dx = 10.0 > h = 0.5388086058065417
dx too big, dx = 10.0 > h = 0.5390008911519326
dx too big, dx = 10.0 > h = 0.5391933131928834
dx too big, dx = 10.0 > h = 0.5393858720745692
dx too big, dx = 10.0 > h = 0.5395785679423705
dx too big, dx = 10.0 > h = 0.5397714009418729
</pre></div>
</div>
<p>Plot the result</p>
<div class="highlight-Python notranslate"><div class="highlight"><pre><span></span><span class="n">s</span><span class="o">.</span><span class="n">grid</span><span class="o">.</span><span class="n">plot</span><span class="p">()</span>
<span class="n">plt</span><span class="o">.</span><span class="n">show</span><span class="p">()</span>
</pre></div>
</div>
<img src="../_images/sphx_glr_example_eulerdrift_norkyst_002.png" srcset="../_images/sphx_glr_example_eulerdrift_norkyst_002.png" alt="example eulerdrift norkyst" class = "sphx-glr-single-img"/><p class="sphx-glr-timing"><strong>Total running time of the script:</strong> (2 minutes 28.160 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-gallery-example-eulerdrift-norkyst-py">
<div class="sphx-glr-download sphx-glr-download-jupyter docutils container">
<p><a class="reference download internal" download="" href="../_downloads/12a12d3d11585a8a5d54ab551959d074/example_eulerdrift_norkyst.ipynb"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Jupyter</span> <span class="pre">notebook:</span> <span class="pre">example_eulerdrift_norkyst.ipynb</span></code></a></p>
</div>
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../_downloads/21aae62cd036172a8a194006712bf05f/example_eulerdrift_norkyst.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">example_eulerdrift_norkyst.py</span></code></a></p>
</div>
<div class="sphx-glr-download sphx-glr-download-zip docutils container">
<p><a class="reference download internal" download="" href="../_downloads/1921a56b43c069f0ee75d875d1350ea9/example_eulerdrift_norkyst.zip"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">zipped:</span> <span class="pre">example_eulerdrift_norkyst.zip</span></code></a></p>
</div>
</div>
<p class="sphx-glr-signature"><a class="reference external" href="https://sphinx-gallery.github.io">Gallery generated by Sphinx-Gallery</a></p>
</section>
</div>
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="example_long_vietnam.html" class="btn btn-neutral float-left" title="Vietnam" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="example_double_gyre_advection_schemes.html" class="btn btn-neutral float-right" title="Double gyre, advection" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>
<hr/>
<div role="contentinfo">
<p>© Copyright 2020, Knut-Frode Dagestad (knutfd@met.no) and Gaute Hope (gauteh@met.no)..</p>
</div>
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>