We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a91e443 commit 965a586Copy full SHA for 965a586
1 file changed
uxarray/io/_scrip.py
@@ -16,7 +16,11 @@ def _to_ugrid(in_ds, out_ds):
16
source_dims_dict = {}
17
18
# 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():
+ if (
20
+ in_ds["grid_imask"].all()
21
+ or in_ds["grid_rank"].all()
22
+ or in_ds["grid_area"].all()
23
+ ):
24
# Create node_lon & node_lat variables from grid_corner_lat/lon
25
# Turn latitude and longitude scrip arrays into 1D
26
corner_lat = in_ds["grid_corner_lat"].values.ravel()
0 commit comments