Commit 0b2936c4 authored by Justin Reid's avatar Justin Reid
Browse files

Fixed source file deletion bug

parent 60fc16de
Pipeline #260 skipped
......@@ -31,7 +31,7 @@ class MetadataTransformer:
"""
self.nc_dump_path = os.path.join(
self._out_path,
self.in_file.replace(".nc", ".txt")
self.in_file.replace(".nc", "_dumped.txt")
)
cmd = " ".join(["ncdump", "-h", self.in_path, ">", self.nc_dump_path])
......@@ -50,7 +50,7 @@ class MetadataTransformer:
self.nc_classic_path = os.path.join(
self._out_path,
self.nc_dump_path.replace(".txt", ".nc")
self.nc_dump_path.replace(".txt", "_classic.nc")
)
cmd = " ".join(["ncgen", "-k", "classic", "-o", self.nc_classic_path, self.nc_dump_path])
......
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