You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's been a while since I used x2sys, and I've only used x2sys_init and x2sys_cross really (so unsure of the other ones), but I don't think X2SYS holds much of an internal state (nor does it even support virtual files - GenericMappingTools/gmt#3717) to warrant using a class. x2sys_init will write a format definition file (*.fmt), and once that is in place, you could run x2sys_cross without calling x2sys_init again, as long as you set the X2SYS_HOME environment variable correctly. So at most, the class would store the X2SYS_HOME environment variable I suppose 🤷
So at most, the class would store the X2SYS_HOME environment variable I suppose 🤷
I see that most x2sys modules need the TAG setting. Perhaps the class can also store the TAG setting? Anyway, we need inputs from heave x2sys users before taking any actions.
Description of the desired feature
The
x2sys
package contains the following modules for cross-over analysis:Currently, PyGMT provides wrappers for
x2sys_init
andx2sys_cross
as separate functions under thepygmt
namespace.Perhaps it's more Pythonic to wrap all the modules in a class instead. The syntax would be same thing like:
Disclaimer: I've never used x2sys.
Are you willing to help implement and maintain this feature?
No
The text was updated successfully, but these errors were encountered: