pygmt.clib.Session.call_module¶
-
Session.call_module(module, args)[source]¶ Call a GMT module with the given arguments.
Makes a call to
GMT_Call_Modulefrom the C API using modeGMT_MODULE_CMD(arguments passed as a single string).Most interactions with the C API are done through this function.
Parameters: - module : str
Module name (
'pscoast','psbasemap', etc).- args : str
String with the command line arguments that will be passed to the module (for example,
'-R0/5/0/10 -JM').
Raises: - GMTCLibError
If the returned status code of the function is non-zero.