Commit 40c49c06 authored by Carina Lansing's avatar Carina Lansing
Browse files

Finished the link output script.

parent 29eabef3
......@@ -31,7 +31,7 @@ def main():
for name in files:
# Ignore the model raw files and log files
if 'sgpwrf' not in parent_folder and name.endswith('.nc'):
folder_name = os.path.dirname(parent_folder)
folder_name = os.path.basename(parent_folder)
dest_folder = os.path.join(data_dir, folder_name)
linked_file = os.path.join(dest_folder, name)
source_file = os.path.join(parent_folder, name)
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