Ignore:
Timestamp:
Jul 11, 2024, 4:13:03 PM (3 months ago)
Author:
sommeria
Message:

filter_time added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/test_filter_tps.m

    r1156 r1157  
    7272    % check the existence of the first file in the series
    7373     first_j=[];% note that the function will propose to cover the whole range of indices
    74     if isfield(Param.IndexRange,'MinIndex_j'); first_j=Param.IndexRange.MinIndex_j; end
    75     last_j=[];
    76     if isfield(Param.IndexRange,'MaxIndex_j'); last_j=Param.IndexRange.MaxIndex_j; end
     74    if isfield(Param.IndexRange,'first_j'); first_j=Param.IndexRange.first_j; end
    7775    PairString='';
    7876    if isfield(Param.IndexRange,'PairString'); PairString=Param.IndexRange.PairString; end
     
    8179        Param.InputTable{1,5},Param.InputTable{1,4},i1,i2,j1,j2);
    8280    if ~exist(FirstFileName,'file')
    83         msgbox_uvmat('WARNING',['the first input file ' FirstFileName ' does not exist'])
     81        msgbox_uvmat('ERROR',['the input file ' FirstFileName ' does not exist'])
    8482        return
    85     else
    86         [i1,i2,j1,j2] = get_file_index(Param.IndexRange.last_i,last_j,PairString);
    87         LastFileName=fullfile_uvmat(Param.InputTable{1,1},Param.InputTable{1,2},Param.InputTable{1,3},...
    88         Param.InputTable{1,5},Param.InputTable{1,4},i1,i2,j1,j2);
    89         if ~exist(FirstFileName,'file')
    90              msgbox_uvmat('WARNING',['the last input file ' LastFileName ' does not exist'])
    91         end
    9283    end
    9384
     
    114105        end
    115106    else
    116         msgbox_uvmat('ERROR',['invalid file type input: ' FileType ' not a civ data'])
     107        msgbox_uvmat('ERROR','invalid file type input: test_filter_tps proceeds raw civ data')
    117108        return
    118109    end
Note: See TracChangeset for help on using the changeset viewer.