User Tools

Site Tools


atmos:citation:research:soda_proecessing_1d_and_2d_hail_2d_hvps1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
atmos:citation:research:soda_proecessing_1d_and_2d_hail_2d_hvps1 [2024/05/20 18:40] klinmanatmos:citation:research:soda_proecessing_1d_and_2d_hail_2d_hvps1 [2024/05/21 14:23] (current) klinman
Line 3: Line 3:
 The counts generated from SODA are saved in a 14xn array where n is the number of x second intervals, where x can be specified when using the SODA gui. x is set to 5 seconds as a default in the gui, and is what has been used in the research so far. An example of these counts is shown below, The counts generated from SODA are saved in a 14xn array where n is the number of x second intervals, where x can be specified when using the SODA gui. x is set to 5 seconds as a default in the gui, and is what has been used in the research so far. An example of these counts is shown below,
  
-{{:atmos:citation:research:count_comparison_header.png?400|}}+{{:atmos:citation:research:count_comparison_header.png?900|}}
  
-{{:atmos:citation:research:count_comparison.png?400|}}+{{:atmos:citation:research:count_comparison.png?900|}}
  
 The time interval for 241846 - 241851 is shown. Note that the time intervals count up to 5 seconds forward from the start time. The counts from SODA are in the "SODA" row, and you'll notice that they are much larger than the DISP counts which are the 1D counts. Usually they're larger by factors of 5-10. This will be (partially) resolved later on. The time interval for 241846 - 241851 is shown. Note that the time intervals count up to 5 seconds forward from the start time. The counts from SODA are in the "SODA" row, and you'll notice that they are much larger than the DISP counts which are the 1D counts. Usually they're larger by factors of 5-10. This will be (partially) resolved later on.
Line 11: Line 11:
 To calculate concentration from counts, the basic forumla is, To calculate concentration from counts, the basic forumla is,
  
-Conc (#/m^4) = Counts / (SA * Airspeed * Binsize change)+    Conc (#/m^4) = Counts / (SA * Airspeed * Binsize change)
  
 where  where 
Line 19: Line 19:
     * For channel 1 for the Hail Spectrometer, this would be 0.50cm - 0.40cm = 0.10cm     * For channel 1 for the Hail Spectrometer, this would be 0.50cm - 0.40cm = 0.10cm
  
-count forward+SODA includes extra variables in it's calculations. I can not explain why SODA includes these extra factors, but they are in there, and when included, the resulting concentration is agreeably close to the concentration calculated from the 1D counts. This is why the counts are "(partially) resolved." 
 +  * Counts are multiplied by a correction factor 
 +    * This is the Poisson correction factor. 
 +  * In additions to SA, Airspeed, and Binsize change, SODA also divides by "activetime" 
 +    * "activetime" is the time interval. SODA defaults to 5 seconds for this interval
  
 +The new formula is,
  
-Notes for self +    Conc (#/m^4) = (Counts * corr_fac) / (SA * Airspeed * Binsize change * activetime) 
-  * np.ceil or np.round +     
-        for cases where 1 count, but soda does correction of * 1.1 / 5  +where for the Hail Spectrometer, 
-              so the 1 count would be 1 *1.1 /5 = ~.2     does the .2 count as a count since the /5 is a result of the 5 seconds? +  * Probe arm length: 0.99 m (SODA version) 
-  * hail counts from disp count forwardso 241841 is 41 42 43 44 45 +  Diode size: 0.009 m 
-  * cant say i understand it but in aarons codethe counts are multiplied by the 1.1 correction factorthen the conc is /5 which is the active time +  Diodes: 64 (SODA version) 
-        * what doesn't make sense is that the counts are ~5x higher than the disp filewhich is wrong because when the concentration is calculatedit takes into account that 5x factor and becomes decently close to the disp calculated conc +  Airspeed: ~100m/s 
-        * what also doesnt make sense is that the concentration from calculating it myselfusing that /5 and *1.1 is that the concentration i calculate is consistently ~1.1 times higher than the concentration aaron gets. +  * Binsize change: 0.0010.001, 0.001, 0.0010.00140.00160.002, 0.0026, 0.003, 0.0031, 0.0044, 0.006, 0.0079, 0.01 
-              * could i be looking at the wrong code +  * Corr_fac: ~1.1 
-  * ok update to previous bullet point. just not multiplying by 1.1 seems to be the move??? +  activetime: 5
-        i think im missing where in aarons code he actually makes the concentration file because something is off here +
-              * and im still confused about why the counts should be /but thats not the step that I see taken in the code +
-  * aaron takes conc1d and prints it to the ascii file and does nothing with it except format it+
  
 +When you consider the counts being multiplied by the correction factor and divided by the active time, the 2D counts from SODA better match the 1D counts. In the image below, the 2D counts generated by SODA are much closer to the 1D counts from the DISP file. These "corrected counts" agree pretty well with the 1D counts.
  
 +{{:atmos:citation:research:counts_adjustsed_2d.png?900|}}
  
-Ok sonotes for making this page+With the counts from the first image plugged into the second formulathe resulting concentration is,  
-  * all the counts check outwould be good to show this and include where the time starts + 
-  * the sample volume checks outshow this too, but not all the soda details. but a comparison of numbers would be good +{{:atmos:citation:research:conc_compairon_header.png?900|}} 
-  * explain the differene between sodas counts and the disp counts and  how if you divide by 5 theyre the saame but im not sure why. however, it works out in the concentration with the divide by 5 + 
-    * the counts are multipliued by a correction factor 1.1 +{{:atmos:citation:research:soda_conc_comparison.png?900|}} 
-  * with all that considered the concs match well and the math was reproducable using the counts from soda and the numbersand the conc ultimately lines up decently with the 1D + 
-  * the corr fac is the poisson corr factor +The SODA concentrations agree fairly well with the DISP concentrations. 
-    * not sure why this is needed tho + 
-  * the active time correction is for how ever long the chunk is +Notes to self on information to include, mention, explore, etc, 
-    not sure why it should be divided by 5? figure it should be sum so no need for division but oh well it works so whatever +  * Counts roundedCeiling or round up/down? Which is better representation of data? 
-  * why the 126/64 diode change?+  * Time counts forward from time denoted for interval 
 +  * Idk why the counts are 5x higher. Idk why the correction factor. Idk why the divide by active time. Idk 
 +  * Sometimes, although I believe this is fixed in my math nowmy calculated 2D concentrations are 1.1x higher. But again, I think this isn't an issue anymore. 
 +  * Sample volumes check out. Airspeed checks out. SODA uses one airspeed for whole time interval. Include a comparison of the numbers 
 +  Include comparison of the different probe specs used in 1D and 2D calculation
   *    * 
 +
 +to get rid of sec from airspeed, i like to think of it as counts per time interval. so 100 counts per 5 second interval would be 100/5s which gives the seconds on bottom to cancel out the seconds in the airspeed. 10 counts per 1 second likewise gives 10/1s. and all of this normalizes the concentration to one second, which is why the 5 second soda intervals and 1 second disp intervals produce the same looking numbers
  
  
atmos/citation/research/soda_proecessing_1d_and_2d_hail_2d_hvps1.1716230441.txt.gz · Last modified: 2024/05/20 18:40 by klinman