Hi PT,
Maybe the short answer is that you should not
need to use an RPI template.
But regarding the difficulty, we do not "find"
datasets via a 3d* program, but via a script
(@FindAfniDsetPath), meaning the .afnirc is not
processed (it has no impact on the environment
of scripts - a confusing difference from 3d*
programs).
To access that directory via a script, try:
setenv AFNI_ATLAS_PATH ~/REF_TEMPLATES
Note that AFNI_GLOBAL_SESSION or AFNI_PLUGINPATH
would also work, as would putting the datasets
under ~/.afni/atlases.
Sorry for the confusion.
- rick