Changeset 6f951ca in flex_extract.git for source/python/mods/disaggregation.py
- Timestamp:
- Jan 15, 2019, 1:05:10 AM (5 years ago)
- Branches:
- master, ctbto, dev
- Children:
- d4696e0
- Parents:
- 2625ca8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/python/mods/disaggregation.py
r0e2f93e r6f951ca 17 17 # - outsourced the disaggregation functions dapoly and darain 18 18 # to a new module named disaggregation 19 # - added the new disaggregation method for precipitation 19 20 # 20 21 # @License: 21 # (C) Copyright 2015-2018. 22 # 23 # This software is licensed under the terms of the Apache Licence Version 2.0 24 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. 25 # 26 # @Module Description: 27 # disaggregation of deaccumulated flux data from an ECMWF model FG field. 28 # Initially the flux data to be concerned are: 29 # - large-scale precipitation 30 # - convective precipitation 31 # - surface sensible heat flux 32 # - surface solar radiation 33 # - u stress 34 # - v stress 35 # Different versions of disaggregation is provided for rainfall 36 # data (darain, modified linear) and the surface fluxes and 37 # stress data (dapoly, cubic polynomial). 38 # 39 # @Module Content: 22 # (C) Copyright 2014-2019. 23 # Anne Philipp, Leopold Haimberger 24 # 25 # This work is licensed under the Creative Commons Attribution 4.0 26 # International License. To view a copy of this license, visit 27 # http://creativecommons.org/licenses/by/4.0/ or send a letter to 28 # Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. 29 # 30 # @Methods: 40 31 # - dapoly 41 32 # - darain 42 33 # - IA3 43 #44 34 #******************************************************************************* 35 '''Disaggregation of deaccumulated flux data from an ECMWF model FG field. 36 37 Initially the flux data to be concerned are: 38 - large-scale precipitation 39 - convective precipitation 40 - surface sensible heat flux 41 - surface solar radiation 42 - u stress 43 - v stress 44 45 Different versions of disaggregation is provided for rainfall 46 data (darain, modified linear) and the surface fluxes and 47 stress data (dapoly, cubic polynomial). 48 ''' 45 49 46 50 # ------------------------------------------------------------------------------ … … 65 69 Parameters 66 70 ---------- 67 alist : :obj:`list` of :obj:`array` of :obj:`float`71 alist : list of array of float 68 72 List of 4 timespans as 2-dimensional, horizontal fields. 69 73 E.g. [[array_t1], [array_t2], [array_t3], [array_t4]] … … 71 75 Return 72 76 ------ 73 nfield : :obj:`array` of :obj:`float`77 nfield : array of float 74 78 Interpolated flux at central point of accumulation timespan. 75 79 … … 109 113 Parameters 110 114 ---------- 111 alist : :obj:`list` of :obj:`array` of :obj:`float`115 alist : list of array of float 112 116 List of 4 timespans as 2-dimensional, horizontal fields. 113 117 E.g. [[array_t1], [array_t2], [array_t3], [array_t4]] … … 115 119 Return 116 120 ------ 117 nfield : :obj:`array` of :obj:`float`121 nfield : array of float 118 122 Interpolated flux at central point of accumulation timespan. 119 123 … … 160 164 Note 161 165 ---- 162 Copyright 2017166 (C) Copyright 2017-2019 163 167 Sabine Hittmeir, Anne Philipp, Petra Seibert 164 168 … … 170 174 Parameters 171 175 ---------- 172 g : :obj:`list` of :obj:`float`176 g : list of float 173 177 Complete data series that will be interpolated having 174 178 the dimension of the original raw series. … … 176 180 Return 177 181 ------ 178 f : :obj:`list` of :obj:`float`182 f : list of float 179 183 The interpolated data series with additional subgrid points. 180 184 Its dimension is equal to the length of the input data series
Note: See TracChangeset
for help on using the changeset viewer.