Opened 13 months ago
Closed 12 months ago
#68395 closed request (fixed)
request: pygmt
Reported by: | jbrundle | Owned by: | TheRealKeto (Keto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | pygmt |
Description (last modified by jmroot (Joshua Root))
Install:
johnrundle@Napili ~ % sudo port activate gmt6 ---> Computing dependencies for gmt6 ---> Cleaning gmt6
Then:
%python >>> import gmt6 Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'gmt6'
Change History (6)
comment:1 Changed 13 months ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Owner: | set to seisman |
Port: | gmt6 added |
Status: | new → assigned |
comment:2 Changed 13 months ago by jbrundle
So here is the problem. I have been using cartopy to make nice looking maps. As of 7/31/2023, stamen.com, the company that has supplied the topography map tiles, has announced they will no longer do this, and will migrate that service to stadia.com as of 10/31/2023. However, their migration seems to be confined to web apps, not python. So matplotlib python codes that use cartopy/map tiles will no longer look as nice.
I have been looking for alternatives. For years, the standard in map making has been Generic Mapping Tools (GMT). There is a python version: https://www.pygmt.org/latest/ I was hoping that I could simply import this and use it. I found several Macports packages: gmt4, gmt5, gmt6. As I mentioned previously, I can install them, but when I try to import it, it does not import.
Simplest thing would be to have pygmt be a port for Macports if that can be done.
comment:3 Changed 13 months ago by jmroot (Joshua Root)
Owner: | seisman deleted |
---|---|
Port: | pygmt added; gmt6 removed |
Summary: | Installed gmt6 on Mac OS 13.5.2 but it does not import → request: pygmt |
Type: | defect → request |
OK, so gmt6 is the underlying library that pygmt would use as a dependency.
comment:4 Changed 13 months ago by jbrundle
Ok. So how does one use pygmt with matplotlib on macports?
comment:5 Changed 13 months ago by jbrundle
Another possibility for improving the cartopy maps is for Macports to develop a port for cartoee: https://pypi.org/project/cartoee/ That might be an easier way to go.
comment:6 Changed 12 months ago by TheRealKeto (Keto)
Owner: | set to Keto <therealketo@…> |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
This port doesn't appear to intend to provide a python module. What do you expect to be able to do with it?