Skip to content

Feat #230: Add temperature and humidity GEE pipeline and API#827

Open
AKSHARVAGHASIYA wants to merge 1 commit intocore-stack-org:mainfrom
AKSHARVAGHASIYA:feat/issue-230
Open

Feat #230: Add temperature and humidity GEE pipeline and API#827
AKSHARVAGHASIYA wants to merge 1 commit intocore-stack-org:mainfrom
AKSHARVAGHASIYA:feat/issue-230

Conversation

@AKSHARVAGHASIYA
Copy link
Copy Markdown

### Resolves: #230

Overview

This PR resolves Issue #230 by implementing a robust, serverless Google Earth Engine computation pipeline that calculates the relative Temperature and Humidity levels (coarse field level @ 5km) directly over designated AoI Micro-Watershed boundaries inside the nrm celery background process.

Changes Made
New Computing Pipeline (computing/temperature_humidity/temp_humid.py):

Introduced a new celery algorithm calculate_temperature_humidity.

Modifies and extracts from the MODIS/061/MOD11C3 LST array (coarse 5km) to pull surface temperature dynamics.

Modifies the ECMWF/ERA5_LAND/MONTHLY_AGGR raster payload, manually piping standard Temperature vs Dewpoint thresholds through an August-Roche-Magnus expression() logic block in GEE to build an accurate proxy for relative humidity.

Vectorizes bounding polygon metadata and kicks it into the local Postgres dataset instance (Dataset.objects.get_or_create) dynamically mapping onto TEMP_HUMID_ALGORITHM.

Setup Rest Endpoint (computing/api.py and computing/urls.py):

Wired the worker queue command safely behind the /api/v1/generate_temperature_humidity_layer/ authorized gateway, resolving locational state, district, block payload packets cleanly onto the background queues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Temperature and Humidity (Coarse Field Level @5km)

1 participant