From 23fb0bcc1ce3ad724ae15656464113af25e11539 Mon Sep 17 00:00:00 2001 From: "R.K.Garcia" <rkgarcia@wisc.edu> Date: Wed, 27 Sep 2017 17:21:29 -0500 Subject: [PATCH] disambiguate debug in ahi2cmi --- himawari/ahi2cmi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/himawari/ahi2cmi.py b/himawari/ahi2cmi.py index b56b89e..163d8bc 100644 --- a/himawari/ahi2cmi.py +++ b/himawari/ahi2cmi.py @@ -682,7 +682,7 @@ class tests(unittest.TestCase): print("%d frames" % n_frames) def write_netcdf(path, as_radiances=False, filename_format="{}.nc", complevel=None, debug=False): - from goesr.rockfall import rename, nc_write, autoscale, debug + from goesr.rockfall import rename, nc_write, autoscale, debug as rfdebug fnstem = os.path.splitext(os.path.split(path)[-1])[0] fn = filename_format.format(fnstem) pathout = os.path.abspath(fn) @@ -696,7 +696,7 @@ def write_netcdf(path, as_radiances=False, filename_format="{}.nc", complevel=No upstream = autoscale( lething.walk(extra_data_attrs=extra_data_attrs), variable_names_matching={varname} ) if debug: - upstream = debug(upstream) + upstream = rfdebug(upstream) for fnwrit in nc_write( rename( -- GitLab