Commit 23fb0bcc authored by R.K.Garcia's avatar R.K.Garcia
Browse files

disambiguate debug in ahi2cmi

parent 7f398fb1
......@@ -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(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment