Commit 77063ce1 authored by Espen Sollum's avatar Espen Sollum
Browse files

Delete ncf history

parent 41eefaae
......@@ -217,6 +217,10 @@ def add_parameter(file_list, time_stamp, idir):
file_out = "Combined_IASI_" + time_stamp + ".nc"
nco.ncrcat(input=in_files, output=os.path.join(TMPDIR, file_out), options=["-O", "-h"])
# Delete history
nco.ncatted(input=os.path.join(TMPDIR, file_out), output=os.path.join(TMPDIR, file_out),
options=["-h", "-a", "history,global,d,,"])
# Delete tmp files on exit
files_in = glob.glob(os.path.join(TMPDIR, "IASI_in*.nc"))
Supports Markdown
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