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
Commits
3e54b7e1
Commit
3e54b7e1
authored
1 year ago
by
Sebastian Müller
🐈
Browse files
Options
Downloads
Patches
Plain Diff
Grid: correctly reshape mask when casting grid to unstructured
parent
1966af67
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!258
Grid mask support
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/finam/data/grid_spec.py
+5
-1
5 additions, 1 deletion
src/finam/data/grid_spec.py
with
5 additions
and
1 deletion
src/finam/data/grid_spec.py
+
5
−
1
View file @
3e54b7e1
...
...
@@ -144,7 +144,11 @@ class RectilinearGrid(StructuredGrid):
order
=
self
.
order
,
axes_names
=
self
.
axes_names
,
crs
=
self
.
crs
,
mask
=
self
.
mask
,
mask
=
(
self
.
mask
if
self
.
mask
is
None
else
self
.
mask
.
reshape
(
-
1
,
order
=
self
.
order
)
),
)
@property
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment