Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add R-noplot to COMMON_OPTIONS #1505

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
change docstrings to use R-noplot in non-plotting modules
  • Loading branch information
willschlitzer committed Sep 13, 2021
commit 480a413ac8881aa9f580f993708c07deab981536
1 change: 1 addition & 0 deletions pygmt/src/grd2cpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ def grd2cpt(grid, **kwargs):
Produce a wrapped (cyclic) color table that endlessly repeats its
range. Note that ``cyclic=True`` cannot be set together with
``categorical=True``.
{R-noplot}
{V}
"""
if "W" in kwargs and "Ww" in kwargs:
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/grdclip.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def grdclip(grid, **kwargs):
outgrid : str or None
The name of the output netCDF file with extension .nc to store the grid
in.
{R}
{R-noplot}
above : str or list or tuple
[*high*, *above*].
Set all data[i] > *high* to *above*.
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/grdcut.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def grdcut(grid, **kwargs):
The name of the output netCDF file with extension .nc to store the grid
in.
{J}
{R}
{R-noplot}
extend : bool or int or float
Allow grid to be extended if new ``region`` exceeds existing
boundaries. Give a value to initialize nodes outside current region.
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/grdfill.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def grdfill(grid, **kwargs):
**s** for bicubic spline (optionally append a *tension*
parameter [Default is no tension]).

{R}
{R-noplot}
{V}

Returns
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/grdfilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def grdfilter(grid, **kwargs):
nans : str or float
**i**\|\ **p**\|\ **r**.
Determine how NaN-values in the input grid affects the filtered output.
{R}
{R-noplot}
toggle : bool
Toggle the node registration for the output grid so as to become the
opposite of the input grid. [Default gives the same registration as the
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/grdinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def grdinfo(grid, **kwargs):
grid : str or xarray.DataArray
The file name of the input grid or the grid loaded as a DataArray.
This is the only required parameter.
{R}
{R-noplot}
per_column : str or bool
**n**\|\ **t**.
Formats the report using tab-separated fields on a single line. The
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/grdlandmask.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def grdlandmask(**kwargs):
The name of the output netCDF file with extension .nc to store the grid
in.
{I}
{R}
{R-noplot}
{A}
resolution : str
*res*\[\ **+f**\]. Selects the resolution of the data set to use
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/grdproject.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def grdproject(grid, **kwargs):
When set to ``True`` transforms grid from rectangular to
geographical [Default is False].
{J}
{R}
{R-noplot}
{V}
{n}
{r}
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/grdsample.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def grdsample(grid, **kwargs):
The name of the output netCDF file with extension .nc to store the grid
in.
{I}
{R}
{R-noplot}
translate : bool
Translate between grid and pixel registration; if the input is
grid-registered, the output will be pixel-registered and vice-versa.
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/grdtrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def grdtrack(points, grid, newcolname=None, outfile=None, **kwargs):
nearest distance nodes along the cross-profiles. We write 13 output
columns per track: *dist, lonc, latc, distc, azimuthc, zc, lonl, latl,
distl, lonr, latr, distr, width*.
{R}
{R-noplot}
no_skip : bool
Do *not* skip points that fall outside the domain of the grid(s)
[Default only output points within grid domain].
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/sphdistance.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def sphdistance(table, **kwargs):
The name of the output netCDF file with extension .nc to store the grid
in.
{I}
{R}
{R-noplot}
{V}

Returns
Expand Down
4 changes: 1 addition & 3 deletions pygmt/src/surface.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ def surface(x=None, y=None, z=None, data=None, **kwargs):

{I}

region : str or list
*xmin/xmax/ymin/ymax*\[**+r**][**+u**\ *unit*].
Specify the region of interest.
{R-noplot}

outgrid : str
Optional. The file name for the output netcdf file with extension .nc
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/xyz2grd.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def xyz2grd(table, **kwargs):
Optional. The name of the output netCDF file with extension .nc to
store the grid in.
{I}
{R}
{R-noplot}
{V}

Returns
Expand Down