This is a documentation for the HTTP API for configuring the calibration information used in Cloudnet data processing.
This route takes the following URL parameters:
instrumentPid
: Instrument PIDdate
: Date of the calibrationNOTE: For dates that do not have calibration data set, the previous calibration data are returned. For example, given that there are calibration data for date 2021-01-01, querying the data for 2021-01-02 will return the calibration data of 2021-01-01.
The route takes the following URL parameters:
instrumentPid
: Instrument iddate
: Date for which the calibration is validRequest body must contain calibration data as JSON.
Field Name | Type | Unit | Product | Description |
---|---|---|---|---|
time_offset | int |
min |
lidar , weather-station |
Time offset compared to UTC (positive values mean ahead of UTC, e.g. Finnish local time). |
range_offset | int |
m |
radar |
Range offset. |
calibration_factor | float |
1 | lidar |
Calibration factor. |
range_corrected | bool |
1 | lidar |
Indicates range-correction. |
telegram | list[int] |
1 | disdrometer |
Telegram of data. |
coefficientLinks | list[str] |
1 | mwr-l1b |
Coefficient links. |
azimuth_offset_deg | int |
deg |
doppler-lidar-wind |
Azimuth offset. |
missing_timestamps | bool |
1 | disdrometer |
Indicates missing timestamps. |
snr_limit | float |
1 | lidar |
Signal-to-noise ratio limit. |
Example query:
GET https://cloudnet.fmi.fi/api/calibration?instrumentPid=https://hdl.handle.net/21.12132/3.cdf99c536bd04146&date=2021-01-01
Response body:
{
"createdAt": "2023-04-04T12:59:47.686Z",
"updatedAt": "2023-04-04T12:59:47.686Z",
"data": {
"range_corrected": true,
"calibration_factor": 4e-12
}
}
curl -u username:password \
-X PUT \
-H "Content-Type: application/json" \
-d '{"range_corrected": true, "calibration_factor": 5e-9}' \
'https://cloudnet.fmi.fi/api/calibration?instrumentPid=https://hdl.handle.net/21.12132/3.cdf99c536bd04146&date=2021-01-01'
Note: Updating the calibration database is currently done by the CLU personnel only.