FAIRiCUBE / FAIRiCUBE-Hub-issue-tracker

FAIRiCUBE HUB issue tracker
Creative Commons Zero v1.0 Universal
0 stars 1 forks source link

Subsription to SentinelHub #54

Closed Susannaioni closed 1 month ago

Susannaioni commented 1 month ago

Is there a plan for the subscription to the SentinelHub for the UC3 and UC5? Do we share it with the UC1 or we get new ones? In this way we can go on and access the ingested data that we need.

Thank you.

KathiSchleidt commented 1 month ago

To my memory, the agreement was to share between UC, as no need to pay double. @jetschny can you confirm?

jetschny commented 1 month ago

yes, confirmed

Susannaioni commented 1 month ago

@KathiSchleidt @jetschny Thank you.

Do we get credentials from the UC1 or is it all already set for the UC3 and 5?

jetschny commented 1 month ago

@mari-s4e @MarvinMosel can you confirm that EOX has to manage the subscription for UC5 on their end or can you simply share credentials for the SentinelHub access?

mari-s4e commented 1 month ago

Hi, yes. Credentials for SH were set as environment variables (by EOX Admin) in the EOX Hub. At least for UC4 it was done this way, if I remember right.

jetschny commented 1 month ago

@Schpidi @eox-cs1 : can you please have someone from EOX do this as soon as possible? many thanks!

eox-cs1 commented 1 month ago

the credentials for SentinelHub have been added to UC5 and UC3 configurations Pls. don't forget to also configure the local variables:

config.instance_id = os.environ.get("SH_INSTANCE_ID")
config.sh_client_id = os.environ.get("SH_CLIENT_ID")
config.sh_client_secret = os.environ.get("SH_CLIENT_SECRET")
Susannaioni commented 1 month ago

Thank you Christian

sonjastndl commented 1 month ago

Hi @eox-cs1 I do not have the environmental variables for SH configured (UC3)

eox-cs1 commented 1 month ago

hast du die variablen bei dir eh definiert?

config = SHConfig()
config.instance_id = os.environ.get("SH_INSTANCE_ID")
config.sh_client_id = os.environ.get("SH_CLIENT_ID")
config.sh_client_secret = os.environ.get("SH_CLIENT_SECRET")
sonjastndl commented 1 month ago

Naja, die Funktion os.environ.get findet keine SH variablen und wenn ich im Terminal env aufrufe finde ich sie auch nicht

jetschny commented 1 month ago

I know that this is "internal discussion" but the language in all GitHub issues should be english (^_^). otherwise the FAIR aspect might have difficulties...

sonjastndl commented 1 month ago

Correct, I apologize, sometimes I am not aware of the language shift, here the translation of the above: The function os.environ.get() does not find any SH associated variable, neither is it stored in env when I check via terminal

Schpidi commented 1 month ago

there was a configuration missing. it should be available now (tested in UC3).

sonjastndl commented 1 month ago

Thank you, all set now!