diff --git a/pyart/io/output_to_geotiff.py b/pyart/io/output_to_geotiff.py index f5658ee820..994d3c95b1 100644 --- a/pyart/io/output_to_geotiff.py +++ b/pyart/io/output_to_geotiff.py @@ -19,7 +19,7 @@ def write_grid_geotiff(grid, filename, field, rgb=False, level=None, cmap='viridis', vmin=0, vmax=75, color_levels=None, - warp=False, sld=False, use_doublequotes=False): + warp=False, sld=False, use_doublequotes=True): """ Write a Py-ART Grid object to a GeoTIFF file. diff --git a/pyart/io/tests/test_output_to_geotiff.py b/pyart/io/tests/test_output_to_geotiff.py index c6d137ab1b..e4ab9fad7c 100644 --- a/pyart/io/tests/test_output_to_geotiff.py +++ b/pyart/io/tests/test_output_to_geotiff.py @@ -91,7 +91,7 @@ def test_write_grid_geotiff_tif_warp(): grid = make_tiny_grid() with pyart.testing.InTemporaryDirectory(): pyart.io.write_grid_geotiff( - grid, 'test.foo', 'reflectivity', warp=True, use_doublequotes=True) + grid, 'test.foo', 'reflectivity', warp=True) # check that something was written to the file with open('test.foo', 'rb') as f: assert len(f.read()) > 0