#!/bin/sh

FILES="Gz001.x70_table1 Gz020.x70_table1 Gz020.x00_table1"

for FILE in $FILES ; do

  ./cnv.awk < $FILE > $FILE.dat

  ./cnv2.awk "-9.999" < $FILE > $FILE.dat_GRID
  ./cnv2.awk "?"      < $FILE > $FILE.dat_RHO

done

./delta_kappa.awk Gz001.x70_table1.dat_GRID Gz020.x70_table1.dat_GRID > delta_kappa.out
./delta_kappa.awk Gz020.x00_table1.dat_GRID Gz020.x70_table1.dat_GRID > delta_kappa_HELIUM.out


