Changeset 19430


Ignore:
Timestamp:
07/08/15 05:17:25 (10 years ago)
Author:
cborstad
Message:

CHG: update to processdata.py to handle a multi-column spc time series

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/processdata.py

    r17953 r19430  
    7373                datatype=2
    7474
     75        #spc time series?
     76        if datasize[0]==md.mesh.numberofvertices+1:
     77                datatype=2
     78                spccol=options.getfieldvalue('spccol',0)
     79                print 'multiple-column spc field; specify column to plot using option "spccol"'
     80                print 'column ', spccol, ' plotted for time: ', procdata[-1,spccol]
     81                procdata=procdata[0:-1,spccol]
     82
    7583                #mask?
    7684
Note: See TracChangeset for help on using the changeset viewer.