In this example we work through the following steps:
1. Import the cf package.
import cf
2. Read a field from disk and find a summary of its contents.
f = cf.read('EURO4M-APGD_DJF_precip_means.nc')
f
print f
3. Read in a second field and find a summary of its contents.
g = cf.read('E-OBS_DJF_precip_means.nc')
g
print g
4. Regrid the first field to the grid of the second bilinearly and find a summary of the resulting field's contents.
f.dim('projection x coordinate').axis = 'X'
f.dim('projection y coordinate').axis = 'Y'
h = f.regrids(g, method='bilinear')
h
print h
5. Import the cfplot package.
%matplotlib inline
import cfplot as cfp
6. Plot the results.
cfp.con(h)