-
Notifications
You must be signed in to change notification settings - Fork 0
/
smap_idl_startup.pro
34 lines (29 loc) · 1.39 KB
/
smap_idl_startup.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
;;This is a template IDL startup file.
;;You will need to edit this to reflect your directory structure --
;; where you keep your data, and where you keep your code.
;;Once you edit it (and add any extra things you want), you should
;; save it by another name (for example: as ~/.idl_setup.pro).
;;Then you need to set the environment variable IDL_STARTUP to point
;; to the edited file.
;;So, if you edit and name it ~/.idl_setup.pro then you want to
;; add a line like
;;
;;export IDL_STARTUP=~/.idl_setup.pro
;;
;; to your login script (assuming you use bash shell -- for others,
;; substitute the apropriate way to set environment variables
;; In tcsh this would be
;; setenv IDL_STARTUP ~/.idl_setup.pro
;;First, you need to define the path where you store SPIRE data
;; This is an example. Make sure it ends in the path seperator!
defsysv,'!SMAP_DATA',getenv('GITHUB')+'/data/timelines/'
;; Now let's define the path to SPIRE source catalogs
defsysv,'!SMAP_CATS',getenv('GITHUB_DIR')+'/data/cats/'
;; and finally the path to SPIRE maps
defsysv,'!SMAP_MAPS',getenv('GITHUB_DIR')+'/data/maps/'
;; (note these three don't all have to be in different places if
;; that's not what you want)
;;Next, you need to define the base path to where you put the SVN
;; repository -- this should be the absolute path to the smap_pipeline
;; directory
defsysv,'!SMAP_PIPELINE_PATH',getenv('GITHUB_DIR')+'/smap_pipeline/'