Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
finam
Manage
Activity
Members
Labels
Plan
Issues
31
Issue boards
Milestones
Code
Merge requests
3
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
9b1696ef
Commit
9b1696ef
authored
2 years ago
by
Martin Lange
Browse files
Options
Downloads
Patches
Plain Diff
write a first post on dead link error
parent
483bbebf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!143
FINAM Cookbook & Blog
Pipeline
#124225
passed with stages
in 2 minutes and 37 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/source/blog/posts/dead-link-error.rst
+61
-0
61 additions, 0 deletions
docs/source/blog/posts/dead-link-error.rst
docs/source/finam-book/cookbook/index.rst
+1
-1
1 addition, 1 deletion
docs/source/finam-book/cookbook/index.rst
docs/source/index.md
+2
-0
2 additions, 0 deletions
docs/source/index.md
with
64 additions
and
1 deletion
docs/source/blog/posts/dead-link-error.rst
0 → 100644
+
61
−
0
View file @
9b1696ef
.. post:: 27 Oct, 2022
:tags: cookbook, usage
:category: How to
:author: Martin Lange
:excerpt: 2
=============================
Dead link error - what to do?
=============================
When setting up a FINAM composition, you may encounter the scheduler complaining ``Dead link detected between...``.
This post explains what this means, and how to fix it.
Cause of the error
------------------
The error means that you linked the output of a pull-based component (i.e. without time step) to something that needs push.
This can be:
#. A push-based component (i.e. without time step), via adapters or not
#. A time-interpolating adapter
The error message will also show where the problem is.
In problem case 1:
.. code-block:: text
Output >/> RegridLinear >/> Input
Here, the problem is a push-based component on the right side.
An example could be :class:`SimplexNoise <.modules.SimplexNoise>` as source, and a push-based plot of file writer as target.
In problem case 2:
.. code-block:: text
Output >/> LinearTime >> Input
Here, the problem is a time-interpolating adapter along the link.
An example could be :class:`SimplexNoise <.modules.SimplexNoise>` as source,
and a :class:`LinearTime <.adapters.LinearTime>` adapter as shown in the above error message.
Fixing the error
----------------
Push-based target problem
^^^^^^^^^^^^^^^^^^^^^^^^^
The problem here is that both linked components have no time step, and none of them will initiate the exchange of data.
The problem can be solved by putting another component with internal time step (i.e. a sub-class of :class:`.ITimeComponent`)
between the two components. Exactly for this purpose, FINAM provides the :class:`TimeTrigger <.modules.TimeTrigger>` component.
Time-interpolating adapter problem
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Most probably, this is a misconception of the coupling setup.
As the source component has no internal time step, a time-interpolating adapter should not be required.
In cases where the setup is intentional, the same solution as for the `Push-based target problem`_ applies.
This diff is collapsed.
Click to expand it.
docs/source/finam-book/cookbook/index.rst
+
1
−
1
View file @
9b1696ef
...
...
@@ -2,7 +2,7 @@
FINAM cookbook
==============
A loose collection o
r
recipes for solving tasks and problems frequently encountered when working with FINAM.
A loose collection o
f
recipes for solving tasks and problems frequently encountered when working with FINAM.
.. postlist:: 25
:format: {title}
...
...
This diff is collapsed.
Click to expand it.
docs/source/index.md
+
2
−
0
View file @
9b1696ef
...
...
@@ -67,6 +67,8 @@ See our gallery of examples that use FINAM.
## News
News from the
[
FINAM Blog
](
blog/index
)
.
```
{postlist} 25
:format: "{title}"
:tags: announcement
...
...
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