Changeset a916e8f in flex_extract.git for Source/Python/Mods/disaggregation.py


Ignore:
Timestamp:
Jun 11, 2020, 11:14:56 PM (4 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
3a54479
Parents:
0c8c068
Message:

ECMWF server output directory renamed; reformulate dapoly formula; changed template filenames; make use of config jobscript names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Source/Python/Mods/disaggregation.py

    r026b359 ra916e8f  
    1818#          to a new module named disaggregation
    1919#        - added the new disaggregation method for precipitation
     20#
     21#    June 2020 - Anne Philipp (University of Vienna):
     22#        - reformulated formular for dapoly
    2023#
    2124# @License:
     
    9295
    9396    """
    94 
    95     pya = (alist[3] - alist[0] + 3. * (alist[1] - alist[2])) / 6.
    96     pyb = (alist[2] + alist[0]) / 2. - alist[1] - 9. * pya / 2.
    97     pyc = alist[1] - alist[0] - 7. * pya / 2. - 2. * pyb
    98     pyd = alist[0] - pya / 4. - pyb / 3. - pyc / 2.
    99     nfield = 8. * pya + 4. * pyb + 2. * pyc + pyd
     97   
     98    nfield = -1./12.*alist[0] + \
     99              7./12.*alist[1] + \
     100              7./12.*alist[2] - \
     101              1./12.*alist[3]
    100102
    101103    return nfield
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG