WCSTImportGuide: ingredient_irregulartime_filename.txt

File ingredient_irregulartime_filename.txt, 1.4 KB (added by bphamhuu, 2 years ago)
Line 
1{
2    "config": {
3        "service_url": "http://localhost:8080/rasdaman/ows",
4        "tmp_directory": "/tmp/",
5        "crs_resolver": "http://localhost:8080/def/",
6        "default_crs": "http://localhost:8080/def/crs/OGC/0/Index2D",
7        "mock": false,
8        "automated": false,
9        "subset_correction": true
10    },
11    "input": {
12        "coverage_id": "DTM13", // ID of your coverage inside Rasdaman Database (if coverage's ID is existed, try to upgrade instead of inserting new coverage)
13        "paths": [
14            "/home/rasdaman/images/test1/*.tif"
15        ]
16    },
17    "recipe": {
18        "name": "time_series_irregular", // must use the right name with your purpose ("map_mosaic", "time_series_regular", "time_series_irregular"), could not define arbitrary name like (my_recipe)
19        "options": {
20            "time_parameter": {
21                "filename": {
22                  "regex": "(.*)_(.*)_(.+?)_(.*)", // (template: A_B_C_D) i.e: A_B_2010:09:02 01:01:20_C.tif with A, B and D is a abitrary characters and numbers and C is "datatime_format" below (choose C is datetime because "group" : "3" (index is A:1, B:2, C:3, D:4)
23                  "group": "3"
24                },
25                "datetime_format": "YYYY:MM:DD HH:mm:ss" // Y: Year, M:Month, D:Day, H:hour, m:minute, s:seconds, i.e: 2011:02:03 10:20:40
26            },
27           "time_crs": "http://opengis.net/def/crs/OGC/0/AnsiDate"
28        },
29     
30        "tiling": "ALIGNED [0:10, 0:1000, 0:500]"
31    }
32}