<div dir="ltr"><div>Hi Louise,</div><div><br></div><div>Great you&#39;ve found the tutorial useful! <br></div><div><br></div><div>The &quot;getField&quot; routine is a workaround based on some incompatibilities rooted in niggles with the netCDF format and the pangeo way of loading data.</div><div><br></div><div>Like the tutorial states, it&#39;s a bit of a placeholder we want to replace, so I hesitate providing it to you. <br></div><div><br></div><div>Cheers,</div><div>Maike<br></div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><b>____________<br></b></div><div><b>Maike Sonnewald</b></div><div>Postdoctoral Associate</div><div><br></div><div><div><i>Earth, Atmospheric and Planetary Sciences</i></div></div><div>Massachusetts Institute of Technology</div><div>Visitor Harvard University</div><div><br></div><div><a href="http://msonnewald.com" target="_blank">msonnewald.com<br></a></div><br></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 13, 2019 at 8:32 AM Louise Rousselet &lt;<a href="mailto:lrousselet@ucsd.edu">lrousselet@ucsd.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi,<div><br></div><div>I am currently trying to use the Python Tutorial for vector calculus in ECCO (<a href="https://ecco-v4-python-tutorial.readthedocs.io/VectorCalculus_ECCO_barotropicVorticity.html" target="_blank">https://ecco-v4-python-tutorial.readthedocs.io/VectorCalculus_ECCO_barotropicVorticity.html</a>) but when I came to this line:</div><div><pre style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,&quot;Liberation Mono&quot;,&quot;Courier New&quot;,Courier,monospace;margin-top:0px;margin-bottom:0px;padding:0px;overflow:auto;line-height:1.4;background-image:none;background-color:rgb(247,247,247);border:medium none;color:rgb(64,64,64);font-variant-ligatures:normal"><span class="gmail-m_7118733038550989368n" style="box-sizing:border-box">u_transport_llc_collated</span><span class="gmail-m_7118733038550989368p" style="box-sizing:border-box">,</span><span class="gmail-m_7118733038550989368n" style="box-sizing:border-box">lat_collated</span><span class="gmail-m_7118733038550989368p" style="box-sizing:border-box">,</span><span class="gmail-m_7118733038550989368n" style="box-sizing:border-box">lon_collated</span><span class="gmail-m_7118733038550989368o" style="box-sizing:border-box;color:rgb(102,102,102)">=</span><span class="gmail-m_7118733038550989368n" style="box-sizing:border-box">getField</span><span class="gmail-m_7118733038550989368p" style="box-sizing:border-box">(</span><span class="gmail-m_7118733038550989368n" style="box-sizing:border-box">u_transport_llc</span><span class="gmail-m_7118733038550989368p" style="box-sizing:border-box">[</span><span class="gmail-m_7118733038550989368mi" style="box-sizing:border-box;color:rgb(32,128,80)">0</span><span class="gmail-m_7118733038550989368p" style="box-sizing:border-box">])</span>
<span class="gmail-m_7118733038550989368n" style="box-sizing:border-box">v_transport_llc_collated</span><span class="gmail-m_7118733038550989368p" style="box-sizing:border-box">,</span><span class="gmail-m_7118733038550989368n" style="box-sizing:border-box">lat_collated</span><span class="gmail-m_7118733038550989368p" style="box-sizing:border-box">,</span><span class="gmail-m_7118733038550989368n" style="box-sizing:border-box">lon_collated</span><span class="gmail-m_7118733038550989368o" style="box-sizing:border-box;color:rgb(102,102,102)">=</span><span class="gmail-m_7118733038550989368n" style="box-sizing:border-box">getField</span><span class="gmail-m_7118733038550989368p" style="box-sizing:border-box">(</span><span class="gmail-m_7118733038550989368n" style="box-sizing:border-box">v_transport_llc</span><span class="gmail-m_7118733038550989368p" style="box-sizing:border-box">[</span><span class="gmail-m_7118733038550989368mi" style="box-sizing:border-box;color:rgb(32,128,80)">0</span><span class="gmail-m_7118733038550989368p" style="box-sizing:border-box">])</span></pre><div>which is supposed to twist the faces to plot a global map of the data, I cannot find “getField” is it supposed to be part of the package ?</div><div><br></div><div>Thanks,</div><div><br></div><div>Louise Rousselet </div></div></div>_______________________________________________<br>
ecco-support mailing list<br>
<a href="mailto:ecco-support@mit.edu" target="_blank">ecco-support@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/ecco-support" rel="noreferrer" target="_blank">http://mailman.mit.edu/mailman/listinfo/ecco-support</a><br>
</blockquote></div>