diff --git a/gridded_glm/libexec/_minute_gridder.py b/gridded_glm/libexec/_minute_gridder.py index d07e00cc6d3960c5f575246ca204c52fa2941270..3e63eee1e5f8f7015f9b8760c40b4cb4d6fcc77f 100644 --- a/gridded_glm/libexec/_minute_gridder.py +++ b/gridded_glm/libexec/_minute_gridder.py @@ -201,7 +201,7 @@ def add_gglm_attrs(netcdf_filename, input_filenames): nc = Dataset(netcdf_filename, 'a') setattr(nc, 'cspp_geo_gglm_version', get_cspp_gglm_version()) setattr(nc, 'cspp_geo_gglm_production_host', socket.gethostname()) - setattr(nc, 'cspp_geo_gglm_input_files', ",".join(input_filenames)) # this probably needs to be added somewhere else? + setattr(nc, 'cspp_geo_gglm_input_files', ",".join([os.path.basename(f) for f in input_filenames])) nc.close() except: log.error("could not add CSPP Geo GGLM attributes to {}".format(netcdf_filename))