Changeset 9189


Ignore:
Timestamp:
Jun 18, 2014, 5:27:56 PM (10 years ago)
Author:
steve
Message:

Added some extra print statements to Make_Geotif

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/utilities/plot_utils.py

    r9163 r9189  
    953953            if(type(myTS)==int):
    954954                if(output_quantity=='stage'):
     955                    if verbose: print 'calculating stage'
    955956                    gridq=p2.stage[myTS,:][gridqInd]
    956957                if(output_quantity=='depth'):
     958                    if verbose: print 'calculating depth'
    957959                    gridq=p2.height[myTS,:][gridqInd]
    958960                    gridq=gridq*(gridq>=0.) # Force positive depth (tsunami alg)
    959961                if(output_quantity=='velocity'):
     962                    if verbose: print 'calculating velocity'
    960963                    gridq=p2.vel[myTS,:][gridqInd]
    961964                if(output_quantity=='friction'):
     965                    if verbose: print 'calculating friction'
    962966                    gridq=p2.friction[gridqInd]
    963967                if(output_quantity=='depthIntegratedVelocity'):
     968                    if verbose: print 'calculating depthIntegratedVelocity'
    964969                    swwDIVel=(p2.xmom[myTS,:]**2+p2.ymom[myTS,:]**2)**0.5
    965970                    gridq=swwDIVel[gridqInd]
    966971                if(output_quantity=='elevation'):
     972                    if verbose: print 'calculating elevation'
    967973                    gridq=p2.elev[gridqInd]
    968974   
Note: See TracChangeset for help on using the changeset viewer.