next up previous contents index
Next: 7.2 CO5BOLD Data in Up: 7 Data Analysis with Previous: 7 Data Analysis with   Contents   Index

7.1 Preparations

We recommend to create an initialisation file (e.g. named start.pro) which should be called after starting IDL (e.g. @start). This is necessary to define relevant paths of IDL subroutines and to provide the UIO package. Thus, the file should contain the following:

; -- Add user IDL directory to search path --
addpath=expand_path('+$UIOPATH/idl')
addpath=addpath+':'+expand_path('+$HOME/HYDRO/IDL/rhdpro')
if strtrim(addpath,2) ne '' then !path=addpath+':'+!path
delvar, addpath
; -- Initialize uio-routines --
uio_init, progrm='by hand'

Alternatively, one might want to set the IDL path variable accordingly like

  export IDL_PATH="+${UIOPATH}/idl"
for example in the .bashrc file.