Remote sites have many differences in available disk space, physical disk names and path names. To allow seemless software access to Yohkoh data and database files, we make use of Unix environmentals and VMS logicals within the routines. This allows relocation of existing data areas and addition of new data areas with no changes required to the access software.
Reformatted data access routines use logicals or environmentals which are named ``ydNN'' where ``yd'' stands for Yohkoh data and NN is an integer. Every site should define at least one data area (usually yd0); there is no upper limit on the number. The most common scheme is to have one area (and one environmental) per physical disk available for Yohkoh reformatted data.
To add a new area (ie, add a new environmental), a line should be added to the file $ys/site/setup/setup_paths. This script file is one of a few which are automatically executed during the Yohkoh IDL setup to configure the local and Yohkoh environment.
Each line is a Unix 'setenv' command of the form: setenv yd<N> <pathname> WHERE: <N> = integer = disk area number (traditional to start at zero (0) ) <pathname> = pathname of data area to add If the area is to be shared via NFS, this should include the mount name as found in /etc/fstab
For example, appending the following lines to $ys/site/setup/setup_paths would add 3 reformatted data areas.
#.... #..... current contents of file: $ys/site/setup/setup_paths #..... # add 3 data areas for Yohkoh reformatted data setenv yd0 /user1/yohkoh setenv yd1 /data_disk2/yohkoh setenv yd2 /machine_mount2/scratch/yohkoh #..................................................
These areas will then be searched by the Yohkoh Software for reformatted data files. (creating the directories and placing data there is not covered here).