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
87d58c37
Commit
87d58c37
authored
5 months ago
by
Sebastian Müller
🐈
Browse files
Options
Downloads
Patches
Plain Diff
tests: check for correct error in regridder
parent
857fbea5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!286
Add mask to Info object
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/adapters/test_regrid.py
+3
-1
3 additions, 1 deletion
tests/adapters/test_regrid.py
with
3 additions
and
1 deletion
tests/adapters/test_regrid.py
+
3
−
1
View file @
87d58c37
"""
Unit tests for data info propagation.
"""
import
unittest
from
datetime
import
datetime
,
timedelta
...
...
@@ -10,6 +11,7 @@ from finam import (
UNITS
,
CellType
,
Composition
,
FinamDataError
,
FinamMetaDataError
,
Info
,
Location
,
...
...
@@ -110,7 +112,7 @@ class TestRegrid(unittest.TestCase):
(
source
.
outputs
[
"
Output
"
]
>>
RegridNearest
()
>>
sink
.
inputs
[
"
Input
"
])
with
self
.
assertRaises
(
NotImplemented
Error
):
with
self
.
assertRaises
(
FinamData
Error
):
composition
.
connect
()
def
test_regrid_nearest_crs
(
self
):
...
...
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