Skip to content

Commit

Permalink
Import cfunits in Convert init
Browse files Browse the repository at this point in the history
  • Loading branch information
OpheliaMiralles committed Nov 21, 2024
1 parent 3fa63da commit 983946b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/anemoi/transform/filters/rescale.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
# nor does it submit to any jurisdiction.


from cfunits import Units

from . import filter_registry
from .base import SimpleFilter

Expand Down Expand Up @@ -67,6 +65,7 @@ def __init__(
unit_out,
param
):
from cfunits import Units
u0 = Units(unit_in)
u1 = Units(unit_out)
x1, x2 = 0.0, 1.0
Expand Down

0 comments on commit 983946b

Please sign in to comment.