Skip to content

Commit 27f1062

Browse files
Adding fieldset convert migration
1 parent c1428fa commit 27f1062

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docs/user_guide/v4-migration.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,14 @@ Use <code>pset.execute(parcels.AdvectionRK2)</code> for advection
181181

182182
<div class="migration-chat">
183183

184+
<div class="migration-bubble migration-change">
185+
<code>FieldSet.from_&lt;modelname&gt;()</code> is removed
186+
</div>
187+
<div class="migration-bubble migration-how">
188+
Convert the model data first to <a href="https://sgrid.github.io/sgrid/">SGrid</a> (for example with a <code>parcels.covert_&lt;MODEL&gt;_to_sgrid()</code> function) and then use <code>FieldSet.from_sgrid_conventions()</code>, as also described in the <a href="getting_started/tutorial_quickstart.html#input-flow-fields-fieldset">Quickstart tutorial</a>
189+
</div>
190+
<hr class="migration-divider" />
191+
184192
<div class="migration-bubble migration-change">
185193
<code>FieldSet.interp_method</code> doesn't accept a string (e.g. <code>"linear"</code> or <code>"nearest"</code>)
186194
</div>

0 commit comments

Comments
 (0)