Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
finam
Manage
Activity
Members
Labels
Plan
Issues
32
Issue boards
Milestones
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FINAM
finam
Merge requests
!279
Clarify grid dimensions in constructors
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Clarify grid dimensions in constructors
grid-docs
into
main
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Martin Lange
requested to merge
grid-docs
into
main
11 months ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
👍
0
👎
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
af5d5420
1 commit,
11 months ago
1 file
+
4
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/finam/data/grid_spec.py
+
4
−
3
Options
@@ -58,7 +58,7 @@ class RectilinearGrid(StructuredGrid):
Parameters
----------
axes : list of np.ndarray
Axes defining the coordinates in each direction (xyz order).
Axes defining the
point
coordinates in each direction (xyz order).
data_location : Location, str, int, optional
Data location in the grid, by default Location.CELLS
order : str, optional
@@ -196,6 +196,7 @@ class UniformGrid(RectilinearGrid):
dims : iterable
Dimensions of the uniform grid for each direction.
Spatial dimension will be determined by ``len(dims)``.
Dimensions refer to the number of points, independent of ``data_location``.
spacing : iterable, optional
Spacing of the uniform in each dimension. Defaults to
``(1.0, 1.0, 1.0)``. Must be positive.
@@ -303,9 +304,9 @@ class EsriGrid(UniformGrid):
Parameters
----------
ncols : int
Number of columns.
Number of
grid
columns
, in cells
.
nrows : int
Number of
row
s.
Number of
grid rows, in cell
s.
cellsize : float, optional
Cell size, by default 1.0
xllcorner : float, optional
Loading