-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Onboard Cloud Storage Geo Index (#367)
* fix: Added partitioning and clustering. Not production ready. * fix: Works for landsat_index * fix: Added sentinel-2 pipeline as well as clustering. * fix: Clean up. * fix: attempt to resolve pod not started. * fix: various fixes to pipeline.yaml which caused 'pod not started' issues. Added bigquery to requirements.txt * fix: Resolve resource issues in pipeline.yaml. * fix: Moved schema JSON files as per code review request. * fix: Exposed variable values into pipeline.yaml as per code review. * Update pipeline.yaml Co-authored-by: Adler Santos <[email protected]>
- Loading branch information
1 parent
ba473c6
commit 63cdb2a
Showing
10 changed files
with
1,073 additions
and
498 deletions.
There are no files selected for viewing
104 changes: 104 additions & 0 deletions
104
...pipelines/_images/run_csv_transform_kub/cloud_storage_geo_index_landsat_index_schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
[ | ||
{ | ||
"name": "scene_id", | ||
"type": "STRING", | ||
"mode": "REQUIRED" | ||
}, | ||
{ | ||
"name": "product_id", | ||
"type": "STRING", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "spacecraft_id", | ||
"type": "STRING", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "sensor_id", | ||
"type": "STRING", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "date_acquired", | ||
"type": "DATE", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "sensing_time", | ||
"type": "TIMESTAMP", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "collection_number", | ||
"type": "STRING", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "collection_category", | ||
"type": "STRING", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "data_type", | ||
"type": "STRING", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "wrs_path", | ||
"type": "INTEGER", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "wrs_row", | ||
"type": "INTEGER", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "cloud_cover", | ||
"type": "FLOAT", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "north_lat", | ||
"type": "FLOAT", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "south_lat", | ||
"type": "FLOAT", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "west_lon", | ||
"type": "FLOAt", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "east_lon", | ||
"type": "FLOAT", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "total_size", | ||
"type": "INTEGER", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "base_url", | ||
"type": "STRING", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "source_url", | ||
"type": "STRING", | ||
"description": "Source ", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "etl_timestamp", | ||
"type": "TIMESTAMP", | ||
"description": "Load time for this data row", | ||
"mode": "NULLABLE" | ||
} | ||
] |
84 changes: 84 additions & 0 deletions
84
...ex/pipelines/_images/run_csv_transform_kub/cloud_storage_geo_index_sentinel_2_schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
[ | ||
{ | ||
"name": "granule_id", | ||
"type": "STRING", | ||
"mode": "REQUIRED" | ||
}, | ||
{ | ||
"name": "product_id", | ||
"type": "STRING", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "datatake_identifier", | ||
"type": "STRING", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "mgrs_tile", | ||
"type": "STRING", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "sensing_time", | ||
"type": "TIMESTAMP", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "geometric_quality_flag", | ||
"type": "STRING", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "generation_time", | ||
"type": "TIMESTAMP", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "north_lat", | ||
"type": "FLOAT", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "south_lat", | ||
"type": "FLOAT", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "west_lon", | ||
"type": "FLOAT", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "east_lon", | ||
"type": "FLOAT", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "base_url", | ||
"type": "STRING", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "total_size", | ||
"type": "INTEGER", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "cloud_cover", | ||
"type": "FLOAT", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "source_url", | ||
"type": "STRING", | ||
"description": "Source ", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "etl_timestamp", | ||
"type": "TIMESTAMP", | ||
"description": "Load time for this data row", | ||
"mode": "NULLABLE" | ||
} | ||
] |
Oops, something went wrong.