Skip to content

Commit 965a586

Browse files
committed
o Fix formatting
1 parent a91e443 commit 965a586

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

uxarray/io/_scrip.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ def _to_ugrid(in_ds, out_ds):
1616
source_dims_dict = {}
1717

1818
# Use imask, area or rank can be used but imask seemed to work for majority of cases
19-
if in_ds["grid_imask"].all() or in_ds["grid_rank"].all() or in_ds["grid_area"].all():
19+
if (
20+
in_ds["grid_imask"].all()
21+
or in_ds["grid_rank"].all()
22+
or in_ds["grid_area"].all()
23+
):
2024
# Create node_lon & node_lat variables from grid_corner_lat/lon
2125
# Turn latitude and longitude scrip arrays into 1D
2226
corner_lat = in_ds["grid_corner_lat"].values.ravel()

0 commit comments

Comments
 (0)