Skip to content

Commit

Permalink
deploy: 9cb087f
Browse files Browse the repository at this point in the history
  • Loading branch information
annefou committed Nov 3, 2023
1 parent 3c6bbd7 commit 1d863cf
Show file tree
Hide file tree
Showing 17 changed files with 552 additions and 639 deletions.
2 changes: 1 addition & 1 deletion _sources/before/EOSC.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ You can create, access and manage your buckets from the minIO console (or use [m

In addition to the MinIO console, the API end point is `https://pangeo-eosc-minioapi.vm.fedcloud.eu/` for those who prefer to interact with MinIO via the API.

Please check out this [example](./how-to/object-storage-minio-test.ipynb) to get started.
Please check out this [example](https://github.com/pangeo-data/pangeo-eosc/blob/main/users/how-to/object-storage-minio-test.ipynb) to get started.

### Support

Expand Down
10 changes: 5 additions & 5 deletions _sources/before/openeo.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ It is possible to link multiple accounts from multiple identity providers to the

See the getting started guides to find out more about how to use the clients for this:

* [Editor](../getting-started/editor/index.md)
* [JavaScript](../getting-started/javascript/index.md#authentication)
* [JupyterLab](../getting-started/jupyterlab/index.md)
* [Python](../getting-started/python/index.md#authentication)
* [R](../getting-started/r/index.md#authentication)
* [Editor](https://docs.openeo.cloud/getting-started/editor/)
* [JavaScript](https://docs.openeo.cloud/getting-started/javascript/#processes)
* [JupyterLab](https://docs.openeo.cloud/getting-started/jupyterlab/)
* [Python](https://docs.openeo.cloud/getting-started/python/#authentication)
* [R](https://docs.openeo.cloud/getting-started/r/#processes)


2 changes: 1 addition & 1 deletion before/EOSC.html
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ <h3>Access MinIO<a class="headerlink" href="#access-minio" title="Permalink to t
<p>You can create, access and manage your buckets from the minIO console (or use <a class="reference external" href="https://min.io/docs/minio/linux/developers/python/minio-py.html">minIO Python package</a>). The figure below shows the GUI (with several tabs on the left; the bucket tab is selected on the figure): initially, you won’t have any buckets so please feel free to create public/privates buckets.</p>
<p><img alt="minIO buckets" src="../_images/minIO_buckets.png" /></p>
<p>In addition to the MinIO console, the API end point is <code class="docutils literal notranslate"><span class="pre">https://pangeo-eosc-minioapi.vm.fedcloud.eu/</span></code> for those who prefer to interact with MinIO via the API.</p>
<p>Please check out this <span class="xref myst">example</span> to get started.</p>
<p>Please check out this <a class="reference external" href="https://github.com/pangeo-data/pangeo-eosc/blob/main/users/how-to/object-storage-minio-test.ipynb">example</a> to get started.</p>
</section>
<section id="support">
<h3>Support<a class="headerlink" href="#support" title="Permalink to this heading">#</a></h3>
Expand Down
10 changes: 5 additions & 5 deletions before/openeo.html
Original file line number Diff line number Diff line change
Expand Up @@ -533,11 +533,11 @@ <h3>Working with openEO Platform<a class="headerlink" href="#working-with-openeo
</div>
<p>See the getting started guides to find out more about how to use the clients for this:</p>
<ul class="simple">
<li><p><span class="xref myst">Editor</span></p></li>
<li><p><span class="xref myst">JavaScript</span></p></li>
<li><p><span class="xref myst">JupyterLab</span></p></li>
<li><p><span class="xref myst">Python</span></p></li>
<li><p><span class="xref myst">R</span></p></li>
<li><p><a class="reference external" href="https://docs.openeo.cloud/getting-started/editor/">Editor</a></p></li>
<li><p><a class="reference external" href="https://docs.openeo.cloud/getting-started/javascript/#processes">JavaScript</a></p></li>
<li><p><a class="reference external" href="https://docs.openeo.cloud/getting-started/jupyterlab/">JupyterLab</a></p></li>
<li><p><a class="reference external" href="https://docs.openeo.cloud/getting-started/python/#authentication">Python</a></p></li>
<li><p><a class="reference external" href="https://docs.openeo.cloud/getting-started/r/#processes">R</a></p></li>
</ul>
</section>
</section>
Expand Down
56 changes: 28 additions & 28 deletions part1/visualization.html

Large diffs are not rendered by default.

170 changes: 85 additions & 85 deletions part1/xarray_pitfalls.html

Large diffs are not rendered by default.

22 changes: 0 additions & 22 deletions part2/openEO-Client_Side_Land_Cover_Alps.html
Original file line number Diff line number Diff line change
Expand Up @@ -483,28 +483,6 @@ <h1>openEO Platform DEMO<a class="headerlink" href="#openeo-platform-demo" title
</pre></div>
</div>
</div>
<div class="cell_output docutils container">
<div class="output traceback highlight-ipythontb notranslate"><div class="highlight"><pre><span></span><span class="gt">---------------------------------------------------------------------------</span>
<span class="ne">ModuleNotFoundError</span><span class="g g-Whitespace"> </span>Traceback (most recent call last)
<span class="n">Cell</span> <span class="n">In</span><span class="p">[</span><span class="mi">1</span><span class="p">],</span> <span class="n">line</span> <span class="mi">1</span>
<span class="ne">----&gt; </span><span class="mi">1</span> <span class="kn">from</span> <span class="nn">openeo.local</span> <span class="kn">import</span> <span class="n">LocalConnection</span>
<span class="g g-Whitespace"> </span><span class="mi">2</span> <span class="n">local_conn</span> <span class="o">=</span> <span class="n">LocalConnection</span><span class="p">(</span><span class="s2">&quot;./&quot;</span><span class="p">)</span>

<span class="n">File</span> <span class="o">~/</span><span class="n">micromamba</span><span class="o">/</span><span class="n">envs</span><span class="o">/</span><span class="n">bids23</span><span class="o">/</span><span class="n">lib</span><span class="o">/</span><span class="n">python3</span><span class="mf">.11</span><span class="o">/</span><span class="n">site</span><span class="o">-</span><span class="n">packages</span><span class="o">/</span><span class="n">openeo</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="fm">__init__</span><span class="o">.</span><span class="n">py</span><span class="p">:</span><span class="mi">1</span>
<span class="ne">----&gt; </span><span class="mi">1</span> <span class="kn">from</span> <span class="nn">openeo.local.connection</span> <span class="kn">import</span> <span class="n">LocalConnection</span>
<span class="g g-Whitespace"> </span><span class="mi">3</span> <span class="n">__all__</span> <span class="o">=</span> <span class="p">[</span><span class="s2">&quot;LocalConnection&quot;</span><span class="p">]</span>

<span class="n">File</span> <span class="o">~/</span><span class="n">micromamba</span><span class="o">/</span><span class="n">envs</span><span class="o">/</span><span class="n">bids23</span><span class="o">/</span><span class="n">lib</span><span class="o">/</span><span class="n">python3</span><span class="mf">.11</span><span class="o">/</span><span class="n">site</span><span class="o">-</span><span class="n">packages</span><span class="o">/</span><span class="n">openeo</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">connection</span><span class="o">.</span><span class="n">py</span><span class="p">:</span><span class="mi">8</span>
<span class="g g-Whitespace"> </span><span class="mi">6</span> <span class="kn">import</span> <span class="nn">numpy</span> <span class="k">as</span> <span class="nn">np</span>
<span class="g g-Whitespace"> </span><span class="mi">7</span> <span class="kn">import</span> <span class="nn">xarray</span> <span class="k">as</span> <span class="nn">xr</span>
<span class="ne">----&gt; </span><span class="mi">8</span> <span class="kn">from</span> <span class="nn">openeo_pg_parser_networkx.graph</span> <span class="kn">import</span> <span class="n">OpenEOProcessGraph</span>
<span class="g g-Whitespace"> </span><span class="mi">9</span> <span class="kn">from</span> <span class="nn">openeo_pg_parser_networkx.pg_schema</span> <span class="kn">import</span> <span class="n">BoundingBox</span><span class="p">,</span> <span class="n">TemporalInterval</span>
<span class="g g-Whitespace"> </span><span class="mi">10</span> <span class="kn">from</span> <span class="nn">openeo_processes_dask.process_implementations.cubes</span> <span class="kn">import</span> <span class="n">load_stac</span>

<span class="ne">ModuleNotFoundError</span>: No module named &#39;openeo_pg_parser_networkx&#39;
</pre></div>
</div>
</div>
</div>
<section id="have-a-look-at-the-collection">
<h2>Have a look at the collection<a class="headerlink" href="#have-a-look-at-the-collection" title="Permalink to this heading">#</a></h2>
Expand Down
39 changes: 1 addition & 38 deletions part2/openEO-Corine_Land_Cover_Alps.html
Original file line number Diff line number Diff line change
Expand Up @@ -517,44 +517,7 @@ <h2>Connect to openEO Platform using python<a class="headerlink" href="#connect-
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_html">Visit <a href="https://aai.egi.eu/device?user_code=SGMT-LZUF" title="Authenticate at https://aai.egi.eu/device?user_code=SGMT-LZUF" target="_blank" rel="noopener noreferrer">https://aai.egi.eu/device?user_code=SGMT-LZUF</a> <a href="#" onclick="navigator.clipboard.writeText('https://aai.egi.eu/device?user_code=SGMT-LZUF');return false;" title="Copy authentication URL to clipboard">&#128203;</a> to authenticate.</div><div class="output text_html"><code>[-------------------------------------]</code> ❌ Timed out</div><div class="output traceback highlight-ipythontb notranslate"><div class="highlight"><pre><span></span><span class="gt">---------------------------------------------------------------------------</span>
<span class="ne">OidcDeviceCodePollTimeout</span><span class="g g-Whitespace"> </span>Traceback (most recent call last)
<span class="n">Cell</span> <span class="n">In</span><span class="p">[</span><span class="mi">3</span><span class="p">],</span> <span class="n">line</span> <span class="mi">1</span>
<span class="ne">----&gt; </span><span class="mi">1</span> <span class="n">conn</span> <span class="o">=</span> <span class="n">conn</span><span class="o">.</span><span class="n">authenticate_oidc</span><span class="p">()</span>

<span class="nn">File ~/micromamba/envs/bids23/lib/python3.11/site-packages/openeo/rest/connection.py:729,</span> in <span class="ni">Connection.authenticate_oidc</span><span class="nt">(self, provider_id, client_id, client_secret, store_refresh_token, use_pkce, display, max_poll_time)</span>
<span class="g g-Whitespace"> </span><span class="mi">725</span> <span class="n">_log</span><span class="o">.</span><span class="n">info</span><span class="p">(</span><span class="s2">&quot;Trying device code flow.&quot;</span><span class="p">)</span>
<span class="g g-Whitespace"> </span><span class="mi">726</span> <span class="n">authenticator</span> <span class="o">=</span> <span class="n">OidcDeviceAuthenticator</span><span class="p">(</span>
<span class="g g-Whitespace"> </span><span class="mi">727</span> <span class="n">client_info</span><span class="o">=</span><span class="n">client_info</span><span class="p">,</span> <span class="n">use_pkce</span><span class="o">=</span><span class="n">use_pkce</span><span class="p">,</span> <span class="n">display</span><span class="o">=</span><span class="n">display</span><span class="p">,</span> <span class="n">max_poll_time</span><span class="o">=</span><span class="n">max_poll_time</span>
<span class="g g-Whitespace"> </span><span class="mi">728</span> <span class="p">)</span>
<span class="ne">--&gt; </span><span class="mi">729</span> <span class="n">con</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">_authenticate_oidc</span><span class="p">(</span>
<span class="g g-Whitespace"> </span><span class="mi">730</span> <span class="n">authenticator</span><span class="p">,</span>
<span class="g g-Whitespace"> </span><span class="mi">731</span> <span class="n">provider_id</span><span class="o">=</span><span class="n">provider_id</span><span class="p">,</span>
<span class="g g-Whitespace"> </span><span class="mi">732</span> <span class="n">store_refresh_token</span><span class="o">=</span><span class="n">store_refresh_token</span><span class="p">,</span>
<span class="g g-Whitespace"> </span><span class="mi">733</span> <span class="p">)</span>
<span class="g g-Whitespace"> </span><span class="mi">734</span> <span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Authenticated using device code flow.&quot;</span><span class="p">)</span>
<span class="g g-Whitespace"> </span><span class="mi">735</span> <span class="k">return</span> <span class="n">con</span>

<span class="nn">File ~/micromamba/envs/bids23/lib/python3.11/site-packages/openeo/rest/connection.py:459,</span> in <span class="ni">Connection._authenticate_oidc</span><span class="nt">(self, authenticator, provider_id, store_refresh_token, fallback_refresh_token_to_store, oidc_auth_renewer)</span>
<span class="g g-Whitespace"> </span><span class="mi">447</span> <span class="k">def</span> <span class="nf">_authenticate_oidc</span><span class="p">(</span>
<span class="g g-Whitespace"> </span><span class="mi">448</span> <span class="bp">self</span><span class="p">,</span>
<span class="g g-Whitespace"> </span><span class="mi">449</span> <span class="n">authenticator</span><span class="p">:</span> <span class="n">OidcAuthenticator</span><span class="p">,</span>
<span class="p">(</span><span class="o">...</span><span class="p">)</span>
<span class="g g-Whitespace"> </span><span class="mi">454</span> <span class="n">oidc_auth_renewer</span><span class="p">:</span> <span class="n">Optional</span><span class="p">[</span><span class="n">OidcAuthenticator</span><span class="p">]</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="g g-Whitespace"> </span><span class="mi">455</span> <span class="p">)</span> <span class="o">-&gt;</span> <span class="n">Connection</span><span class="p">:</span>
<span class="g g-Whitespace"> </span><span class="mi">456</span><span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="g g-Whitespace"> </span><span class="mi">457</span><span class="sd"> Authenticate through OIDC and set up bearer token (based on OIDC access_token) for further requests.</span>
<span class="g g-Whitespace"> </span><span class="mi">458</span><span class="sd"> &quot;&quot;&quot;</span>
<span class="ne">--&gt; </span><span class="mi">459</span> <span class="n">tokens</span> <span class="o">=</span> <span class="n">authenticator</span><span class="o">.</span><span class="n">get_tokens</span><span class="p">(</span><span class="n">request_refresh_token</span><span class="o">=</span><span class="n">store_refresh_token</span><span class="p">)</span>
<span class="nn"> 460 _log.info(&quot;Obtained tokens: {t}&quot;.format(t=[k for k, v</span> in <span class="ni">tokens._asdict().items</span><span class="nt">() if v]))</span>
<span class="g g-Whitespace"> </span><span class="mi">461</span> <span class="k">if</span> <span class="n">store_refresh_token</span><span class="p">:</span>

<span class="nn">File ~/micromamba/envs/bids23/lib/python3.11/site-packages/openeo/rest/auth/oidc.py:911,</span> in <span class="ni">OidcDeviceAuthenticator.get_tokens</span><span class="nt">(self, request_refresh_token)</span>
<span class="g g-Whitespace"> </span><span class="mi">908</span> <span class="n">next_poll</span> <span class="o">=</span> <span class="n">elapsed</span><span class="p">()</span> <span class="o">+</span> <span class="n">poll_interval</span>
<span class="g g-Whitespace"> </span><span class="mi">910</span> <span class="n">poll_ui</span><span class="o">.</span><span class="n">show_progress</span><span class="p">(</span><span class="n">status</span><span class="o">=</span><span class="s2">&quot;Timed out&quot;</span><span class="p">)</span>
<span class="ne">--&gt; </span><span class="mi">911</span> <span class="k">raise</span> <span class="n">OidcDeviceCodePollTimeout</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;Timeout (</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">_max_poll_time</span><span class="si">:</span><span class="s2">.1f</span><span class="si">}</span><span class="s2">s) while polling for access token.&quot;</span><span class="p">)</span>

<span class="ne">OidcDeviceCodePollTimeout</span>: Timeout (300.0s) while polling for access token.
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Authenticated using refresh token.
</pre></div>
</div>
</div>
Expand Down
Loading

0 comments on commit 1d863cf

Please sign in to comment.