File tree 3 files changed +39
-2
lines changed
3 files changed +39
-2
lines changed Original file line number Diff line number Diff line change
1
+ {{ fullname | escape | underline }}
2
+
3
+ .. currentmodule :: {{ module }}
4
+
5
+ .. autoclass :: {{ objname }}
6
+ :members:
7
+ :member-order: bysource
Original file line number Diff line number Diff line change @@ -195,6 +195,20 @@ Getting metadata from tabular or grid data:
195
195
info
196
196
grdinfo
197
197
198
+ Enums
199
+ -----
200
+
201
+ .. currentmodule :: pygmt.enums
202
+
203
+ .. autosummary ::
204
+ :toctree: generated
205
+ :nosignatures:
206
+ :template: autosummary/enums.rst
207
+
208
+ GridRegistration
209
+ GridType
210
+
211
+ .. currentmodule :: pygmt
198
212
199
213
Miscellaneous
200
214
-------------
@@ -205,8 +219,6 @@ Miscellaneous
205
219
which
206
220
show_versions
207
221
208
- .. currentmodule :: pygmt
209
-
210
222
Datasets
211
223
--------
212
224
Original file line number Diff line number Diff line change @@ -37,3 +37,21 @@ class GridFormat(IntEnum):
37
37
GD = 22 #: Import through GDAL
38
38
EI = 23 #: ESRI Arc/Info ASCII Grid Interchange format (ASCII integer)
39
39
EF = 24 #: ESRI Arc/Info ASCII Grid Interchange format (ASCII float)
40
+
41
+
42
+ class GridRegistration (IntEnum ):
43
+ """
44
+ Enum for the grid registration.
45
+ """
46
+
47
+ GRIDLINE = 0 #: Gridline registration
48
+ PIXEL = 1 #: Pixel registration
49
+
50
+
51
+ class GridType (IntEnum ):
52
+ """
53
+ Enum for the grid type.
54
+ """
55
+
56
+ CARTESIAN = 0 #: Cartesian grid
57
+ GEOGRAPHIC = 1 #: Geographic grid
You can’t perform that action at this time.
0 commit comments