...
Architecture flow diagram https://app.diagrams.net/#G1W2QKB4UN#G1Ie3Bpw6WkaE46YUQJKFQ0zsaDcHAkv-4hU3Elwk7vbxpr0tFRnzUSnf
Expected List of files:
This link have the expected outcome files from SatSure
Lref box file | ||
---|---|---|
|
Challenges:
...
Prerequisites :
To access and fetch data from SatSure below values should be available.
API Key
country_id
state_id
district_id
crop_id
start_date
end_date
Crop acreage, rainfall, harvest Rainfall, Harvest, Yield Estimation and Yield and temp data are good to proceed.
API’s to fetch data:
As we already know the country, districts, date range and crop(gram) we can keep the country, state, districts, date_range and crop id’s will be static.
To API path to fetch sub-districts “/product/country/{country_id}/state/{state_id}/district/{district_id}/sub-district”.
Input parameters country_id, state_id and district_id
To API path to fetch village id “/product/country/{country_id}/state/{state_id}/district/{district_id}/sub-district/{subdistrict_id}/village“.
Input parameters country_id, state_id, district_id and village_id
To API path to fetch product(Acreage, Rainfall, harvest and temp) details API: “/product/{product_id}“.
...
start_date : 2021-10-01
ens_date: 2022-03-31
Connectors:
IDSCP2 web socket will be used to send data securely from provider core to consumer core.
Provider connector
Consumer connector
...
Consumer connector will be running on consumer infrat2.micro AWS infra along with provider core , There will be timeRepeat route which will trigger provider core route for every 7 days to fetch data.
...
Digital Green/ SatSure operated on AWS T2.micro instance along with consumer core and python application to fetch data from SatSure. Custom python application will make the API calls to fetch the data from SatSure DB.
...