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

root/tower_buoy/bin/meta_data/LSRB_conversions.table

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

--

Line 
1 #%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 #VAR_ID               #CONSTANT_COEFFICIENTS                                       #CONVERSION_FORMULA
3 #%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4 ATEMP                 200, 10, -30                                                 $a_temp*($v[0]/$v[1])+$v[2]
5 RH                    200, 10                                                      $r_hum*($v[0]/$v[1])
6 PIRA                  1.0295e-3,2.391e-4,1.568e-7,20000                            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,20000                            1/($v[0]+$v[1]*(log($pir_dome_t*$v[3]))+$v[2]*(log($pir_dome_t*$v[3]))**3)
8 PIRC                  2000,.25,-2.5                                                ($pir_therm+$v[2])/($v[0]*$v[1])
9 #Serial Number 33977F3
10 PIR                   3.58e-6,5.6697e-8                                            $pir_th/$v[0] + $v[1]*(($pir_ct)**4)
11 #Serial Number 33999F3
12 PSP                   8.32e-6,666.66,.25,-2.5                                      ($psp+$v[3])/($v[0]*$v[1]*$v[2])
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')#Changed to 180 to account for wind _FROM_
17 WDIRA                 360                                                          &avg_wind('dira',180)
18 WSPDB                 60                                                           &avg_wind('spdb')
19 #WDIRB                360                                                          &avg_wind('dirb')#Changed to 180 to account for wind _FROM_
20 WDIRB                 360                                                          &avg_wind('dirb',180)
21
22 COMP1                 0                                                            &avg_wind('cmp1');
23 COMP2                 0                                                            &avg_wind('cmp2');
24
25 COMP                  0                                                            &handle_comp();
26 #COMP_DIR             0                                                            $comp_dir
27 #COMP_PITCH           0                                                            $comp_pitch
28 #COMP_ROLL            0                                                            $comp_roll
29
30 RAIN                  0                                                            &avg_rain('cumrain');
31
32 DISK1F                .01                                                          $disk1p*$v[0]*$disk1t
33 DISK1T                0                                                            $disk1t
34 DISK2F                .01                                                          $disk2p*$v[0]*$disk2t
35 DISK2T                0                                                            $disk2t
36 MEM1F                 .01                                                          $mem1p*$v[0]*$mem1t
37 MEM1T                 0                                                            $mem1t
38 MEM2F                 .01                                                          $mem2p*$v[0]*$mem2t
39 MEM2T                 0                                                            $mem2t
40
41 GPSLAT                .00001                                                       $gps_lat*$v[0]
42 GPSLON                -.0001                                                       $gps_lon*$v[0]
43
44
45 #Variables that don't have any conversion but may have had some parsing...
46 #%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
47 #GPS                  0                                                            $gps_string
48
49 #RESET_TIME           0                                                            $reset_time
50 #RESET_DIFF           0                                                            $reset_diff
51 #BOOT                 0                                                            $boot_time
52 FILES                 0                                                            $num_files
53
54 SAMPLE_LOOP           0                                                            $read_time
55 CLOCK                 0                                                            $sample_loop
56
57 LINK_VOLTS            0                                                            $volts
58 LINK_AMPS             0                                                            $amps
59 LINK_AMP_HRS          0                                                            $amp_hrs
60 LINK_TEMP             0                                                            $box_temp
61
62 COND1                 0                                                            $cond1
63 WTEMP1                0                                                            $temp1
64 PRESS1                0                                                            $press1
65 SAL1                  0                                                            $sal1
66 DENS1                 0                                                            $dens1
67
68 COND2                 0                                                            $cond2
69 WTEMP2                0                                                            $temp2
70 PRESS2                0                                                            $press2
71 SAL2                  0                                                            $sal2
72 DENS2                 0                                                            $dens2
73
74
75
76 #ID                   0                                                            $tower_id
77 #SOFTWARE             0                                                            $software_version
78 SAMPLE_INTERVAL       0                                                            $sample_interval
79 NEWFILE_INTERVAL      0                                                            $newfile_interval
80 #serial               0                                                            $serial_string
81 #RLCAD                0                                                            $rlc_string
82 #BBAD                 0                                                            $bnb_string
Note: See TracBrowser for help on using the browser.