cf-plot issuesΒΆ
If you find a problem with cf-plot please email me Andy Heaps (andy.heaps@ncas.ac.uk) with the following:
(i) A short piece of code showing the problem
(ii) The data needed to make the plot
i.e. if you make a plot using:
f=cf.read('cfplot_data/ggap.nc')[1]
cfp.con(f.collapse('mean','longitude'))
Then use cf-python to write out the data used to make the plot and then send the data (newfile.nc) and plotting line to me.
f=cf.read('cfplot_data/ggap.nc')[1]
g=f.collapse('mean','longitude')
cf.write(g, 'newfile.nc')
Send the data (newfile.nc) and plotting lines as per below example to me:
g=cf.read('newfile.nc')
cfp.con(g)
If you are using arrays of data use numpy to write out the relevant data:
np.save('lons.npy', lons)
np.save('lats.npy', lats)
np.save('field.npy', field)
Join the cf-plot email list to find out when new functionality is added to cf-plot. http://www.lists.rdg.ac.uk/mailman/listinfo/met-cfplot