Campbell Scientific EasyAG Probe for Soil Volumetric Water Content Profiles User Manual

Page 12

Advertising
background image

EasyAG

®

Soil Water Content Profile Probes

‘Load Measurement Failure Errors

If ES1_SF(1) = NAN Then ES1_SF(1) = -99999 ‘If probe fails (NAN at first sensor)

For X = 1 to 8 step 1

‘Load -99999 to all sensors

If ES1_SF(1) < -9999 Then

ES1_SF(X)

=

-99999

ES1_WC(X)

=

-99999

ES1_VIC(X)

=

-99999

Else

‘...OR...

If

ES1_SF(X)

<

-999

Then

‘If a WC sensor fails (indicated by -1000)

ES1_WC(X)

=

-99999

‘Load NAN for water content

Else

‘...OR...

ES1_WC(X) = ((ES1_SF(X) - c)/a)^(1/b) ‘apply calibration

EndIf

EndIf

Next

X


‘Measure rain

PulseCount

(Rain_mm,1,2,2,0,.01,0)


‘Input irrigation events manually in Irrimax, 0 must be written to data file

Irrig_mm

=

0


‘Output Data to Storage

CallTable

ES1_SF

‘Store Scaled Frequency and VIC Data with Rain and Irrigation

‘for Irrimax Software

CallTable

ES1_WC ‘Store Water Content Data


‘Next

Scan

Next

Scan


‘End Program
EndProg

8

Advertising