Bug in plot2D
Below attempt to call plot2D for a small geopgrahic regions fails. The problem seems to be that wind data is tabulated with resolution of only 0.5 degrees. Therefore, we only retrieve data for a single latitude (44 degrees). Then, plot2D attempts to interpolate using griddata, which leads to error. Perhaps changing from method 'linear' to 'nearest' can fix the problem?
from datetime import datetime
from kadlu.plot_util import plot2D
bounds = dict(
south=43.53, north=44.29, west=-59.84, east=-58.48,
start=datetime(2015,1,1), end=datetime(2015,1,2),
top=0, bottom=10000
)
plot2D(var='bathy', source='chs', plot_wind='wwiii', **bounds)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information