Changeset 2264 in lmdz_wrf


Ignore:
Timestamp:
Dec 20, 2018, 1:54:43 PM (6 years ago)
Author:
lfita
Message:

Starting to add computation of Koeppen-Geiger climate classification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r2247 r2264  
    2705727057
    2705827058def compute_Koeppen_Geiger_clims(values):
    27059     """ Function to compute the Kooeppen-Geiger climatological classification
     27059    """ Function to compute the Kooeppen-Geiger climatological classification after:
     27060          Kottek et al., Meteorologische Zeitschrift, Vol. 15, No. 3, 259-263
    2706027061      values= [tasvalues]:[prvalues]
    2706127062        [tasvalues]: '|' separated list of [ncfilen]|[varn]|[timevarn] for tas (2m temperature)
     
    2716727168
    2716827169    # Starting statistics
    27169     tasn = np.min(tas)
    27170     tasx = np.max(tas)
    27171 
    27172     prn = np.min(pr)
    27173     prx = np.max(pr)
     27170    tasn = np.min(tas, axis=(0))
     27171    tasx = np.max(tas, axis=(0))
     27172
     27173    prn = np.min(pr, axis=(0))
     27174    prx = np.max(pr, axis=(0))
    2717427175
    2717527176
Note: See TracChangeset for help on using the changeset viewer.