GraphQL/Objects
Rainfall
Record for persisting rainfalls readings from a given sensor
type Rainfall {
id: String
unit: RainfallUnit
value: Float
farmId: String
sensorId: String
time: Timestamp
mode: RainfallMode
}Fields
Rainfall.id ● String scalar
Unique identifier of the rainfall record
Rainfall.unit ● RainfallUnit enum
This represents the type of unit used to measure the rainfall
Rainfall.value ● Float scalar
Rainfall recorded on a specific sensor
Rainfall.farmId ● String scalar
Farm identifier to associate the record with
Rainfall.sensorId ● String scalar
AgriWebb rain gauge identifier to associate the record with. You can retrieve a list of rain gauges by querying mapFeatures(type: RAIN_GAUGE)
Rainfall.time ● Timestamp scalar
Time the rainfall was recorded. Format will be UNIX epoch time with milliseconds. (e.g. 1564508046433)
Rainfall.mode ● RainfallMode enum
Can use either absolute or cumulative. If cumulative, the records for the same day are added together and displayed as one record for the user. Absolute values are saved as separate records.
Returned By
query
Member Of
object