Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ebfm/coupling/couplers/yacCoupler.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import yac
import numpy as np

from ebfm import logging
from ebfm.core import logging

from .base import Coupler, Grid, Dict, CouplingConfig

Expand Down
2 changes: 1 addition & 1 deletion src/ebfm/coupling/fields/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: BSD-3-Clause

from coupling.components.base import Component
from ebfm.coupling.components.base import Component
from dataclasses import dataclass
from typing import Set, Callable

Expand Down
2 changes: 1 addition & 1 deletion src/ebfm/coupling/fields/yacField.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: BSD-3-Clause

from coupling.fields.base import Field
from .base import Field
from dataclasses import dataclass, replace
import yac # should not be needed here. Maybe consider actually having a YACField inherit from Field?

Expand Down
2 changes: 1 addition & 1 deletion src/ebfm/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def main():
logger.debug("Received the following data from Elmer/Ice:", data_from_elmer)

IN["h"] = data_from_elmer["h"]
if coupler.couple_to_icon_atmo:
if coupler.has_coupling_to("icon_atmo"):
grid["z"] = IN["h"][0].ravel()
Comment thread
matthias-ibach marked this conversation as resolved.
Resolved
# TODO add gradient field later
# IN['dhdx'] = data_from_elmer('dhdx')
Expand Down