Commit 67ec67dc authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

ENH: makefile mode for preprocessing of time series.

Showing with 4 additions and 4 deletions
+4 -4
...@@ -77,16 +77,16 @@ def main(argv): ...@@ -77,16 +77,16 @@ def main(argv):
joball = ' '.join(joblist) joball = ' '.join(joblist)
f.write('all : ' + joball + '\n\n') f.write('all : ' + joball + '\n\n')
for d in valid_dirs_L8: for d in valid_dirs_L8:
f.write(joblist.pop() + ' :\n') f.write(joblist.pop(0) + ' :\n')
f.write(' python preprocess.py ' + opt_str + ' ' + d + '\n\n') f.write(' python preprocess.py ' + opt_str + ' ' + d + '\n\n')
for d in valid_dirs_S2: for d in valid_dirs_S2:
f.write(joblist.pop() + ' :\n') f.write(joblist.pop(0) + ' :\n')
f.write(' python preprocess.py ' + opt_str + ' ' + opt_str_s2 + ' ' + d + '\n\n') f.write(' python preprocess.py ' + opt_str + ' ' + opt_str_s2 + ' ' + d + '\n\n')
for d in valid_dirs_S2_THEIA: for d in valid_dirs_S2_THEIA:
f.write(joblist.pop() + ' :\n') f.write(joblist.pop(0) + ' :\n')
f.write(' python preprocess.py ' + opt_str + ' ' + opt_str_s2 + ' ' + d + '\n\n') f.write(' python preprocess.py ' + opt_str + ' ' + opt_str_s2 + ' ' + d + '\n\n')
for d in valid_dirs_Venus: for d in valid_dirs_Venus:
f.write(joblist.pop() + ' :\n') f.write(joblist.pop(0) + ' :\n')
f.write(' python preprocess.py ' + opt_str + ' ' + opt_str_s2 + ' ' + d + '\n\n') f.write(' python preprocess.py ' + opt_str + ' ' + opt_str_s2 + ' ' + d + '\n\n')
f.close() f.close()
......
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