function c1 = mk_access(a)

%% c1 is a shipboard ADCP access_variables structure represented
%% as a double array.  It needs to be only one-dimensional because
%% its initial value is the same for all profiles in a file.
%% a is a structure from read_os.

c1 = 1e38 * ones(8, 1);
ii = access_ind;


c1(ii.first_good_bin) = 1;
c1(ii.last_good_bin) = a.config.ncells;


