Skip to content

Commit

Permalink
pushing after installing precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
ajsockol committed Jul 18, 2024
1 parent 03cedfe commit ca6e249
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion act/utils/data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1421,7 +1421,7 @@ def convert_2d_to_1d(
dim_labels=None,
):
"""
Function to convert a single 2D variable into multiple 1D
Function to convert a single 2D variable into multiple 1D
variables using the second dimension in the new variable name.
Parameters
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/test_data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ def test_calculate_percentages():


def test_convert_2d_to_1d():
# Create a sample dataset
# Create a sample dataset
data = np.array([[1, 2], [3, 4], [5, 6]])
ds = xr.Dataset(
{'var': (('time', 'level'), data)}, coords={'time': [0, 1, 2], 'level': [10, 20]}
Expand Down

0 comments on commit ca6e249

Please sign in to comment.