Yes, I'm sure it is right.
And, when i use the same script to map GLM_glt surf_file to the AFNI volume domain(group level), it works!
Why?
foreach hemi (lh rh)
1dcat "$hemi"_"$fn".1D\[0] "$hemi"_"$fn".1D\[6..$n] > "$hemi"_"$fn".dset
3dSurf2Vol \
-spec $spath/group/freesurfer/SUMA/subAvg_"$hemi"+tlrc.spec \
-surf_A smoothwm \
-surf_B pial \
-sv $spath/group/subAvg_SurfVol_at+tlrc.nii.gz \
-grid_parent "$spath"/"$sub"/GLM_glts_at+tlrc.nii.gz \
-sdata_1D "$hemi"_"$fn".dset \
-datum float \
-map_func max_abs \
-f_steps 15 \
-f_index voxels \
-f_p1_fr -0.2 -f_pn_fr 0.4 \
-prefix ./"$hemi"_"$fn"_sb