You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Properly allow for either pixel or gridline registered grids (#476)
* Add registration (r) to common options
* Set valid GMT data mode as GMT_IS_OUTPUT
Should be GMT_IS_OUTPUT instead of GMT_OUTPUT.
Also update some docstrings that were missed in the #210 refactor PR.
* Simplify grid region extent calculation
* Refactor virtualfile_from_grid and dataarray_to_matrix to use accessor
* Fix tests where virtual grid had wrong region, registration and gtype
* Expect failures from two grdview tests that used wrong coordinate system
* Fix test_grdimage_over_dateline by using gridline instead of pixel reg
* Flip grid array left right in xarray instead of in numpy
* Test with a grid that does not reach the North Pole
Values go from latitude 89S to 89N. Avoids the `grdimage [INFORMATION]:
359 (of 361) inconsistent grid values at North pole.` message.
* Try just running test_grdimage_over_dateline first before other tests
* Say why we need to run test_grdimage_over_dateline before other tests
* Register the custom runfirst pytest marker
0 commit comments