Changeset 12733


Ignore:
Timestamp:
07/25/12 11:24:15 (13 years ago)
Author:
jschierm
Message:

Preliminary python versions of loadresultsfromcluster and supporting functions (in preparation for solve).

Location:
issm/trunk-jpl/src/m
Files:
6 added
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/model/MatlabProcessPatch.m

    r12026 r12733  
    55%      Result=ProcessPatch(Result);
    66
    7 %return if there is no fiel Patch
     7%return if there is no field Patch
    88if (~isfield(structure,'Patch')),
    99        return;
  • issm/trunk-jpl/src/m/model/marshall.py

    r12667 r12733  
    1616        #open file for binary writing
    1717        try:
    18                 fid=open(md.miscellaneous.name+'.bin','wb');
     18                fid=open(md.miscellaneous.name+'.bin','wb')
    1919        except IOError as e:
    20                 print "marshall error message: could not open '%s.bin' file for binary writing." % md.miscellaneous.name
    21                 raise IOError(e)
     20                raise IOError("marshall error message: could not open '%s.bin' file for binary writing." % md.miscellaneous.name)
    2221
    2322        #First, write MaximumNumberOfEnum to make sure that the Enums are synchronized
     
    4544                f.close(fid)
    4645        except IOError as e:
    47                 print "marshall error message: could not close file '%s.bin'." % md.miscellaneous.name
    48                 raise IOError(e)
     46                raise IOError("marshall error message: could not close file '%s.bin'." % md.miscellaneous.name)
    4947
  • issm/trunk-jpl/src/m/model/parseresultsfromdisk.m

    r10399 r12733  
    172172% }}}
    173173function result=ReadDataDimensions(fid) % {{{
    174 %READDATA - read data dimensions, step and time, but not the data itself.
     174%READDATADIMENSIONS - read data dimensions, step and time, but not the data itself.
    175175%
    176176%   Usage:
Note: See TracChangeset for help on using the changeset viewer.