Queries
Module with GeoQuery definition.
GeoQuery
Bases: BaseModel
GeoQuery definition class.
Source code in drivers/intake_geokube/queries/geoquery.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | |
area_locations_mutually_exclusive_validator(query)
classmethod
Assert 'locations' and 'area' are not passed at once.
Source code in drivers/intake_geokube/queries/geoquery.py
41 42 43 44 45 46 47 48 49 50 | |
build_filters(values)
classmethod
Build filters based on extra arguments.
Source code in drivers/intake_geokube/queries/geoquery.py
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | |
model_dump_original(skip_empty=True)
Return the JSON representation of the original query.
Source code in drivers/intake_geokube/queries/geoquery.py
70 71 72 73 74 75 76 | |
parse(load)
classmethod
Parse load to GeoQuery instance.
Source code in drivers/intake_geokube/queries/geoquery.py
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | |
serialize_time(time, _info)
Serialize time.
Source code in drivers/intake_geokube/queries/geoquery.py
34 35 36 37 38 39 | |
Module with workflow definition.
Task
Bases: BaseModel
Single task model definition.
Source code in drivers/intake_geokube/queries/workflow.py
14 15 16 17 18 19 20 | |
Workflow
Bases: BaseModel
Workflow model definition.
Source code in drivers/intake_geokube/queries/workflow.py
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | |
match_unique_ids(items)
classmethod
Verify the IDs are uniqe.
Source code in drivers/intake_geokube/queries/workflow.py
46 47 48 49 50 51 52 53 | |
obtain_dataset_id(values)
classmethod
Get dataset_id and product_id from included tasks.
Source code in drivers/intake_geokube/queries/workflow.py
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | |
parse(workflow)
classmethod
Parse to Workflow model.
Source code in drivers/intake_geokube/queries/workflow.py
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | |