<div dir="ltr">I have one GeoTiff file with 3 bands. I want to produce a raster file computing pixel wise median value for the three raster bands. How can I do that?<div><br></div><div>I tried as follows:</div><div><br></div><div>gdal_calc.py -A infile --allBands --outfile outfile --calc median(A)</div><div><br></div><div>But could not get any out file.</div><div><br></div><div> </div></div>