-
Notifications
You must be signed in to change notification settings - Fork 6
/
sourceMe.csh
executable file
·53 lines (30 loc) · 1.3 KB
/
sourceMe.csh
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/csh
## source this file in your .cshrc for universal access to the scripts via aliases
## source pathTo/wrfHydroScripts/sourceMe.csh
## where do you keep your scripts? This config file is required to know.
set configFile=~/.wrfHydroScripts
if (! -e $configFile) then
echo \
"\e[31mPlease create a ~/.wrfHydroScripts file based on the example in the repository.\e[0m"
exit 1
endif
set whsPath=`grep "wrfHydroScripts" $configFile | cut -d '=' -f2 | tr -d ' '`
alias henv 'printenv | egrep -i "(HYDRO|NUDG|PRECIP|CHAN_CONN|^NETCDF|^LDFLAGS|^ifort|REALTIME|SOIL)" | egrep -v PWD'
alias hgrep '$whsPath/hgrep.sh'
alias plotFrxst '$whsPath/plotFrxst.sh'
alias cleanup '$whsPath/cleanup.sh'
alias cleanRun '$whsPath/cleanRun.sh'
alias linkToTestCase '$whsPath/linkToTestCase.sh'
alias standardizeTestCase '$whsPath/standardizeTestCase.sh'
alias getTestFiles '$whsPath/getTestFiles.sh'
alias testNLast '$whsPath/testNLast.sh'
alias makeCheck '$whsPath/makeCheck.sh'
alias qCleanRun '$whsPath/qCleanRun.sh'
alias bCleanRun '$whsPath/bCleanRun.sh'
alias compileAll '$whsPath/compileAll.sh'
alias regTest '$whsPath/regTest.sh'
alias compileTag '$whsPath/compileTag.sh'
alias geyser '$whsPath/geyser.sh'
alias r2Geyser '$whsPath/r2Geyser.sh'
alias getScratchDates '$whsPath/getScratchDates.sh'
exit 0