[Dhsvm-users] Converting binary to ascii In DHSVM
kuras at interchange.ubc.ca
Sat Feb 26 13:14:55 PST 2005
I have generated three optional output files (images) in DHSVM which display the water table depth, travel time and snow water equivalent. The files are in .bin format, and I would like to convert them to ascii so I can display them in GIS.
For converting ascii to binary, I have been using the convert.exe application from DHSVM using a ms-dos batch file. In the ms-dos batch file I would normally write the command:
convert ascii uchar input_file.asc out_file.bin #rows #columns
I'm not sure if I can convert the other way (binary to ascii using the same convert.exe file) and if I can does anyone know what command to use? or does someone have a different application for this purpose.
Your help would be much appreciated, thank you,
Department of Forest Resources Management
University of British Columbia
2424 Main Mall
Vancouver, BC V6T-1Z4
E-mail: kuras at interchange.ubc.ca
More information about the Dhsvm-users