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

ahi2cmi with and without radiances

parent 658815b2
......@@ -653,7 +653,7 @@ class tests(unittest.TestCase):
def write_netcdf(path, as_radiances=False):
from goesr.rockfall import rename, nc_write, autoscale
fnout = os.path.abspath(os.path.split(path)[-1] + '.nc')
fnout = os.path.abspath(os.path.splitext(os.path.split(path)[-1])[0] + '.nc')
lething = HimawariAHIasCMIP(path, as_radiances=as_radiances)
varname = DEFAULT_CMIP_RAD_NAME if as_radiances else DEFAULT_CMIP_NAME
for fnwrit in nc_write(
......
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