I store the directory path for the input files and output file into a variable.
I would like to use this variable when calling harpmerge (with python). Does someone know how could I refer to the variable when calling harpmerge? (so far I could only type the path directly into the call)
input_files = input_path + “/S5P_OFFL_L2__NO2____*.nc”
output_file = input_path + “/converted.nc”
!harpmerge -a ‘list of operations’ input_files output_file
harp considers the string “input_files” and “output_file” and not the variable.