I tried using GDAL Translate as follows and encountered an error.
OutTileName_tif = CH_14.tif OutTileName_asc = CH_14.asc gdal.Translate(OutTileName_tif, OutTileName_asc)
Error message is
ValueError: Received a NULL pointer.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
Please try with the following Python snippet. Need to remember that outputfile path is first, and is followed by the inputfile path.