geodat.nc.contourf

geodat.nc.contourf(variable, *args, **kwargs)

Use mpl_toolkits.basemap.Basemap to plot

Parameters:
  • variable (geodat.nc.Variable) – should be 2D (singlet dimension will be removed when calling in this function)
  • basemap_kwargs (dict) – optional. If provided, it is parsed to mpl_toolkits.basemap.Basemap while setting up the map

Other arguments and keyword arguments are parsed to f_pylab (the pylab function f_pylab provided).

Returns:m, cs (mpl_toolkits.basemap.Basemap, output of f_pylab)

If the dimensions are not recognized as latitudes and longitudes, no map is made; f_pylab(x,y,data) is called and its output(s) are returned

Fork me on GitHub