NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

root/tower_buoy/bin/meta_data/R4_conversions.table

Revision 7 (checked in by cbc, 18 years ago)

--

Line 
1 #%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 #VAR_ID               #CONSTANT_COEFFICIENTS                                       #CONVERSION_FORMULA
3 #%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4 ATEMP                 100, 10, -30                                                 $a_temp*($v[0]/$v[1])+$v[2]
5 RH                    100, 10                                                      $r_hum*($v[0]/$v[1])
6 PIRA                  1.0295e-3,2.391e-4,1.568e-7,10000                            1/($v[0]+$v[1]*(log($pir_case_t*$v[3]))+$v[2]*(log($pir_case_t*$v[3]))**3)
7 PIRB                  1.0295e-3,2.391e-4,1.568e-7,10000                            1/($v[0]+$v[1]*(log($pir_dome_t*$v[3]))+$v[2]*(log($pir_dome_t*$v[3]))**3)
8 PIRC                  2000                                                         $pir_therm/$v[0]
9 #Serial Number 33976F3
10 PIR                   3.59e-6,5.6697e-8                                            $pir_th/$v[0] + $v[1]*(($pir_ct)**4)
11 #Serial Number 33998F3
12 PSP                   8.82e-6,666.66                                               $psp/($v[0]*$v[1])
13 BARO                  68.9475                                                      $baro*$v[0]
14 RAIN                  21,50,20                                                     $rain*($v[1]/($v[0]*$v[2]))
15 WSPDA                 60                                                           &avg_wind('spda')
16 WDIRA                 360                                                          &avg_wind('dira')
17 WSPDB                 60                                                           &avg_wind('spdb');
18 WDIRB                 360                                                          &avg_wind('dirb');
19
20 DISK1F                .01                                                          $disk1p*$v[0]*$disk1t
21 DISK1T                0                                                            $disk1t
22 DISK2F                .01                                                          $disk2p*$v[0]*$disk2t
23 DISK2T                0                                                            $disk2t
24 MEM1F                 .01                                                          $mem1p*$v[0]*$mem1t
25 MEM1T                 0                                                            $mem1t
26 MEM2F                 .01                                                          $mem2p*$v[0]*$mem2t
27 MEM2T                 0                                                            $mem2t
28
29
30 #WSPDA                 60                                                           &average_wind('a','spd');
31 #WDIRA                 360                                                          &average_wind('a','dir',-31);
32 #WSPDA                 60                                                           $wi_spd_a*$v[0]
33 #WDIRA                 360                                                          $wi_dir_a*$v[0]
34 #WSPDA                 60                                                           (@wind_spd_a)*$v[0]/30
35 #WDIRA                 360                                                          (@wind_dir_a)*$v[0]/30
36 #WUA                  .0174533                                                      (@wind_spd_a)*sin(@wind_dir_a*$v[0]);
37 #WVA                  .0174533                                                      (@wind_spd_a)*cos(@wind_dir_a*$v[0]);
38
39 #WSPDB                 60                                                           $wi_spd_b*$v[0]
40 #WDIRB                 360                                                          $wi_dir_b*$v[0]     
41 #WSPDB                 60                                                           &average_wind('b','spd');
42 #WDIRB                 360                                                          &average_wind('b','dir',-31);
43
44 #Variables that don't have any conversion but may have had some parsing...
45 #%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
46 #GPS                  0                                                            $gps_string
47 #RESET_TIME           0                                                            $reset_time
48 #RESET_DIFF           0                                                            $reset_diff
49 #BOOT                 0                                                            $boot_time
50 SAMPLE_LOOP           0                                                            $read_time
51 CLOCK                 0                                                            $sample_loop
52
53
54 LINK_VOLTS            0                                                            $volts
55 LINK_AMPS             0                                                            $amps
56 LINK_AMP_HRS          0                                                            $amp_hrs
57 LINK_TEMP             0                                                            $box_temp
58
59
60 #ID                   0                                                            $tower_id
61 #SOFTWARE             0                                                            $software_version
62 SAMPLE_INTERVAL       0                                                            $sample_interval
63 NEWFILE_INTERVAL      0                                                            $newfile_interval
64 #serial               0                                                            $serial_string
65 #RLCAD                0                                                            $rlc_string
66 #BBAD                 0                                                            $bnb_string
Note: See TracBrowser for help on using the browser.