bhoonidhi

Useful tools to work with Bhoonidhi (ISRO's open data access portal) in Python


Keywords
bhoonidhi, SmartSearch, NLP, AI
License
MIT
Install
pip install bhoonidhi==0.1.0

Documentation

bhoonidhi

A Python library for Bhoonidhi, ISRO's Open data access portal. The current version (v0.0.6) contains AI helper called "smart search" using NLP. The functionality can enable the power of searching in bhoonidhi using common search sentences and fetch the bhoonidhi results.

Installation (https://pypi.org/project/bhoonidhi/0.0.6/)

pip install bhoonidhi

Importing and using the module

from bhoonidhi.SmartSearch import bhoonidhiSmartSearch

user_query = "Get me Landsat 8 data from the region of hyderabad and Guntur from the last 1 month"
bhoonidhiResponse = bhoonidhiSmartSearch(user_query)

Smart search for event based

from bhoonidhi.SmartSearch import bhoonidhiSmartSearch

user_query = "Get me available data from siachen avalanche and kerala floods 2020"
bhoonidhiResponse = bhoonidhiSmartSearch(user_query)

Multiple query parameters

from bhoonidhi.SmartSearch import bhoonidhiSmartSearch

user_query = "I want Landsat8 and Sentinel 2A data from the region of Guntur over the radius of 20 km and cloud threshold of 35%"
bhoonidhiResponse = bhoonidhiSmartSearch(user_query)

Download searched products

from bhoonidhi.SmartSearch import bhoonidhiSmartSearch
from bhoonidhi.SmartSearch import bhoonidhiDownload

user_query = "I want Landsat8 and Sentinel 2A data from the region of Guntur over the radius of 20 km and cloud threshold of 35%"
bhoonidhiResponse = bhoonidhiSmartSearch(user_query)
# Want to download the 12th product from the response
bhoonidhiDownload(bhoonidhiResponse[12],user_id='bhoonidhi_user', password='password', output_path='D:\\bhoonidhiDownloads')
# Want to download all
for item in bhoonidhiResponse:
  bhoonidhiDownload(item,user_id='bhoonidhi_user', password='password', output_path='D:\\bhoonidhiDownloads')
  

The module fetches the results seperately and concatenates the results in a list format.

One can download products easily from this library This module shall be enabled for bhoondihiAPI which is currently under construction. Thematic based search, on-demand-LULC classification module libraries shall be released soon.