basemap
basemap copied to clipboard
Plot on map projections (with coastlines and political boundaries) using matplotlib
First of all, kudos to @molinav for keeping basemap alive. I still find it nicer than Cartopy. Earlier python versions give a _FutureWarning_ and newer python versions an _IndexError_ on...
Hi, (Tested with basemap 1.0.6) This works: `m.readshapefile('foo.shp', 'my_shape')` while this fails: `m.readshapefile('bar_0.1.shp', 'my_shape')` ``` raise IOError('error reading shapefile %s.shp' % shapefile) fields = shf.fields coords = []; attributes =...
As per your install instructions: `python -m pip install basemap` throws an error with Python 3.9.13, and Clang 13.1.6 (clang-1316.0.21.2.5) on darwin with GEOS installed via homebrew. > src/_geoslib.c:745:10: fatal...
Hello, I'm trying to reproduce the `transform_vector()` function. Basically, I want to plot my wind vector rotated and interpolated in a north polar stereographic projection. Here's the source code :...
Docs for shiftdata say "if datain given, returns dataout,lonsout" Actually returns lonsout, dataout
- Convert to new style namespace packages - remove namespace_packages key from setup This is a follow up to matplotlib/matplotlib#25381. Newer setuptools is going to completely deprecate old-style namespace packages,...
Hi `matplotlib/basemap`! This is a one-off automatically generated pull request from LGTM.com :robot:. You might have heard that we’ve integrated LGTM’s underlying CodeQL analysis engine natively into GitHub. The result...
Hi, I am using "addcyclic" function and encounter the Index Error. Error details are: > **IndexError** Traceback (most recent call last) > ~\AppData\Local\Temp/ipykernel_11852/1134487354.py in > 6 m.drawmeridians(np.arange(0.,360.,90.),linewidth=0.4,color='gray',labels=[True,True,True,True]) > 7 #在Py3.7下使用basemap==1.2.0,在循环填白addcyclic时可能会报错...
This may only be a problem with llc projections Code sample that recreates the bug: https://gist.github.com/ohnorobo/2718c0238c3dcc941dab
Hi, I'm observing a segmentation fault as described in https://github.com/jupyter/qtconsole/issues/585 of which I believe basemap is the root cause. This is due to underlying conda c-library conflicts. It seems the...