Ignore:
Timestamp:
Jul 1, 2013, 9:12:25 PM (11 years ago)
Author:
sommeria
Message:

a few bugs corrected

File:
1 edited

Legend:

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

    r647 r656  
    138138% EDIT FROM HERE
    139139
    140 %% check the validity of  ctinput file types
    141 if CheckImage{1}
    142     FileExtOut='.png'; % write result as .png images for image inputs
    143 elseif CheckNc{1}
    144     FileExtOut='.nc';% write result as .nc files for netcdf inputs
    145 else
     140%% check the validity of  the input file types
     141if ~CheckImage{1}&&~CheckNc{1}
    146142    displ_uvmat('ERROR',['invalid file type input ' FileType{1}],checkrun)
    147143    return
     
    153149
    154150%% settings for the output file
     151FileExtOut='.nc';% write result as .nc files for netcdf inputs
    155152NomTypeOut=nomtype2pair(NomType{1});% determine the index nomenclature type for the output file
    156153first_i=i1_series{1}(1);
Note: See TracChangeset for help on using the changeset viewer.