|
44 | 44 | "GMT_IS_SURFACE", |
45 | 45 | ] |
46 | 46 |
|
47 | | -MODES = ["GMT_CONTAINER_ONLY", "GMT_OUTPUT"] |
| 47 | +MODES = ["GMT_CONTAINER_ONLY", "GMT_IS_OUTPUT"] |
48 | 48 |
|
49 | 49 | REGISTRATIONS = ["GMT_GRID_PIXEL_REG", "GMT_GRID_NODE_REG"] |
50 | 50 |
|
@@ -512,13 +512,13 @@ def create_data(self, family, geometry, mode, **kwargs): |
512 | 512 | ---------- |
513 | 513 | family : str |
514 | 514 | A valid GMT data family name (e.g., ``'GMT_IS_DATASET'``). See the |
515 | | - ``data_families`` attribute for valid names. |
| 515 | + ``FAMILIES`` attribute for valid names. |
516 | 516 | geometry : str |
517 | 517 | A valid GMT data geometry name (e.g., ``'GMT_IS_POINT'``). See the |
518 | | - ``data_geometries`` attribute for valid names. |
| 518 | + ``GEOMETRIES`` attribute for valid names. |
519 | 519 | mode : str |
520 | | - A valid GMT data mode (e.g., ``'GMT_OUTPUT'``). See the |
521 | | - ``data_modes`` attribute for valid names. |
| 520 | + A valid GMT data mode (e.g., ``'GMT_IS_OUTPUT'``). See the |
| 521 | + ``MODES`` attribute for valid names. |
522 | 522 | dim : list of 4 integers |
523 | 523 | The dimensions of the dataset. See the documentation for the GMT C |
524 | 524 | API function ``GMT_Create_Data`` (``src/gmt_api.c``) for the full |
@@ -903,12 +903,12 @@ def write_data(self, family, geometry, mode, wesn, output, data): |
903 | 903 | ---------- |
904 | 904 | family : str |
905 | 905 | A valid GMT data family name (e.g., ``'GMT_IS_DATASET'``). See the |
906 | | - ``data_families`` attribute for valid names. Don't use the |
| 906 | + ``FAMILIES`` attribute for valid names. Don't use the |
907 | 907 | ``GMT_VIA_VECTOR`` or ``GMT_VIA_MATRIX`` constructs for this. Use |
908 | 908 | ``GMT_IS_VECTOR`` and ``GMT_IS_MATRIX`` instead. |
909 | 909 | geometry : str |
910 | 910 | A valid GMT data geometry name (e.g., ``'GMT_IS_POINT'``). See the |
911 | | - ``data_geometries`` attribute for valid names. |
| 911 | + ``GEOMETRIES`` attribute for valid names. |
912 | 912 | mode : str |
913 | 913 | How the data is to be written to the file. This option varies |
914 | 914 | depending on the given family. See the GMT API documentation for |
|
0 commit comments