Commit 2dc51c52 authored by Lozac'h Loic's avatar Lozac'h Loic

ADD: output dir

parent 0f26fb31
......@@ -35,14 +35,15 @@ if __name__ == "__main__":
Rename MV and NDVI
""")
parser.add_argument('-proddir', action='store', required=True, help='Directory containing Soil Moisture files (MV + NDVI) for a production site')
parser.add_argument('-movedir', action='store', required=True, help='Directory containing Soil Moisture files (MV + NDVI) to be renamed and moved')
parser.add_argument('-proddir', action='store', required=True, help='Destination directory')
parser.add_argument('-prodsite', action='store', required=True, help='Production site name to be added in file naming')
args=parser.parse_args()
ndvis = search_files(args.proddir)
ndvis = search_files(args.movedir)
moists = search_files(args.proddir, resolution='mv')
moists = search_files(args.movedir, resolution='mv')
ndvidir =os.path.join(args.proddir, "NDVI")
s1adir =os.path.join(args.proddir, "S1A")
......
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