Closed
Description
This issue was originally for discussing improvements to the PyGMT test suite and is now dedicated to tracking specific improvements:
- Use xarray.testing rather than pygmt.grdinfo
- Use
static_earth_relief
rather thanearth_relief
- Use asymmetric regions to facilitate identification of lat/lon errors
If anyone wants to help, please edit this comment to add your username next to the module or post a comment below to avoid redundant work.
- Add static_earth_relief to cache (Add small grid based on earth_relief_01d V2.3 gmtserver-admin#139)
- Add function to load static_earth_relief.nc as an xarray.DataArray (Add load_static_earth_relief function for internal testing #1727)
- test_grd2cpt.py (static_earth_relief) (@willschlitzer Add static_earth_relief to grd2cpt tests #1736)
- test_grd2xyz.py (static_earth_relief) (@willschlitzer Add static_earth_relief to grd2xyz tests #1737)
- test_grdclip.py (xarray.testing) (@meghanrjones, Use xarray.testing rather than pygmt.grdinfo in grdclip tests #1573)
- test_grdclip.py (static_earth_relief) (@willschlitzer Add static_earth_relief to grdclip tests #1738)
- text_grdcontour.py (static_earth_relief) (@willschlitzer Change test_grdcontour.py to use static_earth_relief #1741)
- test_grdcut.py (xarray.testing) (@meghanrjones, Use xarray.testing rather than pygmt.grdinfo in grdcut tests #1574)
- test_grdcut.py (static_earth_relief) (@willschlitzer Change test_grdcut.py to use static_earth_relief #1742)
- test_grdfill.py (xarray.testing) (@willschlitzer, Use xarray.testing rather than pygmt.grdinfo in grdfill tests #1677)
- test_grdfill.py (static_earth_relief) (@willschlitzer Change test_grdfill.py to use static_earth_relief #1743)
- test_grdfilter.py (xarray.testing and static_earth_relief) (@willschlitzer, Change test_grdfilter.py to use static_earth_relief #1678)
- test_grdgradient.py (xarray.testing and static_earth_relief) (@willschlitzer, Change test_grdgradient.py to use static_earth_relief #1679)
- test_grdinfo.py (static_earth_relief) (@willschlitzer Change test_grdinfo.py to use static_earth_relief #1746)
- test_grdlandmask.py (xarray.testing) (@willschlitzer, Use xarray.testing rather than pygmt.grdinfo in grdlandmask tests #1680)
- test_grdproject.py (xarray.testing and static_earth_relief) (@willschlitzer Change test_grdproject.py to use static_earth_relief #1683)
- test_grdsample.py (xarray.testing and static_earth_relief) (@willschlitzer, Change test_grdsample.py to use static_earth_relief #1681)
- test_grdtrack.py (static_earth_relief) (@willschlitzer, Change test_grdtrack.py to use static_earth_relief #1762)
- test_grdview.py (static_earth_relief) (@willschlitzer Change test_grdview.py to use static_earth_relief #1752)
- test_grdvolume.py (static_earth_relief) (@willschlitzer Change test_grdvolume.py to use static_earth_relief #1747)
- test_makecpt.py (static_earth_relief) (@willschlitzer Change test_makecpt.py to use colorbar instead of grdimage #1748)
- test_xyz2grd.py (xarray.testing and static_earth_relief) (@willschlitzer Use xarray.testing rather than pygmt.grdinfo in xyz2grd tests #1682)
- pygmt.clib.session example (static_earth_relief) (@willschlitzer Change session.py to use static_earth_relief #1761)