Ignore:
Timestamp:
May 28, 2013, 11:30:28 PM (8 years ago)
Author:
sommeria
Message:

various improvements

File:
1 edited

Legend:

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

    r635 r645  
    350350                VarInit=DataOut.(VarName);
    351351                if isempty(errormsg) && ~isequal(VarVal,VarInit)
    352                     displ_uvmat('ERROR',['time series requires constant coordinates ' VarName],checkrun)
     352                    displ_uvmat('ERROR',['time series requires constant coordinates ' VarName ': use projection mode interp'],checkrun)
    353353                    return
    354354                end
     
    414414test_time=diff(DataOut.Time)>0;% test that the readed time is increasing (not constant)
    415415if ~test_time
    416     DataOut.Time=1:filecounter;
     416    DataOut.Time=1:nbfield;
    417417end
    418418
Note: See TracChangeset for help on using the changeset viewer.