Something like this should work: dd if=usgsdem-w ibs=10240 | m.dmaUSGSread top=1 bottom=1201 \ left=1 right=1201 output=usgsdem.dat logfile=log m.rot90 input=usgsdem.dat output=usgsdem.dem rows=1201 cols=1201 bpc=2 r.support (create header & color files - get header info from log) - Bill