Pystack_client. perceptions. mirror: The request has exceeded the maximum allowed time #383
Mrjoecen
started this conversation in
Data request
Replies: 1 comment
-
@Mrjoecen is this still an issue? there was a brief outage a few weeks ago that may have caused this problem |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
`import json
import pystac_client
import planetary_computer
from django.views.decorators.csrf import csrf_exempt
from django.views.decorators.http import require_POST
from django.http import JsonResponse
from urllib.parse import urlparse
@csrf_exempt
@require_POST
def search_NDVI(request):
if request.method == 'POST':
start_date = request.POST.get('start_date')
end_date = request.POST.get('end_date')
cloud_cover = request.POST.get('cloud_cover')
time_of_interest = f'{start_date}/{end_date}'
geojson_str = request.POST.get('geojson')
When I talk about the integration of search functionality in Django, the error 'pystack_client. perceptions. error' appears in Django: 'the request exceeded the maximum allowed time', please try again. if the issue persists, please contact [email protected].
Beta Was this translation helpful? Give feedback.
All reactions