Skip to content

Instantly share code, notes, and snippets.

View suriyahgit's full-sized avatar

Suriyah Dhinakaran suriyahgit

  • EURAC Research
  • Bolzano, Italy
View GitHub Profile
@suriyahgit
suriyahgit / entry.sh
Created July 7, 2022 08:52 — forked from xkortex/entry.sh
dockerfile entrypoint for activating conda environment
#!/bin/bash
## Entrypoint for docker RUN directives as well as ENTRYPOINT with conda env
## Enable by adding:
## COPY entry.sh ./
## SHELL ["/entry.sh", "/bin/bash", "-c"]
##
## Optionally, set the following env to select a conda env to run in
## ENV CONDA_DEFAULT_ENV=foo
## You may also want to add something like
## RUN conda init bash && echo 'conda activate "${CONDA_TARGET_ENV:-base}"' >> ~/.bashrc
@suriyahgit
suriyahgit / gist:71aa6c96c9c9040836e0098caea515f3
Created October 1, 2025 09:37
OSCAR Authentication Issue
2025-10-01 11:35:46,844 - openeo_processes_dask.process_implementations.external_processing.oscar - INFO - oscar_authenticate - Using local refresh token from /home/sdhinakaran/.local/share/openeo-python-client/refresh-tokens.json
2025-10-01 11:35:46,845 - openeo_processes_dask.process_implementations.external_processing.oscar - INFO - oscar_authenticate - Getting access token from a local refresh token...
2025-10-01 11:35:47,158 - openeo_processes_dask.process_implementations.external_processing.oscar - INFO - oscar_authenticate - Access token retrieved successfully
2025-10-01 11:35:47,160 - openeo_processes_dask.process_implementations.external_processing.oscar - INFO - oscar_check_connection - Checking OSCAR connection to https://oscar-grnet.intertwin.fedcloud.eu...
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
File ~/micromamba/envs/oscar_test/lib/python3.11/site-packages/openeo_pg_parser_networkx/gra
@suriyahgit
suriyahgit / gist:97e45f3cb816acee12b8ead21fab4e5b
Created October 1, 2025 13:12
OpenEO python client - OSCAR - Authentication Issue
2025-10-01 15:00:49,506 - openeo_processes_dask.process_implementations.external_processing.oscar - INFO - oscar_authenticate - Using local refresh token from /home/sdhinakaran/.local/share/openeo-python-client/refresh-tokens.json
2025-10-01 15:00:49,506 - openeo_processes_dask.process_implementations.external_processing.oscar - INFO - oscar_authenticate - Getting access token from a local refresh token...
2025-10-01 15:00:50,016 - openeo_processes_dask.process_implementations.external_processing.oscar - INFO - oscar_authenticate - Access token retrieved successfully
2025-10-01 15:00:50,018 - openeo_processes_dask.process_implementations.external_processing.oscar - INFO - oscar_check_connection - Checking OSCAR connection to https://oscar-grnet.intertwin.fedcloud.eu...
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
File ~/micromamba/envs/oscar_test/lib/python3.11/site-packages/openeo_pg_parser_networkx/gra
2025-10-02 09:11:11,963 - openeo_processes_dask.process_implementations.external_processing.oscar - INFO - oscar_authenticate - Using local refresh token from /home/sdhinakaran/.local/share/openeo-python-client/refresh-tokens.json
2025-10-02 09:11:11,964 - openeo_processes_dask.process_implementations.external_processing.oscar - INFO - oscar_authenticate - Getting access token from a local refresh token...
2025-10-02 09:11:12,526 - openeo_processes_dask.process_implementations.external_processing.oscar - INFO - oscar_authenticate - Access token retrieved successfully
2025-10-02 09:11:12,530 - openeo_processes_dask.process_implementations.external_processing.oscar - INFO - oscar_check_connection - Checking OSCAR connection to https://oscar-grnet.intertwin.fedcloud.eu...
2025-10-02 09:11:13,660 - openeo_processes_dask.process_implementations.external_processing.oscar - INFO - oscar_check_service - OSCAR service 'hydroform-hydromt' found.
2025-10-02 09:11:13,661 - openeo_processes_dask.process_implementations.ex