B
B-C B.
Guest
B-C B. Asks: gdal_calc missing arguments?
I have been using gdal_calc.py like this:
But now it tells me that I am missing required arguments, which I have in my code.
Unsure how to fix an error, I don't actually have.
I have been using gdal_calc.py like this:
Code:
os.system("""gdal_calc.py -a DSM.tif --a_band=1 -b DTM.tif --b_band=1 --calc="a-b" --outfile=CHM.tif""")
But now it tells me that I am missing required arguments, which I have in my code.
gdal_calc.py: error: the following arguments are required: --calc, --outfile
Unsure how to fix an error, I don't actually have.
SolveForum.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, solveforum.