Changeset 150 for trunk/src/nc2struct.m


Ignore:
Timestamp:
Dec 3, 2010, 12:16:51 PM (10 years ago)
Author:
sommeria
Message:

various corrections for plotting and using view_field and get_field. The current field of uvmat or view_field is now stored in the structure userdata.axes3. Introduction of live correlation to test PIV (civ1)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/nc2struct.m

    r140 r150  
    6262    if ischar(nc)
    6363        if exist(nc,'file')
     64            try
    6465            nc=netcdf.open(nc,'NC_NOWRITE');
    6566            testfile=1;
     67            catch errormsg
     68              Data.Txt=['ERROR opening ' nc ': ' errormsg.identifier];
     69              return
     70            end
    6671        else
    6772           Data.Txt=['ERROR:file ' nc ' does not exist'];
Note: See TracChangeset for help on using the changeset viewer.