|
88 | 88 | np.int16: "GMT_SHORT", |
89 | 89 | np.int32: "GMT_INT", |
90 | 90 | np.int64: "GMT_LONG", |
| 91 | + np.longlong: "GMT_LONG", |
91 | 92 | np.uint8: "GMT_UCHAR", |
92 | 93 | np.uint16: "GMT_USHORT", |
93 | 94 | np.uint32: "GMT_UINT", |
94 | 95 | np.uint64: "GMT_ULONG", |
| 96 | + np.ulonglong: "GMT_ULONG", |
95 | 97 | np.float32: "GMT_FLOAT", |
96 | 98 | np.float64: "GMT_DOUBLE", |
97 | 99 | np.timedelta64: "GMT_LONG", |
@@ -948,8 +950,9 @@ def put_vector(self, dataset: ctp.c_void_p, column: int, vector: np.ndarray): |
948 | 950 | The dataset must be created by :meth:`pygmt.clib.Session.create_data` first with |
949 | 951 | ``family="GMT_IS_DATASET|GMT_VIA_VECTOR"``. |
950 | 952 |
|
951 | | - Not all numpy dtypes are supported, only: int8, int16, int32, int64, uint8, |
952 | | - uint16, uint32, uint64, float32, float64, str\_, and datetime64. |
| 953 | + Not all numpy dtypes are supported, only: int8, int16, int32, int64, longlong, |
| 954 | + uint8, uint16, uint32, uint64, ulonglong, float32, float64, str\_, datetime64, |
| 955 | + and timedelta64. |
953 | 956 |
|
954 | 957 | .. warning:: |
955 | 958 | The numpy array must be C contiguous in memory. Use |
@@ -1060,8 +1063,8 @@ def put_matrix(self, dataset: ctp.c_void_p, matrix: np.ndarray, pad: int = 0): |
1060 | 1063 | The dataset must be created by :meth:`pygmt.clib.Session.create_data` first with |
1061 | 1064 | ``family="GMT_IS_DATASET|GMT_VIA_MATRIX"``. |
1062 | 1065 |
|
1063 | | - Not all numpy dtypes are supported, only: int8, int16, int32, int64, uint8, |
1064 | | - uint16, uint32, uint64, float32, and float64. |
| 1066 | + Not all numpy dtypes are supported, only: int8, int16, int32, int64, longlong, |
| 1067 | + uint8, uint16, uint32, uint64, ulonglong, float32, and float64. |
1065 | 1068 |
|
1066 | 1069 | .. warning:: |
1067 | 1070 | The numpy array must be C contiguous in memory. Use |
|
0 commit comments