In [1]:
    
%matplotlib inline
    
In [2]:
    
import sys
    
In [3]:
    
sys.path.insert(0, '../')
    
In [4]:
    
from paleopy import ensemble
from paleopy import analogs
from paleopy.plotting import scalar_plot
    
In [5]:
    
djsons = '../jsons/'
pjsons = '../jsons/proxies'
    
In [6]:
    
ens = ensemble(djsons=djsons, pjsons=pjsons, season='DJF')
    
In [7]:
    
sst = analogs(ens, 'ersst', 'sst').composite()
    
In [8]:
    
f = scalar_plot(sst, test=0.1, proj='cyl').plot()
    
    
In [9]:
    
sst.close()
    
In [10]:
    
hgt = analogs(ens, 'ncep', 'hgt_1000').composite()
    
In [11]:
    
f = scalar_plot(hgt, test=0.1, proj='moll').plot()
    
    
    
In [12]:
    
m = scalar_plot(hgt, test=0.1, proj='merc', domain=[0., 360., -89.9, 89.9])
    
In [13]:
    
m = scalar_plot(hgt, test=0.1, proj='spstere', domain=[0., 360., -89.9, 89.9]).plot()
    
    
In [14]:
    
hgt.dset
    
    Out[14]:
In [15]:
    
hgt.save_to_file('/Users/nicolasf/Desktop/hgt.nc')
    
In [16]:
    
hgt.locations
    
    Out[16]:
In [17]:
    
hgt.close()
    
In [ ]: