Changeset 2837 for palm/trunk/SCRIPTS/NCL/spectra.ncl
- Timestamp:
- Feb 26, 2018 2:04:53 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/NCL/spectra.ncl
r2563 r2837 39 39 ; load .ncl.config or .ncl.config.default 40 40 ;*************************************************** 41 42 file_name ="$PALM_BIN/../../.ncl.config" 43 existing_file = file_exists(ncl_version_ch,file_name) 44 41 42 existing_file = file_exists(ncl_version_ch,file_config) 45 43 if (existing_file) then 46 loadscript( "$PALM_BIN/../../.ncl.config")44 loadscript(file_config) 47 45 else 48 file_name = "$PALM_BIN/NCL/.ncl.config.default" 49 existing_file = file_exists(ncl_version_ch,file_name) 50 if (existing_file) then 51 loadscript( "$PALM_BIN/NCL/.ncl.config.default") 52 else 53 palm_bin_path = getenv("PALM_BIN") 54 print(" ") 55 print("Neither the personal configuration file '.ncl.config' exists in") 56 print("~/palm/current_version") 57 print("nor the default configuration file '.ncl.config.default' "+\ 58 "exists in") 59 print(palm_bin_path + "/NCL") 60 print(" ") 61 exit 62 end if 63 end if 46 palm_bin_path = getenv("PALM_BIN") 47 print(" ") 48 print("Neither the personal configuration file '.ncl.config' exists in") 49 print("~/palm/current_version") 50 print("nor the default configuration file '.ncl.config.default' "+\ 51 "exists in") 52 print(palm_bin_path + "/NCL") 53 print(" ") 54 exit 55 end if 56 64 57 65 58 begin
Note: See TracChangeset
for help on using the changeset viewer.