Updated: 2018/12/10
In [1]:
%load_ext ferretmagic
In [2]:
%%ferret
set text/font=hershey
use coads_climatology
shade sst[l=10] ; go land
In [3]:
%ferret_getdata sstdict = sst
In [4]:
sstdict.keys()
Out[4]:
In [5]:
sstdata = sstdict['data']
type(sstdata)
Out[5]:
In [6]:
import numpy
mask = numpy.abs(sstdata - sstdict['missing_value']) < 1.0E-5
sstdata[mask] = -10.0
sstdict['name'] = 'SSTCopy'
sstdict['title'] = 'SST with miss vals set to -10'
sstdict.keys()
Out[6]:
In [7]:
%ferret_putdata sstdict
In [8]:
%%ferret
show data
shade sstcopy[l=1]
In [ ]:
In [ ]: