Commit 8fe4143
authored
Add additional variable check to SCRIP reader (#1233)
* o Fix SCRIP reader to use grid_rank, bug found while reading a SCRIP grid provided in ESMPy ll1deg_grid.nc
* o Use imask instead of rank as our test cases have grids that don't have grid_rank
* o Add multiple options for checking SCRIP
* o Fix formatting
* o Use any construct for better performance and redability1 parent 30a534b commit 8fe4143
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
134 | | - | |
| 135 | + | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
| |||
0 commit comments