Patrick BROCKMANN - LSCE (Climate and Environment Sciences Laboratory)
<img align="left" width="40%" src="http://www.lsce.ipsl.fr/Css/img/banniere_LSCE_75.png" >


Updated: 2018/12/10

Load the ferret extension


In [5]:
%load_ext ferretmagic


The ferretmagic extension is already loaded. To reload it, use:
  %reload_ext ferretmagic

Explore usage of %ferret_run line magic


In [6]:
for i in [100,500,1000]:
    %ferret_run -s 300,300 'set text/font=arial ; plot/thick=2 sin(i[i=1:%(i)s]*0.1)' % locals()


Another example


In [7]:
%%ferret
use levitus_climatology

In [8]:
for i in range(1,3):
    %ferret_run -q -s 400,300 'set text/font=arial ; fill salt[k=%(i)s] ; go land' % locals()



In [ ]:


In [ ]:


In [ ]: