Changeset 19019 for trunk/DataCheck/Tools
- Timestamp:
- 06/13/18 02:56:37 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Tools/fill_r750.sh
r18939 r19019 12 12 0.0 # 5 13 13 0.0 # 6 14 260. 7# 715 26 1.2 # 816 2 67.9 # 917 2 87.0 #1018 25 1.3#1119 25 1.3#1220 23 7.7#1321 24 6.6#1422 24 3.4#1523 26 7.9#1624 2 49.4#1725 25 4.8#1826 2 61.5#1927 27 4.2#2028 26 4.5 #2129 2 28.9 #2230 255. 1#2331 26 9.0 #2432 28 1.9#2533 27 1.4#2634 27 0.5#2735 2 67.9#2814 260.6 # 7 15 265.2 # 8 16 270.9 # 9 17 291.0 #10 18 253.1 #11 19 254.5 #12 20 239.3 #13 21 248.7 #14 22 245.5 #15 23 265.4 #16 24 250.1 #17 25 257.4 #18 26 253.6 #19 27 276.4 #20 28 268.5 #21 29 261.9 #22 30 255.7 #23 31 268.7 #24a 32 284.4 #25 33 274.8 #26 34 271.1 #27 35 270.0 #28 36 36 0.0 #29 37 24 6.9#3038 24 6.9#3139 28 2.8#3240 28 2.7#3341 27 2.0#3442 26 1.1#3543 25 6.0#3644 27 3.6#3745 27 3.2#3846 28 0.8 #3947 28 2.9#4048 2 86.7#4149 29 0.7#4250 27 5.5 #4351 276. 1#4452 2 67.2#4553 24 6.9#46b54 24 8.1#4755 2 46.2#4856 25 3.3#4957 26 5.1#5058 266. 2#5159 26 4.7#5260 25 7.6#5361 24 4.9#5462 24 4.7#5563 2 39.6 #5664 244. 6#5765 24 2.6#5866 23 7.1#5937 248.2 #30 38 248.2 #31 39 284.4 #32 40 284.1 #33 41 273.8 #34 42 263.4 #35 43 258.3 #36 44 277.0 #37 45 275.5 #38 46 283.8 #39 47 284.7 #40 48 292.3 #41 49 292.2 #42 50 276.5 #43 51 276.8 #44 52 272.9 #45 53 249.1 #46b 54 249.5 #47 55 250.4 #48 56 255.1 #49 57 266.7 #50 58 266.0 #51 59 268.0 #52 60 258.9 #53 61 246.2 #54 62 243.9 #55 63 240.6 #56 64 244.8 #57 65 246.8 #58 66 239.3 #59 67 67 247.3 #60b 68 245.5 #61 69 260.3 #62 70 258.7 #63 71 248.7 #64 72 248.2 #65 73 245.9 #66 74 235.9 #67 75 233.2 #68 76 287.2 #69 77 243.1 #70 78 231.4 #71 79 237.8 #72 80 222.3 #73 81 214.0 #74 82 244.0 #75 83 249.6 #76 84 253.4 #77 85 0.0 #78 68 248.2 #61 69 261.5 #62 70 259.6 #63 71 248.6 #64 72 253.1 #65 73 248.1 #66 74 237.4 #67 75 233.6 #68 76 288.9 #69a 77 253.0 #70 78 232.9 #71a 79 238.7 #72 80 223.7 #73 81 215.7 #74 82 248.2 #75 83 250.6 #76 84 254.2 #77 85 247.4 #78 86 254.6 #79 87 248.3 #80 88 244.0 #81 89 247.2 #82 86 90 ) 87 91 … … 99 103 done 100 104 101 # periods 42 and 60 are split: 105 # several periods are split: 106 # 71b 107 query="UPDATE RunInfo SET fR750Ref=250.0 WHERE fPeriod=69 AND fNight>20170726" 108 mysql --defaults-file=$sqlpw -u operator -h 10.0.100.21 $dbname -s -e "$query" 109 # 69b 110 query="UPDATE RunInfo SET fR750Ref=253.0 WHERE fPeriod=69 AND fNight>20170524" 111 mysql --defaults-file=$sqlpw -u operator -h 10.0.100.21 $dbname -s -e "$query" 102 112 # 60a 103 query="UPDATE RunInfo SET fR750Ref=23 7.1WHERE fPeriod=60 AND fNight<20170901"113 query="UPDATE RunInfo SET fR750Ref=239.3 WHERE fPeriod=60 AND fNight<20170901" 104 114 mysql --defaults-file=$sqlpw -u operator -h 10.0.100.21 $dbname -s -e "$query" 105 115 # 46a 106 116 query="UPDATE RunInfo SET fR750Ref=271 WHERE fPeriod=46 AND fNight<20150716" 107 117 mysql --defaults-file=$sqlpw -u operator -h 10.0.100.21 $dbname -s -e "$query" 118 # 24b 119 query="UPDATE RunInfo SET fR750Ref=286.2 WHERE fPeriod=24 AND fNight>20131003" 120 mysql --defaults-file=$sqlpw -u operator -h 10.0.100.21 $dbname -s -e "$query" 108 121 109 122 zd="cos(fZenithDistanceMean/180*Pi())" 110 123 min="TIME_TO_SEC(TIMEDIFF(fRunStop,fRunStart))*fEffectiveOn/60" 111 cor="pow("$zd", 1. 091)*exp((1-1/"$zd")*0.593)*exp(1.829*(1-"$zd"))"124 cor="pow("$zd", 1.94)*exp((1-1/"$zd")*0.331)*exp(2.39*(1-"$zd"))" 112 125 113 126 # fill corrected R750
Note:
See TracChangeset
for help on using the changeset viewer.