generated from worldbank/template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from worldbank/revert-81-feature/ntl_metadata
Revert "[WIP] Feature/ntl metadata"
- Loading branch information
Showing
13 changed files
with
125 additions
and
591 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,16 +1,10 @@ | ||
## space2stats | ||
|
||
### Generating Preliminary CATALOG, COLLECTION, and ITEM files | ||
### Generating STAC files | ||
- Navigate to the METADATA sub-directory and run the following commands in order: | ||
1. get_types.py | ||
2. create_stac.py | ||
- Note that the get types function is reading in a parquet file from the following directory: space2stats_api/src/local.parquet | ||
- Here is a workflow diagram of the initial STAC metadata creation: | ||
- Here is a workflow diagram of the STAC metadata creation: | ||
|
||
![Create Stac](../../docs/images/create_stac_workflow.png) | ||
|
||
### Adding new ITEM files | ||
- In link_new_item.py set "Paths and metadata setup" in the main function to point towards the corresponding locally saved parquet file | ||
- Navigate to the METADATA sub-directory and run the following commands in order: | ||
1. get_types.py | ||
2. line_new_items.py | ||
![Create Stac](../../docs/images/create_stac_workflow.png) |
Binary file modified
BIN
+14.2 KB
(190%)
space2stats_api/src/space2stats_ingest/METADATA/Space2Stats Metadata Content.xlsx
Binary file not shown.
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
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
151 changes: 0 additions & 151 deletions
151
space2stats_api/src/space2stats_ingest/METADATA/link_new_item.py
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.