PSM for lake varve thickness#
In this tutorial, we introduce the PSM for lake varve thickness in cfr
.
[1]:
%load_ext autoreload
%autoreload 2
import cfr
print(cfr.__version__)
Data preparation#
Proxy#
[2]:
pdb = cfr.ProxyDatabase().fetch('PAGES2kv2')
[3]:
pobj = pdb['Arc_001']
fig, ax = pobj.plot()
Model#
[4]:
model_tas = cfr.ClimateField().fetch('iCESM_past1000historical/tas')
>>> The target file seems existed at: ./data/tas_sfc_Amon_iCESM_past1000historical_085001-200512.nc . Loading from it instead of downloading ...
Get climate data for a specific ProxyRecord
#
[5]:
%%time
pobj.del_clim()
pobj.get_clim(model_tas, tag='model')
CPU times: user 2.59 ms, sys: 39.6 ms, total: 42.1 ms
Wall time: 41.2 ms
Create a PSM object#
[6]:
mdl = cfr.psm.Lake_VarveThickness(pobj)
[7]:
%%time
pp = mdl.forward()
CPU times: user 127 ms, sys: 36.2 ms, total: 164 ms
Wall time: 165 ms
[8]:
fig, ax = pp.plot()
[ ]: