-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor to python package and restructure project directory (#16)
* rename generate.py to example.py and mv to directory with STAC generation scripts * mkdir tests and mv validation.py to test_validation.py * make dir for ci scripts; add convert.py to this dir. * etl and coclico stac configs into src/coclicodata directory that can be packaged * refactor * add poetry for package management * add azure vars to env * mv keys function to cloud utils * snakecase convention * mv scripts to subdirs * setup deltares drive configs * refactor to python package * usage instructions and integrated readme in package dirs here * usage instructions and integrated readme in package dirs here * mv readme to proj root * coastal mask with coclicodata and coastmonitor package * do not require deltares fields * change id to raw gh path * test schema * change path * deltares props no longer as required * fp to href * description for all files in repo * bash script to upload stacs to azure cloud * change schema uri to update json schema * make stacs without deltares properties as required * test to avoid collection id duplication * mv root inside test as convention * black formatting * pre commit config * pre commit cleanup * add pre commit instructions to readme * change href extension to main branch * coastal mask stacs without redundant frontend properties * added coastal mask to stac catalog * sync instead of uploading * load catalog outside function for CI tests * fix href to root in tests * reset hrefs to feature branch --------- Co-authored-by: floriscalkoen <[email protected]>
- Loading branch information
1 parent
4210fb8
commit f88c04d
Showing
358 changed files
with
73,076 additions
and
72,805 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 +1,4 @@ | ||
MAPBOX_ACCESS_TOKEN="" | ||
AZURE_STORAGE_ACCOUNT="" | ||
AZURE_STORAGE_SAS_TOKEN="" | ||
GH_COASTMONITOR_TOKEN="" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
ci: | ||
autofix_prs: false | ||
autoupdate_schedule: weekly | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: debug-statements | ||
- id: check-yaml | ||
- id: check-added-large-files | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 23.7.0 | ||
hooks: | ||
- id: black | ||
language_version: python3.11 | ||
|
||
- repo: https://github.com/kynan/nbstripout | ||
rev: 0.6.1 | ||
hooks: | ||
- id: nbstripout |
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
File renamed without changes.
Oops, something went wrong.