|
43 | 43 | "GMT_IS_SURFACE",
|
44 | 44 | ]
|
45 | 45 |
|
46 |
| -MODES = ["GMT_CONTAINER_ONLY", "GMT_OUTPUT"] |
| 46 | +MODES = ["GMT_CONTAINER_ONLY", "GMT_IS_OUTPUT"] |
47 | 47 |
|
48 | 48 | REGISTRATIONS = ["GMT_GRID_PIXEL_REG", "GMT_GRID_NODE_REG"]
|
49 | 49 |
|
@@ -509,13 +509,13 @@ def create_data(self, family, geometry, mode, **kwargs):
|
509 | 509 | ----------
|
510 | 510 | family : str
|
511 | 511 | A valid GMT data family name (e.g., ``'GMT_IS_DATASET'``). See the
|
512 |
| - ``data_families`` attribute for valid names. |
| 512 | + ``FAMILIES`` attribute for valid names. |
513 | 513 | geometry : str
|
514 | 514 | A valid GMT data geometry name (e.g., ``'GMT_IS_POINT'``). See the
|
515 |
| - ``data_geometries`` attribute for valid names. |
| 515 | + ``GEOMETRIES`` attribute for valid names. |
516 | 516 | mode : str
|
517 |
| - A valid GMT data mode (e.g., ``'GMT_OUTPUT'``). See the |
518 |
| - ``data_modes`` attribute for valid names. |
| 517 | + A valid GMT data mode (e.g., ``'GMT_IS_OUTPUT'``). See the |
| 518 | + ``MODES`` attribute for valid names. |
519 | 519 | dim : list of 4 integers
|
520 | 520 | The dimensions of the dataset. See the documentation for the GMT C
|
521 | 521 | API function ``GMT_Create_Data`` (``src/gmt_api.c``) for the full
|
@@ -843,12 +843,12 @@ def write_data(self, family, geometry, mode, wesn, output, data):
|
843 | 843 | ----------
|
844 | 844 | family : str
|
845 | 845 | A valid GMT data family name (e.g., ``'GMT_IS_DATASET'``). See the
|
846 |
| - ``data_families`` attribute for valid names. Don't use the |
| 846 | + ``FAMILIES`` attribute for valid names. Don't use the |
847 | 847 | ``GMT_VIA_VECTOR`` or ``GMT_VIA_MATRIX`` constructs for this. Use
|
848 | 848 | ``GMT_IS_VECTOR`` and ``GMT_IS_MATRIX`` instead.
|
849 | 849 | geometry : str
|
850 | 850 | A valid GMT data geometry name (e.g., ``'GMT_IS_POINT'``). See the
|
851 |
| - ``data_geometries`` attribute for valid names. |
| 851 | + ``GEOMETRIES`` attribute for valid names. |
852 | 852 | mode : str
|
853 | 853 | How the data is to be written to the file. This option varies
|
854 | 854 | depending on the given family. See the GMT API documentation for
|
|
0 commit comments