Ignore:
Timestamp:
Nov 30, 2011, 6:37:59 PM (13 years ago)
Author:
acolaitis
Message:

PYTHON. Modifs relative to movies. To make a movie, the user must now specify --rate 20 (or any other positive value). Fixed gcm plots because of last commit on LES files. Fixed movies with GCM files, also not tested (until mencoder is on the farm)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/myplot.py

    r430 r432  
    3939    if 'controle' in nc.variables:             typefile = 'gcm'
    4040    elif 'phisinit' in nc.variables:           typefile = 'gcm'
    41     elif '9999' in getattr(nc,'START_DATE') :  typefile = 'mesoideal'
     41    elif hasattr(nc,'START_DATE'):
     42      if '9999' in getattr(nc,'START_DATE') :  typefile = 'mesoideal'
    4243    elif 'vert' in nc.variables:               typefile = 'mesoapi'
    4344    elif 'U' in nc.variables:                  typefile = 'meso'
Note: See TracChangeset for help on using the changeset viewer.