Skip to content

Commit

Permalink
Implement pre-processing script for GCBM simulation (moja-global#111)
Browse files Browse the repository at this point in the history
* Implement pre-processing script for GCBM simulation

* implement raster operations

* Update app.py

* Update app.py

* pre-processing for layers json

* pre-processing for all JSONs

* create templates folder

* copy inputs to run4 and delete directories

* fix overwritting

* upload miscellaneous files in project directory

* Update dev environment

* Store configuration templates to `local/rest_gcbm_api`

* Format with Black

* Refactor to use standard templates

* Remove config to leverage new templates

* Fix typos

* create separate functons, remove dynamic data from template

* change to meaningful variable names

* fix download endpoint error

* endpoint for changing schema in gcbm_input.dbcbm_

* change output directory, format code with black

* Update allowedlist.yaml

* gcbm:pytest, code format with black

* add docstring to config_table.py, revert changes for docker-compose.yml

Co-authored-by: aornugent <[email protected]>
  • Loading branch information
padmajabhol and aornugent authored Jun 22, 2022
1 parent 977497e commit e6a7632
Show file tree
Hide file tree
Showing 22 changed files with 1,949 additions and 171 deletions.
4 changes: 4 additions & 0 deletions .github/containerscan/allowedlist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ general:
- CVE-2022-0002
- CVE-2022-0847
- CVE-2022-1015
- CVE-2022-21499
- CVE-2022-29581
- CVE-2022-1966
- CVE-2022-29361

bestPracticeViolations:
- CIS-DI-0007
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,5 @@ cython_debug/

# Input files
local/rest_api_gcbm/input/
GCBM_Demo_Run/
GCBM_New_Demo_Run/
Binary file modified GCBM_Demo_Run.zip
Binary file not shown.
Binary file added GCBM_New_Demo_Run.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion local/rest_api_flint.example/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: "3.9"
services:
flint.example:
gcbm:
build: .
ports:
- "8080:8080"
Expand Down
Loading

0 comments on commit e6a7632

Please sign in to comment.