Ignore:
Timestamp:
Aug 2, 2011, 4:28:49 PM (13 years ago)
Author:
aslmd
Message:

MESOSCALE: graphical program. more control on the plot + GCM case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE_DEV/PLOT/PYTHON/mylib/myplot.py

    r252 r254  
    2121def whatkindfile (nc):
    2222    if 'controle' in nc.variables:   typefile = 'gcm'
     23    elif 'phisinit' in nc.variables: typefile = 'gcmex'
    2324    elif 'vert' in nc.variables:     typefile = 'mesoapi'
    2425    elif 'U' in nc.variables:        typefile = 'meso'
     
    259260        lon2d = dumpbdy(lon2d,6)
    260261        lat2d = dumpbdy(lat2d,6)
    261     elif typefile in ['gcm']:
     262    elif typefile in ['gcm','gcmex']:
    262263        [lon2d,lat2d] = getcoord2d(nc,nlat="latitude",nlon="longitude",is1d=True)
    263264    elif typefile in ['geo']:
Note: See TracChangeset for help on using the changeset viewer.