#! /bin/csh -f

# Script to update keyword list files in format for web viewing.
# Makes files with name <seriesname>.txt

set TARG = "hmi hmi_ground aia aia_ground"

set noglob
foreach PROJ ($TARG)
  set SERIES_LIST = `show_series $PROJ.* | head --lines=-1`
  foreach SERIES ($SERIES_LIST)
    show_keys -l ds=$SERIES >$SERIES.txt
  end
end
