Commit 555b135
authored
Ensure plotting xarray grids with different central meridians work on some projections (#560)
Adds tests to make sure that plotting xarray.DataArray grids
at different central meridians work properly for different projection types.
* Test different central meridians and projection systems
Testing meridians 0, 123 and 180;
for projections H, Q, S and W.
* Improve tests on different central meridians and standard parallels
Split up tests into projections that only take a
central meridian argument (e.g. H, W); and
those that also take a standard parallel
argument (e.g. Q and S).
* Mention fullname of projections in test_grdimage_central_meridians* docs
* Expect some failures on Cylindrical Equidistant (Q) plots
Also set RMS tolerance to 1.5 to handle small differences along
Greenwich Meridian for General Stereographic (S) plots.1 parent 85c08ef commit 555b135
1 file changed
+32
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
118 | 120 | | |
119 | | - | |
| 121 | + | |
| 122 | + | |
120 | 123 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
125 | 151 | | |
0 commit comments