I couldn't think of anything off the top of my head aside from-
$HT/samples/standalone/dsmprint.C
Will print all the header tags. (Or you can modify it to print out just what you need.)
wolfwood@epoch:~> ./dsmprint dcm.rat
DSM Options: {'camera:clip'
0.1,22647.5),'camera
rthowidth':17.7778,'camera:projection':0,'camera:zoom':1.20711,'image:crop'
0,1,0,1),'image:pixelaspect':1,'image:samples'
3,3),'image:window'
0,1,0,1),'space:world'
1,0,-0,0,0,1,-0,0,0,0,-1,0,0,0,18.7298,1),'texture:compositing':True,'texture:compression':4,'texture:depth_interp':“discrete”,'texture:depth_mode':“nearest”,'texture
fsize':3,'texture
fstorage':“real16”,'texture:pzstorage':“real32”,'texture:zbias':0.001,}
dcm.rat (3 channels)