In [2]:
from ahh import vis, exp
In [3]:
da = exp.arr_ds()['air'] # initialize data
da
Out[3]:
In [4]:
ax = vis.plot_map(da[35], contour=range(280, 290, 5)) # provide the intervals to contour; here contour 280, 285
In [5]:
ax = vis.plot_map(da[0], da.lat, da.lon, wrap=True,
data2=da[0].values, # you don't need to provide lats2, lons2 though; it'll inherit
contour=[260, 285, 290]) # can be non-monotonically increasing contours too
In [7]:
ax = vis.plot_map(da[0], contour=[260, 285, 290]) # can be non-monotonically increasing contours too
In [8]:
ax = vis.plot_map(da[0].values, da.lat, da.lon, wrap=True, # can also add contour2 for dotted lines
data2=da[0].values, contour=[285], contour2=[295, 300]) # commonly used to differentiate negative values
In [12]:
ax = vis.plot_map(da[0], # can also stipple; commonly used for showing statistical significance
stipple=[290, 295], # here stipple values greater than 290 up to 295
contour=range(295, 305, 5), contour2=[285, 290]) # can mix in contour and contour2 too
# but not recommended to add all of them unless you have a good reason to as it gets super messy fast!
In [ ]: