Changeset 15127


Ignore:
Timestamp:
05/28/13 13:35:51 (12 years ago)
Author:
Mathieu Morlighem
Message:

Added process results in ReadData

Location:
issm/trunk-jpl/src/m/solve
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/solve/parseresultsfromdisk.m

    r14449 r15127  
    173173        end
    174174
     175        %Process units here FIXME: this should not be done here!
     176        yts=365.0*24.0*3600.0;
     177        if strcmp(fieldname,'BalancethicknessThickeningRate'),
     178                field = field*yts;
     179        end
     180
    175181        result.fieldname=fieldname;
    176182        result.time=time;
    177183        result.step=step;
    178184        result.field=field;
     185
    179186end
    180187% }}}
  • issm/trunk-jpl/src/m/solve/parseresultsfromdisk.py

    r14105 r15127  
    187187                        raise TypeError("cannot read data of type %d" % type)
    188188
     189                #Process units here FIXME: this should not be done here!
     190                yts=365.0*24.0*3600.0
     191                if strcmp(fieldname,'BalancethicknessThickeningRate'):
     192                        field = field*yts
     193
    189194                result=OrderedDict()
    190195                result['fieldname']=fieldname
Note: See TracChangeset for help on using the changeset viewer.