This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# _SwiftUvot_b_afterDs9 | |
# _SwiftUvot_2_products | |
## products | |
if [[ $(declare --help | grep -c -o -E "\-g\s+create global variables") -eq 0 ]]; then | |
My_Swift_D=${My_Swift_D:=$(pwd)} | |
else | |
declare -g My_Swift_D=${My_Swift_D:=$(pwd)} | |
fi # 未定義時に代入 | |
cd $My_Swift_D | |
obs_dirs=($(find . -maxdepth 1 -type d -printf "%P\n" | grep ^[0-9] | sort)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# _SwiftUvot_a_ds9 | |
# _SwiftUvot_1_ds9 | |
## ds9で領域指定 | |
FLAG_simple=false # arg | |
if [[ $(declare --help | grep -c -o -E "\-g\s+create global variables") -eq 0 ]]; then | |
My_Swift_D=${My_Swift_D:=$(pwd)} | |
else | |
declare -g My_Swift_D=${My_Swift_D:=$(pwd)} | |
fi # 未定義時に代入 | |
cd $My_Swift_D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# _SwiftUvot_4_fitDirectory | |
## fitディレクトリにまとめ | |
FLAG_hardCopy=false # arg | |
FLAG_symbLink=false # arg | |
tmp_prefix="uvot_" # arg | |
if [[ $(declare --help | grep -c -o -E "\-g\s+create global variables") -eq 0 ]]; then | |
My_Swift_D=${My_Swift_D:=$(pwd)} | |
else | |
declare -g My_Swift_D=${My_Swift_D:=$(pwd)} | |
fi # 未定義時に代入 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# _SwiftUvot_3_addascaspec | |
## obtain rmf | |
if [[ $(declare --help | grep -c -o -E "\-g\s+create global variables") -eq 0 ]]; then | |
My_Swift_D=${My_Swift_D:=$(pwd)} | |
else | |
declare -g My_Swift_D=${My_Swift_D:=$(pwd)} | |
fi # 未定義時に代入 | |
cd $My_Swift_D | |
obs_dirs=($(find . -maxdepth 1 -type d -printf "%P\n" | grep ^[0-9] | sort)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# _SwiftUvot_2_products | |
## products | |
if [[ $(declare --help | grep -c -o -E "\-g\s+create global variables") -eq 0 ]]; then | |
My_Swift_D=${My_Swift_D:=$(pwd)} | |
else | |
declare -g My_Swift_D=${My_Swift_D:=$(pwd)} | |
fi # 未定義時に代入 | |
cd $My_Swift_D | |
obs_dirs=($(find . -maxdepth 1 -type d -printf "%P\n" | grep ^[0-9] | sort)) | |
for My_Swift_ID in ${obs_dirs[@]}; do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# _SwiftUvot_1_ds9 | |
## ds9で領域指定 | |
FLAG_simple=false # arg | |
if [[ $(declare --help | grep -c -o -E "\-g\s+create global variables") -eq 0 ]]; then | |
My_Swift_D=${My_Swift_D:=$(pwd)} | |
else | |
declare -g My_Swift_D=${My_Swift_D:=$(pwd)} | |
fi # 未定義時に代入 | |
cd $My_Swift_D | |
obs_dirs=($(find . -maxdepth 1 -type d -printf "%P\n" | grep ^[0-9] | sort)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# _NicerXti_a_products | |
# _NicerXti_1_products | |
## xti products | |
if [[ $(declare --help | grep -c -o -E "\-g\s+create global variables") -eq 0 ]]; then | |
My_Nicer_D=${My_Nicer_D:=$(pwd)} | |
else | |
declare -g My_Nicer_D=${My_Nicer_D:=$(pwd)} | |
fi # 未定義時に代入 | |
cd $My_Nicer_D | |
obs_dirs=($(find . -maxdepth 1 -type d -printf "%P\n" | grep ^[0-9] | sort)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# _NicerXti_5_fitDirectory | |
## fitディレクトリにまとめ | |
FLAG_hardCopy=false # arg | |
FLAG_symbLink=false # arg | |
tmp_prefix="xrt_" # arg | |
if [[ $(declare --help | grep -c -o -E "\-g\s+create global variables") -eq 0 ]]; then | |
My_Nicer_D=${My_Nicer_D:=$(pwd)} | |
else | |
declare -g My_Nicer_D=${My_Nicer_D:=$(pwd)} | |
fi # 未定義時に代入 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# _NicerXti_4_grppha | |
## grppha | |
gnum=50 # arg | |
if [[ $(declare --help | grep -c -o -E "\-g\s+create global variables") -eq 0 ]]; then | |
My_Nicer_D=${My_Nicer_D:=$(pwd)} | |
else | |
declare -g My_Nicer_D=${My_Nicer_D:=$(pwd)} | |
fi # 未定義時に代入 | |
cd $My_Nicer_D | |
obs_dirs=($(find . -maxdepth 1 -type d -printf "%P\n" | grep ^[0-9] | sort)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# _NicerXti_3_editHeader | |
## edit header | |
if [[ $(declare --help | grep -c -o -E "\-g\s+create global variables") -eq 0 ]]; then | |
My_Nicer_D=${My_Nicer_D:=$(pwd)} | |
else | |
declare -g My_Nicer_D=${My_Nicer_D:=$(pwd)} | |
fi # 未定義時に代入 | |
cd $My_Nicer_D | |
function _ObtainExtNum(){ |
NewerOlder