Skip to content

Commit

Permalink
Update variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
samkellerhals committed Jan 3, 2024
1 parent f576f48 commit 43fa823
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
DATA_URIS_APE,
GLOBAL_EXPERIMENT,
REGIONAL_EXPERIMENT,
SERIALIZED_DATA_BASEPATH,
SERIALIZED_DATA_PATH,
create_icon_serial_data_provider,
get_datapath_for_experiment,
get_processor_properties_for_run,
Expand All @@ -40,7 +40,7 @@ def processor_props(request):

@pytest.fixture(scope="session")
def ranked_data_path(processor_props):
return get_ranked_data_path(SERIALIZED_DATA_BASEPATH, processor_props)
return get_ranked_data_path(SERIALIZED_DATA_PATH, processor_props)


@pytest.fixture
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def get_serialized_data_root_path() -> Path:


SERIALIZED_DATA_ROOT = get_serialized_data_root_path()
SERIALIZED_DATA_BASEPATH = SERIALIZED_DATA_ROOT.joinpath("ser_icondata")
SERIALIZED_DATA_PATH = SERIALIZED_DATA_ROOT.joinpath("ser_icondata")

# TODO: a run that contains all the fields needed for dycore, diffusion, interpolation fields needs to be consolidated
DATA_URIS = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

from icon4py.model.common.decomposition.definitions import SingleNodeRun
from icon4py.model.common.test_utils.datatest_utils import (
SERIALIZED_DATA_BASEPATH,
SERIALIZED_DATA_PATH,
create_icon_serial_data_provider,
get_datapath_for_experiment,
get_processor_properties_for_run,
Expand All @@ -25,7 +25,7 @@

def get_icon_grid():
processor_properties = get_processor_properties_for_run(SingleNodeRun())
ranked_path = get_ranked_data_path(SERIALIZED_DATA_BASEPATH, processor_properties)
ranked_path = get_ranked_data_path(SERIALIZED_DATA_PATH, processor_properties)
data_path = get_datapath_for_experiment(ranked_path)
icon_data_provider = create_icon_serial_data_provider(data_path, processor_properties)
grid_savepoint = icon_data_provider.from_savepoint_grid()
Expand Down

0 comments on commit 43fa823

Please sign in to comment.