Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
178 commits
Select commit Hold shift + click to select a range
460e9b3
adding local code for apis change detection/vector, croping intensity…
ramank1137 Apr 9, 2026
705e433
bump
ankit-work7 Apr 14, 2026
41308ea
added methods to update db and generate change detection from local m…
ankit-work7 Apr 15, 2026
38cfe0e
api for pushing db update
ankit-work7 Apr 16, 2026
34e14cd
api for pushing db update
ankit-work7 Apr 16, 2026
901cc06
end to end flow for change detection -- push to geoserver -- push to …
ankit-work7 Apr 23, 2026
8f399b5
changed the change detection vector name
ankit-work7 Apr 24, 2026
e314e0a
change detection itr completed on geoserver and DB
ankit-work7 May 11, 2026
4a3ea70
added config file and used it across local generation
ankit-work7 May 12, 2026
9009a5a
LULC v3 local
ankit-work7 May 12, 2026
d7c0489
LULC vector
ankit-work7 May 12, 2026
a797ae0
base config
ankit-work7 May 13, 2026
ca4fb24
swb local clipping
ankit-work7 Jun 5, 2026
002e736
swb chunks upload to gee
ankit-work7 Jun 8, 2026
d9f8fb4
soil health local
amanodt May 18, 2026
5da6935
spei download input datasets
amanodt May 19, 2026
aa9392b
spei refactoring
amanodt May 20, 2026
02a01cd
drought spei R script
amanodt May 20, 2026
fb7ffbd
drought spei on aez
amanodt May 30, 2026
d5a5bed
removed commented code
amanodt Jun 2, 2026
cb1ed99
drought and rainfall - resistance and resilience
amanodt Jun 4, 2026
be42c74
SPEI tree mask update
amanodt Jun 4, 2026
6a8450e
spei_resistance_resilience_pipelines
amanodt Jun 8, 2026
ee2192e
spei R script update with ref years
amanodt Jun 9, 2026
4bf2d26
clipping local compute pipeline (#1002)
shiv1122prakash Jun 12, 2026
ce17357
sync to dev + clean
ankit-work7 Jun 22, 2026
cb30193
config
ankit-work7 Jun 22, 2026
cbbadd7
changes made to terrain descriptor to not generate layers when tehsil…
ankit-work7 Jun 30, 2026
859d925
config updated for all the layers
ankit-work7 Jun 30, 2026
367fd1c
json map configuration
ankit-work7 Jul 1, 2026
5d9833d
Merge pull request #1069 from core-stack-org/feature/local-json-map
ankit-work7 Jul 2, 2026
c2eb1c3
boto config
ankit-work7 Jul 2, 2026
7382ade
Merge pull request #1070 from core-stack-org/feature/local-json-map
ankit-work7 Jul 2, 2026
e8a5193
refactored the codebase for setting up
ankit-work7 Jul 3, 2026
f5ace92
Merge pull request #1071 from core-stack-org/feature/local-json-map
ankit-work7 Jul 3, 2026
58c3cb3
chnages for local compute
shiv1122prakash Jul 5, 2026
a0f1d3d
tree health local refactor
ankit-work7 Jul 6, 2026
7684be2
queue update
ankit-work7 Jul 6, 2026
eaa6051
Merge remote-tracking branch 'origin/hotfix/local_code_update_5july_'…
ankit-work7 Jul 6, 2026
e67a47b
tree health fixes
ankit-work7 Jul 6, 2026
37e5ab4
fixes to change detection
ankit-work7 Jul 8, 2026
23bb89d
gitignore modification
Jul 9, 2026
dbed61b
gitignore
Jul 9, 2026
bd0d88e
gitignore modification
Jul 9, 2026
a2fed16
Merge branch 'hotfix/agents' into feature/local-config
Jul 9, 2026
dfd071b
Update .gitignore
Jul 9, 2026
65be55e
api and stac integration
amanodt Jul 13, 2026
5fcaf7d
added OLM OC
amanodt Jul 14, 2026
e7c99ce
Merge pull request #1107 from core-stack-org/feature/soil_health_local
amanodt Jul 14, 2026
e892ecb
Merge pull request #1073 from core-stack-org/dev
amanodt Jul 14, 2026
17d76be
Merge pull request #1111 from core-stack-org/dev
Ksheetiz-24 Jul 14, 2026
c440427
ltp stp updated
amanodt Jul 15, 2026
49b41b2
merged with dev
amanodt Jul 16, 2026
3811bcc
update
amanodt Jul 16, 2026
0ead3c4
Merge branch 'dev' into feature/local-compute
amanodt Jul 16, 2026
9b11a62
facilities error fix
Jul 16, 2026
99bbb7c
Merge pull request #1118 from core-stack-org/dev
amanodt Jul 16, 2026
4da1cb8
api fix
amanodt Jul 16, 2026
b8acfb9
resolved API calls for Facilities, Antyodaya, Livestocks
amit-spatial Jul 17, 2026
cf52627
Merge pull request #1119 from core-stack-org/test/local-pipelines
amanodt Jul 17, 2026
54479d7
JSON map and logging
Jul 20, 2026
1cd8e46
Merge pull request #1120 from core-stack-org/feature/json-map-changes
ankit-work7 Jul 20, 2026
669c7ad
config refactoring
Jul 20, 2026
8c0e38c
Merge pull request #1121 from core-stack-org/hotfix/data-dir
ankit-work7 Jul 20, 2026
1762b4a
added graceful error handling for tehsils without any village with vi…
amit-spatial Jul 20, 2026
db96f08
resolved add to db, corrected db schema to match with the schema acce…
amit-spatial Jul 20, 2026
5933729
revised save to db usage
amit-spatial Jul 20, 2026
7aa32d9
Use canonical DB helpers for local pipeline registration
amit-spatial Jul 20, 2026
d88258a
update cols
pawangramvaani Jul 21, 2026
c98a502
Merge pull request #1122 from core-stack-org/fix/error_checks
pawangramvaani Jul 21, 2026
2aab7be
Merge pull request #1124 from core-stack-org/fix/excel_ma_fac_liv
pawangramvaani Jul 21, 2026
3f931b0
swb to geoserver
Jul 21, 2026
b16246c
Merge pull request #1125 from core-stack-org/hotfix/swb-co
ankit-work7 Jul 21, 2026
b553538
ltp-stp acz level
amanodt Jul 22, 2026
2ca6399
config update
Jul 22, 2026
0e09e99
remove blank village id
pawangramvaani Jul 22, 2026
f43aa8f
Merge pull request #1127 from core-stack-org/fix/excel_ma_fac_liv
amanodt Jul 23, 2026
853a1de
Merge pull request #1129 from core-stack-org/dev
amanodt Jul 23, 2026
225bbe1
Merge pull request #1130 from core-stack-org/staging
ankit-work7 Jul 23, 2026
51c207b
fixed baseline years
amanodt Jul 23, 2026
24a145a
Merge pull request #1131 from core-stack-org/dev
amanodt Jul 23, 2026
5e95d27
Merge pull request #1132 from core-stack-org/staging
ankit-work7 Jul 23, 2026
7f1fb94
json map path updates
Jul 23, 2026
4f71327
json map path updates
Jul 23, 2026
4a5c8f1
Merge branch 'hotfix/config-json' into feature/local-compute
Jul 23, 2026
d875afc
ltp-stp change apis
amanodt Jul 23, 2026
7485233
Merge pull request #1133 from core-stack-org/feature/local-ltp-change
amanodt Jul 23, 2026
9d6596b
added tree health and soil health
Jul 23, 2026
f89bcaa
soil type pipeline
Jul 24, 2026
2c82094
todo soil type on water availability
Jul 24, 2026
93ef5b0
udpate
amanodt Jul 24, 2026
98c6461
Merge pull request #1134 from core-stack-org/feature/local-compute-ha…
amanodt Jul 24, 2026
e869d25
merge conflict fix
amanodt Jul 24, 2026
98be250
Match local pipeline admin names
amit-spatial Jul 24, 2026
5a8f5e2
Merge pull request #1135 from core-stack-org/fix/admin-scope-matching
pawangramvaani Jul 24, 2026
04f2567
Merge pull request #1136 from core-stack-org/feature/local-compute-dev
amanodt Jul 24, 2026
70ac674
Fix local pipeline layer names
amit-spatial Jul 25, 2026
cc6f4fa
Match local layer names to registration scope
amit-spatial Jul 26, 2026
2452f40
Merge pull request #1138 from core-stack-org/fix/canonical-local-laye…
pawangramvaani Jul 27, 2026
d805667
config update
Jul 27, 2026
e6deebf
mws connectivity
Jul 28, 2026
5a3328a
misc updated
Jul 28, 2026
95c1429
Merge pull request #1140 from core-stack-org/dev
amanodt Jul 28, 2026
c48239c
Merge pull request #1141 from core-stack-org/staging
amanodt Jul 28, 2026
c5ada95
swb3 and swb4 then swb layer to geoserver
Jul 28, 2026
05ad25e
hazard fixes, ltp fixes, forest fire fixes
amanodt Jul 29, 2026
7cb0cd5
Merge branch 'feature/local-compute' into feature/local-compute-dev
amanodt Jul 29, 2026
3d19957
Merge pull request #1143 from core-stack-org/feature/local-compute-dev
amanodt Jul 29, 2026
affaf89
layer generation in bulk
Jul 29, 2026
908cace
lulc layer
Jul 30, 2026
824cc6d
single api for soil type
Jul 30, 2026
571c579
bulk layer update
Jul 30, 2026
5d7a99b
soil health single vector
amanodt Jul 30, 2026
8993d65
Merge pull request #1145 from core-stack-org/feature/local-compute-dev
amanodt Jul 30, 2026
db96380
overall change map param fix
Jul 30, 2026
28c0020
return boolean value
pawangramvaani Jul 31, 2026
01f66bd
Merge pull request #1148 from core-stack-org/fix/local_compute_return
amanodt Jul 31, 2026
6a16c60
Merge pull request #1147 from core-stack-org/dev
amanodt Jul 31, 2026
28b6c7e
Merge pull request #1153 from core-stack-org/staging
amanodt Jul 31, 2026
29500d5
spei hybrid mask start_year update
amanodt Jul 31, 2026
059c5a3
soil health OLM OC rename
amanodt Aug 1, 2026
abd63bd
shrub change detection
amanodt Aug 1, 2026
f810a6e
shrub change detection- added sh_ba class
amanodt Aug 2, 2026
37c87b1
Merge pull request #1154 from core-stack-org/feature/shrub_change
amanodt Aug 3, 2026
b2c023c
Merge pull request #1155 from core-stack-org/feature/local-compute-dev
amanodt Aug 3, 2026
7aa5631
bulk layer update
Aug 3, 2026
f4be542
soil health OLM OC rename
Aug 3, 2026
5beff53
OLM rename
amanodt Aug 3, 2026
a1e049d
change detection shrub
amanodt Aug 3, 2026
f9d6e70
local swb flow changes
Aug 3, 2026
3f151d0
local swb flow changes
Aug 3, 2026
2555e33
Merge branch 'hotfix/swb-order' into feature/local-compute
Aug 4, 2026
d687e5e
tehsil watersheds from geoserver
Aug 4, 2026
41f3fb6
Merge pull request #1158 from core-stack-org/dev
amanodt Aug 4, 2026
22afe33
swb3 and swb4 layers uses pan india stream order, catchment area and …
Aug 4, 2026
8f233e3
Merge pull request #1159 from core-stack-org/staging
amanodt Aug 4, 2026
bdec7fa
SPEI on agri-years
amanodt Aug 4, 2026
18d24e9
swb3 and swb4 layers uses pan india stream order, catchment area and …
Aug 4, 2026
53657b3
local bulk generation commands for regeneration
Aug 4, 2026
9297142
swb3 and swb4 layers uses pan india stream order, catchment area and …
Aug 4, 2026
c7a8db8
local bulk generation commands for regeneration
Aug 4, 2026
655cc13
Merge branch 'hotfix/local-regeneration' into feature/local-compute
Aug 4, 2026
5ea3f46
swb fixes and layer sync
Aug 4, 2026
a6f3b16
local layer generation
Aug 5, 2026
51e33b6
merge SPEI with correct band names
amanodt Aug 5, 2026
9eae3aa
nrega name change
Aug 5, 2026
23e25f5
nrega name change
Aug 5, 2026
3518786
Merge branch 'hotfix/nrega' into feature/local-compute
Aug 5, 2026
fdfd3fa
soil vector with 900m2 pixel
amanodt Aug 5, 2026
20b6aab
soil vector with dynamic pixel area
amanodt Aug 5, 2026
2e3482f
lulc level 1 and 2 code removed
amanodt Aug 6, 2026
068f29f
forest fringes final
amanodt Aug 6, 2026
32c57c9
Merge pull request #1163 from core-stack-org/dev
amanodt Aug 6, 2026
5d56029
Merge pull request #1164 from core-stack-org/staging
amanodt Aug 6, 2026
d9c840b
forest fringes and grassland updates
amanodt Aug 7, 2026
d22d15a
Merge pull request #1166 from core-stack-org/dev
amanodt Aug 7, 2026
e5a89db
Merge pull request #1167 from core-stack-org/staging
amanodt Aug 7, 2026
3483adb
remove end year
pawangramvaani Aug 10, 2026
31a5118
Merge pull request #1170 from core-stack-org/fix/overall_change_vector
amanodt Aug 10, 2026
9b1c9e1
Merge pull request #1171 from core-stack-org/dev
amanodt Aug 10, 2026
145ad1a
Merge pull request #1172 from core-stack-org/staging
amanodt Aug 10, 2026
fecda8c
Merge pull request #1174 from core-stack-org/dev
amanodt Aug 10, 2026
bdcb55f
Merge pull request #1175 from core-stack-org/staging
amanodt Aug 10, 2026
9829e00
fix imports
pawangramvaani Aug 10, 2026
21004bc
Merge pull request #1176 from core-stack-org/fix/fa_ma_li
pawangramvaani Aug 10, 2026
293be72
forest fringes and tree in grassland on AEZ
amanodt Aug 11, 2026
b91e593
add parameter
pawangramvaani Aug 11, 2026
85ac64a
Merge pull request #1177 from core-stack-org/fix/map_based_ma_li_fa
pawangramvaani Aug 11, 2026
53a9a4f
add ruff
Aug 11, 2026
2cde041
correct dataset name
pawangramvaani Aug 11, 2026
6088c88
Merge pull request #1178 from core-stack-org/fix/facilities
pawangramvaani Aug 11, 2026
10d1c8d
fix dataset name
pawangramvaani Aug 11, 2026
a45cc83
Merge pull request #1179 from core-stack-org/fix/facilities
pawangramvaani Aug 11, 2026
8f1b976
tree in grassland update
amanodt Aug 12, 2026
55749ac
Merge branch 'feature/local-compute' into feature/tame
ankit-work7 Aug 13, 2026
76a4d6d
misc updated
ankit-work7 Aug 13, 2026
408b53a
Merge sync/async layer generation and STAC auto-trigger onto feature/…
Aug 14, 2026
df2740c
Fix SyntaxError in village_indicators from bad merge duplicates.
Aug 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ DB_PASSWORD=xxxxxxx
# Django settings
DEBUG=xxxxxxx
SECRET_KEY=xxxxxxx
LAYER_GENERATION_SYNC_MODE=False
SYNC_LAYER=False
STAC_UPLOAD_TO_S3=False

USERNAME_GESDISC=xxxxxxx
PASSWORD_GESDISC=xxxxxxx
Expand Down Expand Up @@ -43,6 +46,8 @@ GEE_SERVICE_ACCOUNT_KEY_PATH=xxxxxxx
GEE_HELPER_SERVICE_ACCOUNT_KEY_PATH=xxxxxxx
GEE_SERVICE_ACCOUNT_KEY_NRM_WORK_PATH=xxxxxxx
GEE_DATASETS_SERVICE_ACCOUNT_KEY_PATH=xxxx
GEE_STORAGE_PROJECT=ee-corestackdev
GEE_STORAGE_PROJECT_HELPER=core-stack-dev-2
FERNET_KEY=xxx

# Misc
Expand Down
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ venv/
*.pyc
.idea/
.DS_Store
.cursor/
.installation_state/

# Django
*.log
Expand Down Expand Up @@ -48,3 +48,11 @@ users/migrations/*.py

*/migrations/*.py
*/migrations/__pycache__/


# ai
AGENTS.md
CLAUDE.md
.codex/
.cursor/
.ruff_cache
1 change: 1 addition & 0 deletions .installation_state/collectstatic.done
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2026-04-13T19:43:46Z
1 change: 1 addition & 0 deletions .installation_state/conda_env.done
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2026-04-13T19:43:39Z
1 change: 1 addition & 0 deletions .installation_state/env_file.done
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2026-04-13T19:43:40Z
1 change: 1 addition & 0 deletions .installation_state/miniconda.done
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2026-04-13T19:40:19Z
1 change: 1 addition & 0 deletions .installation_state/postgres.done
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2026-04-13T19:40:33Z
1 change: 1 addition & 0 deletions .installation_state/rabbitmq.done
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2026-04-13T19:40:34Z
1 change: 1 addition & 0 deletions .installation_state/unzip_install.done
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2026-04-13T19:40:06Z
45 changes: 35 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,41 @@ chmod +x install.sh

> For any installation issues, check [Installation Documentation](https://docs.core-stack.org/developers/installer/) and [Troubleshooting Guide](https://docs.core-stack.org/developers/setup-troubleshooting/).

#### 3. Running the server
After the successfull installation of all the packages, run the following commands to start the Django server:
```bash
conda activate corestack-backend (or whatever is the name of your virtual environment)
python manage.py runserver
```
- **Running celery:**
If you are running some tasks, you need to run
```bash
celery -A nrm_app worker -l info -Q nrm
#### 3. Running the server
After the successfull installation of all the packages, run the following commands to start the Django server:
```bash
conda activate corestack-backend (or whatever is the name of your virtual environment)
python manage.py runserver
```

#### Download base layers

After installation, download the local base layers into `data/` before running local compute pipelines:

```bash
conda activate corestack-backend
python manage.py local_compute_layer_setup
```

To inspect available layer selectors:

```bash
python manage.py local_compute_layer_setup --list
```

To download only specific layers or groups:

```bash
python manage.py local_compute_layer_setup terrain mws lulc_v3
python manage.py local_compute_layer_setup static_layers
python manage.py local_compute_layer_setup tehsil_level
python manage.py local_compute_layer_setup --ensure-soi-tehsil --ensure-tehsil-watersheds
```

- **Running celery:**
If you are running some tasks, you need to run
```bash
celery -A nrm_app worker -l info -Q nrm
```
where 'nrm_app' is the app_name and 'nrm' is the rabbitmq queue.

Expand Down
Loading