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