#!/bin/tcsh -f
if ("$1" == '-help' || "$1" == '-h' || "$1" == "") then
   echo "`basename $0` dset"
   echo "Return the dimensions of dset"
   echo ""
   goto END
endif

set d1 = `3dAttribute -name DATASET_RANK $1`
set d2 = `3dAttribute -name DATASET_DIMENSIONS $1`
echo $d2[3-5] $d1[4] 

END:
