Changes between Version 3 and Version 4 of PDAF_local_weight
- Timestamp:
- Jan 13, 2022, 9:59:52 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PDAF_local_weight
v3 v4 8 8 The interface is the following: 9 9 {{{ 10 SUBROUTINE PDAF_local_weight(wtype, rtype, cradius, sradius, distance, &10 SUBROUTINE PDAF_local_weight(wtype, rtype, local_range, srange, distance, & 11 11 nrows, ncols, A, var_obs, weight, verbose) 12 12 }}} 13 13 with the following arguments: 14 * `wtype` : `integer, intent(in)`[[BR]] Type of weight function:[[BR]] (0) unit weight (=1 up to radius ` cradius`) [[BR]] (1) exponential decrease (1/e at distance=sradius; 0 for distance>cradius)[[BR]] (2) 5th order polynomial with support radius sradius (Gaspari&Cohn 1999; 0 for distance>sradius)14 * `wtype` : `integer, intent(in)`[[BR]] Type of weight function:[[BR]] (0) unit weight (=1 up to radius `local_range`) [[BR]] (1) exponential decrease (1/e at distance=srange; 0 for distance>local_range)[[BR]] (2) 5th order polynomial with support radius srange (Gaspari&Cohn 1999; 0 for distance>srange) 15 15 * `rtype` : `integer, intent(in)`[[BR]] Type of regulated weighting:[[BR]] (0) no regulation[[BR]] (1) regulation using mean variances[[BR]] 16 * ` cradius` : `real, intent(in)`[[BR]] Cut-off radius (weight is always =0 for distance>cradius)17 * `sra dius` : `real, intent(in)`[[BR]] Support radius16 * `local_range` : `real, intent(in)`[[BR]] Cut-off radius (weight is always =0 for distance>local_range) 17 * `srange` : `real, intent(in)`[[BR]] Support radius of weight function 18 18 * `distance` : `real, intent(in)`[[BR]] Distance to observation 19 19 * `nrows` : `integer, intent(in)`[[BR]] Number of rows in matrix A