Ignore:
Timestamp:
Apr 27, 2013, 3:47:01 PM (12 years ago)
Author:
aslmd
Message:

associated changes to previous commit. additional readmes and fixes.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/mcd/frozen_myplot.py

    r942 r944  
    252252    ### ... note, anomaly is only computed over d1 and d2 for the moment
    253253    import numpy as np
    254     from mymath import max,mean,min,sum,getmask
     254    from frozen_mymath import max,mean,min,sum,getmask
    255255    csmooth = 12 ## a fair amount of grid points (too high results in high computation time)
    256256    if redope is not None:
     
    437437## Author: AC + AS
    438438def reduce_zaxis (input,ax=None,yint=False,vert=None,indice=None):
    439     from mymath import max,mean
     439    from frozen_mymath import max,mean
    440440    from scipy import integrate
    441441    import numpy as np
     
    869869    import  numpy                           as np
    870870    import  matplotlib                      as mpl
    871     from mymath import max
     871    from frozen_mymath import max
    872872    meanlon = 0.5*(wlon[0]+wlon[1])
    873873    meanlat = 0.5*(wlat[0]+wlat[1])
     
    972972def calculate_bounds(field,vmin=None,vmax=None):
    973973    import numpy as np
    974     from mymath import max,min,mean
     974    from frozen_mymath import max,min,mean
    975975    ind = np.where(field < 9e+35)
    976976    fieldcalc = field[ ind ] # la syntaxe compacte ne marche si field est un tuple
     
    993993## Author: AS
    994994def bounds(what_I_plot,zevmin,zevmax):
    995     from mymath import max,min,mean
     995    from frozen_mymath import max,min,mean
    996996    ### might be convenient to add the missing value in arguments
    997997    #what_I_plot[ what_I_plot < zevmin ] = zevmin#*(1. + 1.e-7)
     
    10061006## Author: AS
    10071007def nolow(what_I_plot):
    1008     from mymath import max,min
     1008    from frozen_mymath import max,min
    10091009    lim = 0.15*0.5*(abs(max(what_I_plot))+abs(min(what_I_plot)))
    10101010    print "NO PLOT BELOW VALUE ", lim
     
    14761476## Handles calls to specific computations (e.g. wind norm, enrichment factor...)
    14771477def select_getfield(zvarname=None,znc=None,ztypefile=None,mode=None,ztsat=None,ylon=None,ylat=None,yalt=None,ytime=None,analysis=None):
    1478       from mymath import get_tsat
     1478      from frozen_mymath import get_tsat
    14791479 
    14801480      ## Specific variables are described here:
     
    15781578    import numpy as np
    15791579    from scipy import ndimage
    1580     from mymath import array2image,image2array
     1580    from frozen_mymath import array2image,image2array
    15811581
    15821582    varinfile = nc.variables.keys()
Note: See TracChangeset for help on using the changeset viewer.