Geospatial dataset > gap-fill temperature monthly measurements
New Model
Description
Currently, the HESTIA platform uses geospatial models to gap-fill annual climate data directly onto Sites (see geospatialDatabase.temperatureAnnual). However, some Tier 2 models require climate data on a monthly basis to run. We must therefore gap-fill monthly climate data from geospatial datasets for each year between the starDate
of the earliest Cycle and the endDate
of the latest Cycle.
This model is to gap-fill temperatureMonthly
measurements.
Requirements
A Site with:
- a siteType =
forest
orother natural vegetation
orcropland
orglass or high accessible cover
orpermanent pasture
oranimal housing
orpond
orriver or stream
orlake
orsea or ocean
- either:
Output
A list of Measurements with:
- term with temperatureMonthly
- value
-
dates with format
YYYY-MM
. -
methodClassification with
geospatial dataset
Examples
Input
{
"@type": "Site",
"@id": "site",
"country": {
"@type": "Term",
"@id": "GADM-GBR",
"name": "United Kingdom",
"termType": "region"
},
"region": {
"@type": "Term",
"@id": "GADM-GBR.1.108.5_1",
"name": "United Kingdom",
"termType": "region"
},
"siteType": "cropland"
}
[
{
"@type": "Cycle",
"@id": "cycle_1959",
"startDate": "1999-06-01",
"endDate": "2000-05-30",
"site": {
"@type": "Site",
"@id": "site"
}
}
]
Expected Output
[
{
"@type": "Measurement",
"term": {
"@type": "Term",
"@id": "temperatureMonthly",
"termType": "measurement"
},
"value": [
9.055,
8.008064516129034,
11.254838709677419,
11.276666666666666,
14.148387096774192,
19.980000000000004,
16.372580645161293,
23.277419354838713,
18.72586206896552,
19.92903225806451,
13.511666666666665,
9.766129032258062,
8.060000000000002,
8.038709677419353,
8.175806451612903,
10.293333333333335,
14.103225806451613,
14.041666666666668,
21.091935483870966,
23.46451612903226,
21.110714285714284,
18.80322580645161,
16.05666666666666,
11.45967741935484
],
"dates": [
"1999-01",
"1999-02",
"1999-03",
"1999-04",
"1999-05",
"1999-06",
"1999-07",
"1999-08",
"1999-09",
"1999-10",
"1999-11",
"1999-12",
"2000-01",
"2000-02",
"2000-03",
"2000-04",
"2000-05",
"2000-06",
"2000-07",
"2000-08",
"2000-09",
"2000-10",
"2000-11",
"2000-12"
]
}
]
Model priority
This model should run with all the other geospatial gap-filling models.
Knowledge tasks
-
Fill-in the Description
-
Fill-in the Requirements
(data dependencies) -
Fill-in the Output
(Assertion Test) -
Add Examples
(essential to create unit tests) -
Add Glossary lookups (if required) -
Define model priority
Dev Tasks
-
Create a branch -
Add the code -
Add the documentation -
Add the unit tests -
Create a Merge Request
Edited by Florian Payen