Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

satcal.h 2.5 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. const struct {
  2. float d[4][3];
  3. struct {
  4. float vc, A, B;
  5. } rad[3];
  6. struct {
  7. float Ns;
  8. float b[3];
  9. } cor[3];
  10. } satcal[4] =
  11. {/* calibration coeff from NOAA KLM POES satellite user guide */
  12. {/* NOAA-15 */
  13. { /* PRT coeff d0,d1,d2 */
  14. {276.60157 , 0.051045 , 1.36328E-06},
  15. {276.62531 , 0.050909 , 1.47266E-06},
  16. {276.67413 , 0.050907 , 1.47656E-06},
  17. {276.59258 , 0.050966 , 1.47656E-06}
  18. },
  19. { /* channel radiance coeff vc,A,B*/
  20. {925.4075 , 0.337810 , 0.998719}, /* channel 4 */
  21. {839.8979 , 0.304558 , 0.999024}, /* channel 5 */
  22. {2695.9743 , 1.621256 , 0.998015} /* channel 3B */
  23. },
  24. { /* nonlinear radiance correction Ns,b0,b1,b2 */
  25. {-4.50 , {4.76 , -0.0932 , 0.0004524}}, /* channel 4 */
  26. {-3.61 , {3.83 , -0.0659 , 0.0002811}}, /* channel 5*/
  27. {0.0,{0.0,0.0,0.0}} /* channel 3B*/
  28. }
  29. },
  30. {/* NOAA-16 */
  31. { /* PRT coeff d0,d1,d2 */
  32. {276.355 , 5.562E-02 ,-1.590E-05},
  33. {276.142 , 5.605E-02 ,-1.707E-05},
  34. {275.996 , 5.486E-02 ,-1.223E-05},
  35. {276.132 , 5.494E-02 ,-1.344E-05}
  36. },
  37. { /* channel radiance coeff vc,A,B*/
  38. {917.2289 ,0.332380 ,0.998522}, /* channel 4 */
  39. {838.1255 ,0.674623 ,0.998363}, /* channel 5 */
  40. {2700.1148 ,1.592459,0.998147} /* channel 3B */
  41. },
  42. { /* nonlinear radiance correction Ns,b0,b1,b2 */
  43. {-2.467, {2.96,-0.05411,0.00024532}}, /* channel 4 */
  44. {-2.009,{2.25,-0.03665,0.00014854}}, /* channel 5*/
  45. {0.0,{0.0,0.0,0.0}} /* channel 3B*/
  46. }
  47. },
  48. {/* NOAA 17 */
  49. { /* PRT coeff d0,d1,d2 */
  50. {276.628 , 0.05098 , 1.371e-06},
  51. {276.538 , 0.05098 , 1.371e-06},
  52. {276.761 , 0.05097 , 1.369e-06},
  53. {276.660 , 0.05100 , 1.348e-06}
  54. },
  55. { /* channel radiance coeff vc,A,B*/
  56. {926.2947 , 0.271683 , 0.998794}, /* channel 4 */
  57. {839.8246 , 0.309180 , 0.999012}, /* channel 5 */
  58. {2669.3554 , 1.702380 , 0.997378} /* channel 3B */
  59. },
  60. { /* nonlinear radiance correction Ns,b0,b1,b2 */
  61. {-8.55 , {8.22 , -0.15795 , 0.00075579}}, /* channel 4 */
  62. {-3.97 , {4.31 , -0.07318 , 0.00030976}}, /* channel 5 */
  63. {0.0,{0.0,0.0,0.0}} /* channel 3B*/
  64. }
  65. },
  66. {/* NOAA 18 */
  67. { /* PRT coeff d0,d1,d2 */
  68. {276.601 , 0.05090 , 1.657e-06},
  69. {276.683 , 0.05101 , 1.482e-06},
  70. {276.565 , 0.05117 , 1.313e-06},
  71. {276.615 , 0.05103 , 1.484e-06}
  72. },
  73. { /* channel radiance coeff vc,A,B*/
  74. {928.1460 , 0.436645 , 0.998607}, /* channel 4 */
  75. {833.2532 , 0.253179 , 0.999057}, /* channel 5 */
  76. {2659.7952 , 1.698704 , 0.996960} /* channel 3B */
  77. },
  78. { /* nonlinear radiance correction Ns,b0,b1,b2 */
  79. {-5.53 , {5.82 , -0.11069 , 0.00052337}}, /* channel 4 */
  80. {-2.22 , {2.67 , -0.04360 , 0.00017715}}, /* channel 5 */
  81. {0.0,{0.0,0.0,0.0}} /* channel 3B*/
  82. }
  83. }
  84. };
  85. const float c1=1.1910427e-5;
  86. const float c2=1.4387752;