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

flopy.discretization.grid.Grid signature does not match docstring #1119

Closed
Olsthoorn opened this issue May 24, 2021 · 0 comments
Closed

flopy.discretization.grid.Grid signature does not match docstring #1119

Olsthoorn opened this issue May 24, 2021 · 0 comments
Assignees

Comments

@Olsthoorn
Copy link

Here is the signature

flopy.discretization.grid.Grid(grid_type=None, top=None. botm=None, idomain=None, lenuni=None, epsg=None, proj4=None, prj=None, xoff=0.0, yoff=0.0, angrot=0.0)

And here is the docstring (from the source), they are complely incompatible

class Grid(object):
"""
Base class for a structured or unstructured model grid

Parameters
----------
grid_type : enumeration
    type of model grid ('structured', 'vertex_layered',
    'vertex_unlayered')
top : ndarray(np.float)
    top elevations of cells in topmost layer
botm : ndarray(np.float)
    bottom elevations of all cells
idomain : ndarray(np.int)
    ibound/idomain value for each cell
lenuni : ndarray(np.int)
    model length units
origin_loc : str
    Corner of the model grid that is the model origin
    'ul' (upper left corner) or 'll' (lower left corner)
origin_x : float
    x coordinate of the origin point (lower left corner of model grid)
    in the spatial reference coordinate system
origin_y : float
    y coordinate of the origin point (lower left corner of model grid)
    in the spatial reference coordinate system
rotation : float
    rotation angle of model grid, as it is rotated around the origin point
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants