Skip to content

Commit 5a83dd4

Browse files
authored
Documentation (#293)
* cdms_4 doctest * add other chapters * finish chapter 4 * add chapter 5 * add chapter 6 * cdms chapter 6 * fix TOC * add chapter 7 and appendix * merge docs * add requirements.txt * remove cdat_info * remote cdat_info * fix latex_logo png * pin pyopenssl to 17.2.0 due to myproxyclient failure in py3 * update TOC * work on tables and setup * try to force jquery 3.1 * just copy js script in _static * add highlight python * add sample dataset page * add sample dataset page * work on tables for cdms_2.rst * continue cdms2 documentations * update cdms2 tables * update sections * update table * finish chapter 2 * fix litteral error * unlink .dodsrc for cdscan * First changes from Tanya * some change in chapter 1 and 2 * some changes in Chapter 2 * fix tables * Some changes to Chapter 2 * Some Changes to Chapter 2 * Some changes made to Chapters 1, 2 and 4 * Some changes to Chapter 2 * Some Changes made to Chapter 2 * Some changes to Chapters 2, 3 and 4 * Some changes made to 1 through Appendix * Some Changes made to Chapter 2 * Some Changes to Chapters 1, 2, 3, 6 and Appendix * Some changes made to Chapters 1 thru 7 and appendix * Some changes to Chpaters 1, 2 and 3 * Changes made to Chapters 1, 4, 5 and Appendix * Some changes to Chapter 2 and 4 * Some Changes to Images, Chapter 3 and Appendix * update logo * add my logo * fix chapter 1 test * Some changes made to Chapters 2, 3 and 5 * Some Changes to Chapters 1 and 2 * Some changes to Appendix * update banner/footer and version * Some Changes to Chapters 1, 2, 3 and appendix * change u to uold in example * Some changes to Chapters 2, 4, 5 and 6 * Some changes to Regrid 2, Lib, esmf, gsRegrid and horizontal * Changes made to Chapters 1-7 and sample data * fix API documentation * rename regrid2 directory and delete print message * add module API files * add future and mock requirements * get cwd for readthedocs * Changes made to API * Changes made to API * Changes made to API * Changes to API * test rtd with mock * add future for readthedocs * create git.py in ../.. * add esmf * add print statements for regrid2 * add print for libregrid2 * restore regrid2.Lib for readthedocs * add mock modules * add git.py * try with new mock list * force git.py * force git.py * try readthedocs.yml file * fix readthedocs maping file * change type pdb to pdf * typo requirements.yml * add dependencies * add dependencies and change conf.yml * change API.rst and other rst files * Changes to API * UVCDAT_ANONYMOUS_LOG set to false * check if git.py is there * add gcc to environment.yml * try docker environment.yml * remove git.py * chage Libregrid to regrid2 * revert * revert * add cdms2 class * delet cdms2 class * delet cdms2 class * change conf.py os.path * Changes to API * Changes made to API * Changes to API * Changes made to API * Changes to API * Changes made to API * Changes made to API * Changes to API * Changes to API * Changes made to API * Changes made to API * Changes made to API * push latest rst files * Changes made to API * Made some changes to API * update documentations * Changes made to API * Changes made to API * Changes made to API * Changes made to Section 2 and API * Changes made to Section 2 * Changes made to Chapter 2 * Changes made to Section 2 * Changes made to Chapters 2, 3, 4,5 and 6 * Changes made to Sections 2, 4, 7 and Appendix * Changes made to Chapter 6 and Appendix * Changes made to Section 2 * update summary table for API * add generated files * Changes made to al sections * Changes made to Section 2 and API * Changes made to 2 and API * Made changes to sections 1 and 2 * Issue#231 (#232) * fix #225 passing transiant variable as axis * Fix macOSX * fix ESMF and NPY_STRING * fix data._mask comparison for numpy 1.14 * failing test from vcs added here (#234) * failing test from vcs added here * ok test passes again * reverted for now * commented out test for @durack1 * Cdmsdocsmerge (#223) * First cdms2 documentation revamp * latest changes * add new files and work on avariable documentations * fix index order * revamp documentation * Fixing cdms documentation (docstrings) * update documentation * continue to work on docs * sphinx doctest in manual.rst * chapter 1 continu * add requirments.txt for read-the-doc * move requirements.txt into docs dir * add requirements * Chapter 2 * add chapter 3 * finish chapter 3 started chapter 4 * flake8 python files * chapter 4 regridding * cdms_4 doctest * add other chapters * finish chapter 4 * add chapter 5 * add chapter 6 * cdms chapter 6 * fix TOC * add chapter 7 and appendix * merge docs * add requirements.txt * remove cdat_info * remote cdat_info * fix latex_logo png * pin pyopenssl to 17.2.0 due to myproxyclient failure in py3 * update TOC * work on tables and setup * try to force jquery 3.1 * just copy js script in _static * add highlight python * add sample dataset page * add sample dataset page * work on tables for cdms_2.rst * continue cdms2 documentations * update cdms2 tables * update sections * update table * finish chapter 2 * fix litteral error * unlink .dodsrc for cdscan * First changes from Tanya * some change in chapter 1 and 2 * some changes in Chapter 2 * fix tables * Some changes to Chapter 2 * Some Changes to Chapter 2 * Some changes made to Chapters 1, 2 and 4 * Some changes to Chapter 2 * Some Changes made to Chapter 2 * Some changes to Chapters 2, 3 and 4 * Some changes made to 1 through Appendix * Some Changes made to Chapter 2 * Some Changes to Chapters 1, 2, 3, 6 and Appendix * Some changes made to Chapters 1 thru 7 and appendix * Some changes to Chpaters 1, 2 and 3 * Changes made to Chapters 1, 4, 5 and Appendix * Some changes to Chapter 2 and 4 * Some Changes to Images, Chapter 3 and Appendix * update logo * add my logo * fix chapter 1 test * Fix python3 slice issue(setitem) and flake8 (#243) * fix python 3 aggregation issue and flake8 (#244) * Fix python3 slice issue(setitem) and flake8 * update to libnetcdf 4.6 * Netcdf46 (#249) * Fix python3 slice issue(setitem) and flake8 * update to libnetcdf 4.6 * try circleci unstable label * try version 2 circleci * try version 2 circleci * change workflow name * change cdtime to cdms * add certificate to circleci * add fix conda-upload in circleci 2.0 * update prep_for_build version * fix curl command * fix cicleci for cdms * use unstable channel change uvcdat for cdat * build cdms on circleci 2.0 * fix circleci config.yml * change Users/distiler to /Users/denisnadeau * add gcc_linux * add LDSHARED for linux * disable cert and py results * add gcc_linux-64 * change cdscan link * fix myproxy * add esmf and esmpy to py3 env * Revert "Netcdf46 (#249)" (#250) This reverts commit a9e29ea. * Netcdf46 (#251) * Fix python3 slice issue(setitem) and flake8 * update to libnetcdf 4.6 * try circleci unstable label * try version 2 circleci * try version 2 circleci * change workflow name * change cdtime to cdms * add certificate to circleci * add fix conda-upload in circleci 2.0 * update prep_for_build version * fix curl command * fix cicleci for cdms * use unstable channel change uvcdat for cdat * build cdms on circleci 2.0 * fix circleci config.yml * change Users/distiler to /Users/denisnadeau * add gcc_linux * add LDSHARED for linux * disable cert and py results * add gcc_linux-64 * change cdscan link * fix myproxy * add esmf and esmpy to py3 env * inverse dodsrc and curl commands * move unlink above cdscan test * fix ESGF test * add new dodsrc files * create dodsrc on-demand * put back tests for unstable * Netcdf46 (#252) * Fix python3 slice issue(setitem) and flake8 * update to libnetcdf 4.6 * try circleci unstable label * try version 2 circleci * try version 2 circleci * change workflow name * change cdtime to cdms * add certificate to circleci * add fix conda-upload in circleci 2.0 * update prep_for_build version * fix curl command * fix cicleci for cdms * use unstable channel change uvcdat for cdat * build cdms on circleci 2.0 * fix circleci config.yml * change Users/distiler to /Users/denisnadeau * add gcc_linux * add LDSHARED for linux * disable cert and py results * add gcc_linux-64 * change cdscan link * fix myproxy * add esmf and esmpy to py3 env * inverse dodsrc and curl commands * move unlink above cdscan test * fix ESGF test * add new dodsrc files * create dodsrc on-demand * put back tests for unstable * instal anaconda-client before calling conda-upload * Changes made to API * Made some changes to API * Changes made to API * Changes made to API * Changes made to API * Changes made to Section 2 and API * Changes made to Section 2 * Changes made to Chapter 2 * Changes made to Section 2 * Changes made to Chapters 2, 3, 4,5 and 6 * Changes made to Sections 2, 4, 7 and Appendix * Changes made to Chapter 6 and Appendix * Changes made to Section 2 * Changes made to al sections * Changes made to Section 2 and API * Changes made to 2 and API * Made changes to sections 1 and 2 * Issue#231 (#232) * fix #225 passing transiant variable as axis * Fix macOSX * fix ESMF and NPY_STRING * fix data._mask comparison for numpy 1.14 * Fix python3 slice issue(setitem) and flake8 (#243) * fix python 3 aggregation issue and flake8 (#244) * Fix python3 slice issue(setitem) and flake8 * update to libnetcdf 4.6 * Netcdf46 (#249) * Fix python3 slice issue(setitem) and flake8 * update to libnetcdf 4.6 * try circleci unstable label * try version 2 circleci * try version 2 circleci * change workflow name * change cdtime to cdms * add certificate to circleci * add fix conda-upload in circleci 2.0 * update prep_for_build version * fix curl command * fix cicleci for cdms * use unstable channel change uvcdat for cdat * build cdms on circleci 2.0 * fix circleci config.yml * change Users/distiler to /Users/denisnadeau * add gcc_linux * add LDSHARED for linux * disable cert and py results * add gcc_linux-64 * change cdscan link * fix myproxy * add esmf and esmpy to py3 env * Revert "Netcdf46 (#249)" (#250) This reverts commit a9e29ea. * Netcdf46 (#251) * Fix python3 slice issue(setitem) and flake8 * update to libnetcdf 4.6 * try circleci unstable label * try version 2 circleci * try version 2 circleci * change workflow name * change cdtime to cdms * add certificate to circleci * add fix conda-upload in circleci 2.0 * update prep_for_build version * fix curl command * fix cicleci for cdms * use unstable channel change uvcdat for cdat * build cdms on circleci 2.0 * fix circleci config.yml * change Users/distiler to /Users/denisnadeau * add gcc_linux * add LDSHARED for linux * disable cert and py results * add gcc_linux-64 * change cdscan link * fix myproxy * add esmf and esmpy to py3 env * inverse dodsrc and curl commands * move unlink above cdscan test * fix ESGF test * add new dodsrc files * create dodsrc on-demand * put back tests for unstable * Netcdf46 (#252) * Fix python3 slice issue(setitem) and flake8 * update to libnetcdf 4.6 * try circleci unstable label * try version 2 circleci * try version 2 circleci * change workflow name * change cdtime to cdms * add certificate to circleci * add fix conda-upload in circleci 2.0 * update prep_for_build version * fix curl command * fix cicleci for cdms * use unstable channel change uvcdat for cdat * build cdms on circleci 2.0 * fix circleci config.yml * change Users/distiler to /Users/denisnadeau * add gcc_linux * add LDSHARED for linux * disable cert and py results * add gcc_linux-64 * change cdscan link * fix myproxy * add esmf and esmpy to py3 env * inverse dodsrc and curl commands * move unlink above cdscan test * fix ESGF test * add new dodsrc files * create dodsrc on-demand * put back tests for unstable * instal anaconda-client before calling conda-upload * Fix table titles * Change made to Section 4 * fix bindex issue in hgrid * Changes to all * Corrections made to API Lib * Changes to API * fix ascii art * Changes to Sections 2, 4 and 5 * Changes made to all * Changes made to Sections 2, 6 and Appendix * Changes made to Section 2 * Changes made to Section 2 * Changes made to Section 2 and 5 * Changes to Sections 2, 6 and 7 * Changes to API * Changes made to API * Made Changes to API * Changes made to API * Changes made to Section 4 and 7 * Changes made to API * Changes made to API * Revisit run tests (#262) * migrate run_tests.py to use TestRunnerBase * remove accidentally added tests/coverage.json * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * add cacert.pem in run_tests.py when running cdms test within the lab * add cacert.pem in run_tests.py when running cdms test within the lab * add cacert.pem in run_tests.py when running cdms test within the lab * add cacert.pem in run_tests.py when running cdms test within the lab - rerun tests * add cacert.pem in run_tests.py when running cdms test within the lab - remove install from -c cdat/label/unstable * put back -c cdat/label/unstable * fix Axis.py * update documentation * fix environment dependencies * add/remote generated files * try to fix API.rst * add regrid2 to docs * Changes made to API * fix space with parameters * fix readthedocs using numpydoc * update environment * fix some autodocs * add hgrid * Changes made to API * Changes made to API * fix avariable bad location methods * Changes to Appendix and API * Changes to Chapter 1 and 2 * Changes made to Section 2 * Changes made to Section 2 * Changes made to Section 2 * Changes to sections 1, 2, 3 and 4 * Changes to section 2 * Changes made to entire docuemnt * Changes to Section 1 and 2 * Changes made to Section 2 * Changes made to Sections 2 thru 6 * Changes made to Chapters 3 and 6 * add jupyter notebook * Changes to all * Changes to Jupyter Notebooks * Changes to all * update documentation for version 3.1.0 * merge documentations * change banner and sidebar colors * Changes to API * fix style sheet * Changes to API * Changes to API * Changes to API and Sections * Changes to all * will this fix master? (#292) * remoe trailing white space for flake8
1 parent 7e8de8f commit 5a83dd4

28 files changed

+1036
-442
lines changed

Lib/MV2.py

Lines changed: 94 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,13 @@ def _extractMetadata(a, axes=None, attributes=None,
7676

7777
class var_unary_operation:
7878
def __init__(self, mafunc):
79-
""" var_unary_operation(mafunc)
80-
mafunc is an numpy.ma masked_unary_function.
79+
"""
80+
Parameters
81+
----------
82+
83+
var_unary_operation(mafunc)
84+
85+
mafunc is an numpy.ma masked_unary_function.
8186
"""
8287
self.mafunc = mafunc
8388
self.__doc__ = mafunc.__doc__
@@ -91,8 +96,13 @@ def __call__(self, a, **kwargs):
9196

9297
class var_unary_operation_with_axis:
9398
def __init__(self, mafunc):
94-
""" var_unary_operation(mafunc)
95-
mafunc is an numpy.ma masked_unary_function.
99+
"""
100+
Parameters
101+
----------
102+
103+
var_unary_operation(mafunc)
104+
105+
mafunc is an numpy.ma masked_unary_function.
96106
"""
97107
self.mafunc = mafunc
98108
self.__doc__ = mafunc.__doc__
@@ -108,14 +118,24 @@ def __call__(self, a, axis=0, **kwargs):
108118

109119

110120
def commonDomain(a, b, omit=None):
111-
"""commonDomain(a,b) tests that the domains of variables/arrays a and b are equal,
112-
and returns the common domain if equal, or None if not equal.
121+
"""
122+
Parameters
123+
----------
124+
125+
commonDomain(a,b)
126+
tests that the domains of variables/arrays a and b are equal,
127+
and
113128
114-
The domains may differ in that one domain may have leading axes not common
115-
to the other; the result domain will contain those axes.
129+
Returns
130+
-------
116131
117-
If <omit> is specified, as an integer i, skip comparison of the ith dimension
118-
and return None for the ith (common) dimension.
132+
the common domain if equal, or None if not equal.
133+
134+
The domains may differ in that one domain may have leading
135+
axes not common to the other; the result domain will contain those axes.
136+
137+
If <omit> is specified, as an integer i, skip comparison of the ith dimension
138+
and return None for the ith (common) dimension.
119139
"""
120140

121141
if isinstance(b, AbstractVariable):
@@ -126,8 +146,14 @@ def commonDomain(a, b, omit=None):
126146

127147

128148
def commonAxes(a, bdom, omit=None):
129-
"""Helper function for commonDomain. 'a' is a variable or array,
130-
'b' is an axislist or None.
149+
"""Helper function for commonDomain.
150+
151+
Parameters
152+
----------
153+
154+
'a' is a variable or array,
155+
156+
'b' is an axislist or None.
131157
"""
132158
if isinstance(a, AbstractVariable) and bdom is not None:
133159
adom = a.getAxisList()
@@ -181,9 +207,18 @@ def commonAxes(a, bdom, omit=None):
181207

182208

183209
def commonGrid(a, b, axes):
184-
"""commonGrid(a,b,axes) tests if the grids associated with variables a, b are equal,
185-
and consistent with the list of axes. If so, the common grid is returned, else None
186-
is returned. a and b can be numpy arrays, in which case the result is None.
210+
"""
211+
Parameters
212+
----------
213+
214+
commonGrid(a,b,axes)
215+
216+
tests if the grids associated with variables a, b are equal
217+
and consistent with the list of axes.
218+
219+
If so, the common grid is returned, else None is returned.
220+
221+
a and b can be numpy arrays, in which case the result is None.
187222
188223
The common grid is 'consistent' with axes if the grid axes (e.g., the axes of
189224
latitude and longitude coordinate variables) are members of the list 'axes'.
@@ -232,8 +267,13 @@ def commonGrid1(a, gb, axes):
232267

233268
class var_binary_operation:
234269
def __init__(self, mafunc):
235-
""" var_binary_operation(mafunc)
236-
mafunc is an numpy.ma masked_binary_function.
270+
"""
271+
Parameters
272+
----------
273+
274+
var_binary_operation(mafunc)
275+
276+
mafunc is an numpy.ma masked_binary_function.
237277
"""
238278
self.mafunc = mafunc
239279
self.__doc__ = mafunc.__doc__
@@ -1015,7 +1055,12 @@ def reshape(a, newshape, axes=None, attributes=None, id=None, grid=None):
10151055

10161056

10171057
def resize(a, new_shape, axes=None, attributes=None, id=None, grid=None):
1018-
"""resize(a, new_shape) returns a new array with the specified shape.
1058+
"""resize(a, new_shape)
1059+
1060+
Returns
1061+
-------
1062+
a new array with the specified shape.
1063+
10191064
The original array's total size can be any size."""
10201065
ignore, attributes, id, ignore = _extractMetadata(a, axes, attributes, id)
10211066
if axes is not None:
@@ -1031,9 +1076,13 @@ def resize(a, new_shape, axes=None, attributes=None, id=None, grid=None):
10311076

10321077
def masked_array(a, mask=None, fill_value=None,
10331078
axes=None, attributes=None, id=None):
1034-
"""masked_array(a, mask=None) =
1035-
array(a, mask=mask, copy=0, fill_value=fill_value)
1036-
Use fill_value(a) if None.
1079+
"""
1080+
Parameters
1081+
----------
1082+
masked_array(a, mask=None) =
1083+
array(a, mask=mask, copy=0, fill_value=fill_value)
1084+
1085+
Use fill_value(a) if None.
10371086
"""
10381087
maresult = numpy.ma.masked_array(
10391088
_makeMaskedArg(a),
@@ -1048,10 +1097,14 @@ def masked_array(a, mask=None, fill_value=None,
10481097
def masked_values(data, value, rtol=1.e-5, atol=1.e-8, copy=1,
10491098
savespace=0, axes=None, attributes=None, id=None):
10501099
"""
1051-
masked_values(data, value, rtol=1.e-5, atol=1.e-8)
1052-
Create a masked array; mask is None if possible.
1053-
May share data values with original array, but not recommended.
1054-
Masked where abs(data-value)<= atol + rtol * abs(value)
1100+
Parameters
1101+
----------
1102+
1103+
masked_values(data, value, rtol=1.e-5, atol=1.e-8)
1104+
1105+
Create a masked array; mask is None if possible.
1106+
May share data values with original array, but not recommended.
1107+
Masked where abs(data-value)<= atol + rtol * abs(value)
10551108
"""
10561109
maresult = numpy.ma.masked_values(_makeMaskedArg(
10571110
data), value, rtol=rtol, atol=atol, copy=copy)
@@ -1078,8 +1131,13 @@ def isMaskedVariable(x):
10781131

10791132
def set_default_fill_value(value_type, value):
10801133
"""Set the default fill value for value_type to value.
1081-
value_type is a string: 'real','complex','character','integer',or 'object'.
1082-
value should be a scalar or single-element array.
1134+
1135+
Parameters
1136+
----------
1137+
value_type is a string:
1138+
'real','complex','character','integer',or 'object'.
1139+
1140+
value should be a scalar or single-element array.
10831141
"""
10841142
if value_type == 'real':
10851143
numpy.ma.default_real_fill_value = value
@@ -1099,8 +1157,15 @@ def fromfunction(f, dimensions):
10991157

11001158

11011159
def diagonal(a, offset=0, axis1=0, axis2=1):
1102-
"""diagonal(a, offset=0, axis1=0, axis2 = 1) returns the given
1103-
diagonals defined by the two dimensions of the array.
1160+
"""
1161+
Parameters
1162+
----------
1163+
diagonal(a, offset=0, axis1=0, axis2 = 1)
1164+
1165+
Returns
1166+
-------
1167+
1168+
the given diagonals defined by the two dimensions of the array.
11041169
"""
11051170
F = getattr(a, "fill_value", 1.e20)
11061171
return TransientVariable(numpy.ma.diagonal(_makeMaskedArg(a),

Lib/avariable.py

Lines changed: 34 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ def __call__(self, *args, **kwargs):
177177
"""
178178
Selection of a subregion using selectors.
179179
180-
**Parameters:**
181-
180+
Parameters
181+
----------
182182
raw:
183183
if set to 1, return numpy.ma only
184184
squeeze:
@@ -188,8 +188,8 @@ def __call__(self, *args, **kwargs):
188188
order:
189189
if given, result is permuted into this order
190190
191-
**Returns:**
192-
191+
Returns
192+
-------
193193
Subregion selected
194194
"""
195195
# separate options from selector specs
@@ -429,12 +429,16 @@ def getConvention(self):
429429
# A child class may want to override this
430430
def getAxis(self, n):
431431
"""Get the n-th axis.
432+
432433
Parameters
433434
----------
435+
434436
n:
435437
Axis number
438+
436439
Returns
437440
-------
441+
438442
if n < 0: n = n + self.rank()
439443
self.getDomain()[n][0]"""
440444
if n < 0:
@@ -472,25 +476,24 @@ def hasCellData(self):
472476
return False
473477

474478
def getAxisListIndex(self, axes=None, omit=None, order=None):
475-
"""Return a list of indices of axis objects;
476-
477-
Note
478-
----
479-
If axes is **not** `None`, include only certain axes.
480-
less the ones specified in omit.
479+
"""
480+
Returns
481+
-------
482+
a list of indices of axis objects
481483
482-
If axes is `None`, use all axes of this variable.
484+
Note
485+
----
486+
If axes is **not** `None`, include only certain axes.
487+
less the ones specified in omit.
483488
484-
Other specificiations are as for axisMatchIndex.
489+
If axes is `None`, use all axes of this variable.
485490
486-
Returns
487-
-------
488-
a list of indices of axis objects;
491+
Other specificiations are as for axisMatchIndex.
489492
"""
490493
return axisMatchIndex(self.getAxisList(), axes, omit, order)
491494

492495
def getAxisList(self, axes=None, omit=None, order=None):
493-
"""Get the list of axis objects;
496+
"""Get the list of axis objects
494497
495498
Note
496499
----
@@ -524,9 +527,10 @@ def getMissing(self, asarray=0):
524527
asarray :
525528
'0' : scalar
526529
'1' : numpy array
527-
Return
528-
------
529-
the missing value as a scalar, or as a numpy array if asarray==1"""
530+
531+
Returns
532+
-------
533+
the missing value as a scalar, or as a numpy array if asarray==1"""
530534

531535
if hasattr(self, 'missing_value'):
532536
try:
@@ -695,16 +699,19 @@ def getLongitude(self):
695699
# Get an order string, such as "tzyx"
696700
def getOrder(self, ids=0):
697701
"""
698-
parameters
702+
Parameters
699703
----------
700-
id:
701-
0 or 1
702-
returns
704+
705+
id:
706+
0 or 1
707+
708+
Returns
703709
-------
704-
the order string, such as t, z, y, x (time, level, lat, lon).
710+
711+
the order string, such as t, z, y, x (time, level, lat, lon).
705712
706713
Note
707-
----
714+
708715
* if ids == 0 (the default) for an axis that is not t,z,x,y
709716
the order string will contain a (-) character in that location.
710717
The result string will be of the same length as the number
@@ -1176,9 +1183,10 @@ def subRegion(self, *specs, **keys):
11761183

11771184
def getValue(self, squeeze=1):
11781185
"""Get the entire set of values.
1186+
11791187
Returns
11801188
-------
1181-
All values and elimite the 1-D dimension.
1189+
All values and elimite the 1-D dimension.
11821190
"""
11831191
return self.getSlice(Ellipsis, squeeze=squeeze)
11841192

0 commit comments

Comments
 (0)