Changes between Initial version and Version 1 of Ticket #255
- Timestamp:
- 2011-10-05T15:43:36Z (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #255 – Description
initial v1 3 3 {{{ 4 4 5 The variable we would like to include in the list of diagnostic quantities is an array that measures the weight of the observation contribution in the optimized bending angle. This weight is an array of numbers between 0 and 1. A weight of 1 at a given impact parameter indicates that at this height the optimized bending angle is 100% data, in other words the optimized bending angle is identical to the raw bending angle at this height. If the weight is 0 the optimized bending angle is 100% MSIS with no contribution from the data. The array of weights will gradually transition from numbers close to zero at high altitude to numbers close to one at low altitude. 5 The variable we would like to include in the list of diagnostic 6 quantities is an array that measures the weight of the observation 7 contribution in the optimized bending angle. This weight is an 8 array of numbers between 0 and 1. A weight of 1 at a given impact 9 parameter indicates that at this height the optimized bending angle 10 is 100% data, in other words the optimized bending angle is 11 identical to the raw bending angle at this height. If the weight is 12 0 the optimized bending angle is 100% MSIS with no contribution 13 from the data. The array of weights will gradually transition from 14 numbers close to zero at high altitude to numbers close to one at 15 low altitude. 6 16 7 17 8 18 9 I am attaching 3 Fortran code files (made by Hans) that demonstrate a possible implementation. These are modified versions of ropp_pp_occ_tool.f90, ropp_pp.f90 and ropp_pp_ionospheric_correction.f90. They are based on ROPP 5.0 and you should be able to proceed from these without to much trouble. Changes are marked with !HGL (although there might be a few changes that slipped in without this comment) 19 I am attaching 3 Fortran code files (made by Hans) that demonstrate 20 a possible implementation. These are modified versions of 21 ropp_pp_occ_tool.f90, ropp_pp.f90 and 22 ropp_pp_ionospheric_correction.f90. They are based on ROPP 5.0 and 23 you should be able to proceed from these without to much trouble. 24 Changes are marked with !HGL (although there might be a few changes 25 that slipped in without this comment) 10 26 11 27 12 28 13 The solution implemented here adds the variable WLC to all three routines and the internal variable WLCH inside ropp_pp_ionospheric_correction.f90. Both variables represent the array of weights, just at two different sets of impact heights. The values are calculated in WLCH and then interpolated to form WLC, which is added to the output. 29 The solution implemented here adds the variable WLC to all three 30 routines and the internal variable WLCH inside 31 ropp_pp_ionospheric_correction.f90. Both variables represent the 32 array of weights, just at two different sets of impact heights. The 33 values are calculated in WLCH and then interpolated to form WLC, 34 which is added to the output. 14 35 15 36 16 37 17 In this implementation WLC is just added to standard output. It is probably more reasonable to add it to the diag structure and only add it to the output if the diag = .true. flag is set. 38 In this implementation WLC is just added to standard output. It is 39 probably more reasonable to add it to the diag structure and only 40 add it to the output if the diag = .true. flag is set. 18 41 19 42 20 43 21 The extra argument to ropp_pp_ionospheric_correction.f90 is made OPTIONAL since we weren't sure that we know all the routines that called this. You might want to implement it differently 44 The extra argument to ropp_pp_ionospheric_correction.f90 is made 45 OPTIONAL since we weren't sure that we know all the routines that 46 called this. You might want to implement it differently 22 47 23 48