Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
larsbuntemeyer committed Nov 16, 2024
1 parent e28ca8a commit e8801cb
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions ci/test_domains.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}


df = pd.read_csv("CORDEX-CMIP6_rotated_grids.csv", index_col="domain_id")
# df = pd.read_csv("CORDEX-CMIP6_rotated_grids.csv", index_col="domain_id")


@pytest.fixture
Expand Down Expand Up @@ -84,10 +84,6 @@ def check_boundaries(df):
return {region: check_boundary(table) for region, table in df.groupby("region")}


def check_scales(table):
return {region: check_boundary(table) for region, table in df.groupby("region")}


def test_boundaries(table):
checks = check_boundaries(table)
print("Checking boundaries")
Expand All @@ -100,6 +96,6 @@ def test_boundaries(table):

def test_scales(table):
print("Checking correct scaling")
for region, table in df.groupby("region"):
for region, table in table.groupby("region"):
if region not in [7]:
check_scale(table)

0 comments on commit e8801cb

Please sign in to comment.