Changeset 9161


Ignore:
Timestamp:
Jun 16, 2014, 5:23:49 PM (10 years ago)
Author:
davies
Message:

Another Bug fix in Make_Geotif

Location:
trunk/anuga_core/source/anuga
Files:
2 edited

Legend:

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

    r9160 r9161  
    877877        yllcorner=p2.yllcorner
    878878
    879         if(myTimeStep=='all'):
     879        #if(myTimeStep=='all'):
     880        #    myTimeStep=range(len(p2.time))
     881        #elif(myTimeStep=='last'):
     882        #    # This is [0]!
     883        #    myTimeStep=[len(p2.time)-1]
     884
     885        # Now, myTimeStep just holds indices we want to plot in p2
     886        if(myTimeStep!='max'):
    880887            myTimeStep=range(len(p2.time))
    881         elif(myTimeStep=='last'):
    882             # This is [0]!
    883             myTimeStep=[len(p2.time)-1]
    884888
    885889        # Ensure myTimeStep is a list
  • trunk/anuga_core/source/anuga/validation_utilities/parameters.py

    r9160 r9161  
    77__date__ ="$20/08/2012 11:20:00 PM$"
    88
    9 alg = 'DE1'
     9alg = 'DE0'
    1010cfl = 1.0
    1111
Note: See TracChangeset for help on using the changeset viewer.