ef">lengths</span></a> = obj.length(-1)</div>
</div>
</pre><p>Returns the lengths of the specified variables. Variable names and indices are interpreted in the context of variables being used by the ensemble. If the index is -1, selects all variables being used.</p>
<pre><div class="syntax line-block" id="ensemble-length-syntax3">
<div class="line"><a class="reference internal" href="#ensemble-length-outputs-length"><span class="std std-ref">length</span></a> = obj.length(0, <a class="reference internal" hr