Skip to content

Commit

Permalink
fix long imports
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Sep 24, 2024
1 parent 647e216 commit 81f4140
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from earthkit.data.indexing.fieldlist import FieldArray
from earthkit.meteo import thermo

from anemoi.datasets.create.functions.filters.single_level_specific_humidity_to_relative_humidity import NewDataField
from .single_level_specific_humidity_to_relative_humidity import NewDataField


def execute(context, input, t, rh, q="q"):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from earthkit.data.indexing.fieldlist import FieldArray
from earthkit.meteo import thermo

from anemoi.datasets.create.functions.filters.single_level_specific_humidity_to_relative_humidity import NewDataField
from .single_level_specific_humidity_to_relative_humidity import NewDataField


def execute(context, input, t, q, rh="r"):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@

from earthkit.data.indexing.fieldlist import FieldArray
from earthkit.meteo import thermo
from single_level_specific_humidity_to_relative_humidity import NewDataField

from .single_level_specific_humidity_to_relative_humidity import NewDataField


def execute(context, input, t, td, rh="d"):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@

from earthkit.data.indexing.fieldlist import FieldArray
from earthkit.meteo import thermo
from single_level_specific_humidity_to_relative_humidity import NewDataField

from .single_level_specific_humidity_to_relative_humidity import NewDataField

EPS = 1.0e-4

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
from earthkit.data.indexing.fieldlist import FieldArray
from earthkit.meteo import thermo

from anemoi.datasets.create.functions.filters.single_level_specific_humidity_to_relative_humidity import AutoDict
from anemoi.datasets.create.functions.filters.single_level_specific_humidity_to_relative_humidity import NewDataField
from anemoi.datasets.create.functions.filters.single_level_specific_humidity_to_relative_humidity import \
pressure_at_height_level
from .single_level_specific_humidity_to_relative_humidity import AutoDict
from .single_level_specific_humidity_to_relative_humidity import NewDataField
from .single_level_specific_humidity_to_relative_humidity import pressure_at_height_level


def execute(context, input, height, t, rh, sp, new_name="2q", **kwargs):
Expand Down

0 comments on commit 81f4140

Please sign in to comment.