Changeset 664 in lmdz_wrf


Ignore:
Timestamp:
Jan 13, 2016, 12:28:15 PM (9 years ago)
Author:
lfita
Message:

Changing to float for the min and maximum values for 'topo' plots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing.py

    r655 r664  
    13691369    drw.check_arguments(fname,5,values,':',expectargs)
    13701370
    1371     mintopo = values.split(':')[0].split(',')[0]
    1372     maxtopo = values.split(':')[0].split(',')[1]
     1371    mintopo = np.float(values.split(':')[0].split(',')[0])
     1372    maxtopo = np.float(values.split(':')[0].split(',')[1])
    13731373
    13741374    lonlatLS = values.split(':')[1]
     
    14451445        quit()
    14461446
    1447     mintopo = values.split(':')[0].split(',')[0]
    1448     maxtopo = values.split(':')[0].split(',')[1]
     1447    mintopo = np.float(values.split(':')[0].split(',')[0])
     1448    maxtopo = np.float(values.split(':')[0].split(',')[1])
    14491449
    14501450    lonlatLS = values.split(':')[1]
Note: See TracChangeset for help on using the changeset viewer.