Skip to content

Commit

Permalink
deploy: d0386ae
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbourbeau committed Oct 16, 2023
1 parent 126b7a3 commit f93dcfe
Show file tree
Hide file tree
Showing 10 changed files with 185 additions and 344 deletions.
61 changes: 18 additions & 43 deletions howto/edl/index.html

Large diffs are not rendered by default.

22 changes: 8 additions & 14 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1141,25 +1141,19 @@ <h2 id="usage"><strong>Usage</strong></h2>
<p>The only requirement to use this library is to open a free account with NASA <a href="https://urs.earthdata.nasa.gov">EDL</a>.</p>
<p><a href="https://urs.earthdata.nasa.gov"><img src="https://auth.ops.maap-project.org/cas/images/urs-logo.png" /></a></p>
<h3 id="authentication"><strong>Authentication</strong></h3>
<p>Once you have an EDL account, you can authenticate using one of the following three methods:</p>
<p>By default, <code>earthaccess</code> with automatically look for your EDL account credentials in two locations:</p>
<ol>
<li>Using a <code>.netrc</code> file<ul>
<li>Can use <em>earthaccess</em> to read your EDL credentials (username and password) from a <code>.netrc</code> file</li>
</ul>
</li>
<li>Reading your EDL credentials from environment variables<ul>
<li>if available you can use environment variables <strong>EARTHDATA_USERNAME</strong> and <strong>EARTHDATA_PASSWORD</strong></li>
</ul>
</li>
<li>Interactively entering your EDL credentials<ul>
<li>You can be prompted for these credentials and save them to a <code>.netrc</code> file</li>
</ul>
</li>
<li>A <code>~/.netrc</code> file</li>
<li><code>EARTHDATA_USERNAME</code> and <code>EARTHDATA_PASSWORD</code> environment variables</li>
</ol>
<p>If neither of these options are configured, you can authenticate by calling the <code>earthaccess.login()</code> method
and manually entering your EDL account credentials.</p>
<div class="highlight"><pre><span></span><code><a id="__codelineno-2-1" name="__codelineno-2-1" href="#__codelineno-2-1"></a><span class="kn">import</span> <span class="nn">earthaccess</span>
<a id="__codelineno-2-2" name="__codelineno-2-2" href="#__codelineno-2-2"></a>
<a id="__codelineno-2-3" name="__codelineno-2-3" href="#__codelineno-2-3"></a><span class="n">auth</span> <span class="o">=</span> <span class="n">earthaccess</span><span class="o">.</span><span class="n">login</span><span class="p">()</span>
<a id="__codelineno-2-3" name="__codelineno-2-3" href="#__codelineno-2-3"></a><span class="n">earthaccess</span><span class="o">.</span><span class="n">login</span><span class="p">()</span>
</code></pre></div>
<p>Note you can pass <code>persist=True</code> to <code>earthaccess.login()</code> to have the EDL account credentials you enter
automatically saved to a <code>~/.netrc</code> file for future use. </p>
<p>Once you are authenticated with NASA EDL you can:</p>
<ul>
<li>Get a file from a DAAC using a <code>fsspec</code> session.</li>
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,122 +2,122 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://github.com/nsidc/earthaccess/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/CONTRIBUTING/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/resources/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/howto/authenticate/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/howto/cloud/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/howto/edl/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/howto/onprem/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/howto/search-collections/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/howto/search-granules/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/howto/storage-location/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/tutorials/SSL/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/tutorials/emit-earthaccess/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/tutorials/file-access/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/tutorials/getting-started/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/tutorials/restricted-datasets/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/user-reference/api/api/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/user-reference/auth/auth/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/user-reference/collections/collections-query/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/user-reference/collections/collections/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/user-reference/glossary/cloud-glossary/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/user-reference/glossary/nasa-glossary/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/user-reference/granules/granules-query/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/user-reference/granules/granules/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://github.com/nsidc/earthaccess/user-reference/store/store/</loc>
<lastmod>2023-10-15</lastmod>
<lastmod>2023-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified sitemap.xml.gz
Binary file not shown.
Loading

0 comments on commit f93dcfe

Please sign in to comment.