Skip to content

Commit 49b049e

Browse files
committed
fix time descriptor
1 parent bbfcee7 commit 49b049e

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

services/src/api/handlers/workflows.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,9 @@ mod tests {
11101110
"spatialReference": "EPSG:4326",
11111111
"time": {
11121112
"bounds": null,
1113-
"dimension": null
1113+
"dimension": {
1114+
"type": "irregular",
1115+
}
11141116
},
11151117
"spatialGrid": {
11161118
"descriptor": "source",
@@ -1389,6 +1391,7 @@ mod tests {
13891391
"spatialReference": "EPSG:4326",
13901392
"time": {
13911393
"dimension": {
1394+
"type": "regular",
13921395
"origin": 0,
13931396
"step": {
13941397
"granularity": "months",

test_data/raster/multi_tile/metadata/dataset_irregular.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
"start": "2025-01-01T00:00:00.000Z",
2323
"end": "2025-05-01T00:00:00.000Z"
2424
},
25-
"dimension": null
25+
"dimension": {
26+
"type": "irregular"
27+
}
2628
},
2729
"spatialGrid": {
2830
"spatialGrid": {

test_data/raster/multi_tile/metadata/dataset_regular.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"end": "2025-05-01T00:00:00.000Z"
2424
},
2525
"dimension": {
26+
"type": "regular",
2627
"origin": "2014-01-01T00:00:00.000Z",
2728
"step": {
2829
"granularity": "months",

0 commit comments

Comments
 (0)