Skip to content

Commit

Permalink
MNT: Setting default to True for double quotes. Seems to be better
Browse files Browse the repository at this point in the history
for multiple os's
  • Loading branch information
zssherman committed Jun 3, 2020
1 parent 18775d1 commit 4dabb6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyart/io/output_to_geotiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pyart/io/tests/test_output_to_geotiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4dabb6f

Please sign in to comment.