Loading Horizons with bhphorizon

 

#!/bin/sh

 

#  change directory to project directory

cd /hou/data/D_152_001/SU_Class/class_project

 

# make a pathlist file

cp int_datasets/template.dat int_datasets/tiger_RCdata_horizons.dat

 

# load ascii horizons to tiger RCdata

bhpread pathlist=int_datasets/RCdata.dat filename=RCdata | \

bhphorizon file=horizons/tig_lfp2_aatopmkr.xyz shdr=cdp phdr=ep | \

bhphorizon file=horizons/tig_lfp2_aa0tr.xyz shdr=cdp phdr=ep | \

bhphorizon file=horizons/tig_lfp2_aa0pk.xyz shdr=cdp phdr=ep | \

bhphorizon file=horizons/tig_lfp2_aa2tr.xyz shdr=cdp phdr=ep | \

bhpwritecube filename=tiger_RCdata_horizons horizons=lfp2_aatopmkr,lfp2_aa0tr,lfp2_aa0pk,lfp2_aa2tr \

pathlist=int_datasets/tiger_RCdata_horizons.dat key2=cdp,2231,2,196 key1=ep,811,2,121 init=yes

 

# verify

bhpio filename=tiger_RCdata_horizons pathlist=int_datasets/tiger_RCdata_horizons.dat