Skip to content

Commit

Permalink
deploy: 25a38ea
Browse files Browse the repository at this point in the history
  • Loading branch information
MattF-NSIDC committed Oct 11, 2023
1 parent ff6181f commit b6908f4
Show file tree
Hide file tree
Showing 11 changed files with 641 additions and 421 deletions.
54 changes: 45 additions & 9 deletions CONTRIBUTING/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,14 @@

<li class="md-nav__item">
<a href="#pull-request-process" class="md-nav__link">
Pull Request Process
Pull Request process
</a>

</li>

<li class="md-nav__item">
<a href="#release-process" class="md-nav__link">
Release process
</a>

</li>
Expand Down Expand Up @@ -1043,17 +1050,46 @@ <h3 id="requirements-to-merge-code-pull-request-process">Requirements to merge c
<li>you must update the documentation</li>
<li>you must run the above scripts to format and line</li>
</ul>
<h2 id="pull-request-process">Pull Request Process</h2>
<h2 id="pull-request-process">Pull Request process</h2>
<ol>
<li>Ensure you include test coverage for all changes</li>
<li>Ensure your code is formatted properly via the command above</li>
<li>Update the documentation and the README.md with details of changes to the interface, this includes new environment
variables, function names, decorators, etc..</li>
<li>Increase the version numbers in any examples files and the README.md to the new version that this
Pull Request would represent. The versioning scheme we use is <a href="http://semver.org/">SemVer</a>.</li>
<li>You may merge the Pull Request in once you have the sign-off of another developers, or if you
do not have permission to do that, you may request the reviewer to merge it for you.</li>
<li>Ensure your code is formatted properly following this document</li>
<li>Update the documentation and the README.md with details of changes to the interface,
this includes new environment variables, function names, decorators, etc.</li>
<li>Update <code>CHANGELOG.md</code> with details about your change in a section titled
<code>Unreleased</code>. If one does not exist, please create one. </li>
<li>You may merge the Pull Request in once you have the sign-off of another developers,
or if you do not have permission to do that, you may request the reviewer to merge it
for you.</li>
</ol>
<h2 id="release-process">Release process</h2>
<blockquote>
<p>:memo: The versioning scheme we use is <a href="http://semver.org/">SemVer</a>. Note that until
we agree we're ready for v1.0.0, we will not increment major version.</p>
</blockquote>
<ol>
<li>Ensure all desired features are merged to <code>main</code> branch and <code>CHANGELOG</code> is updated.</li>
<li>Use <code>bump-my-version</code> to increase the version number in all needed places, e.g. to
increase the minor version (<code>1.2.3</code> to <code>1.3.0</code>):
<div class="highlight"><pre><span></span><code><a id="__codelineno-4-1" name="__codelineno-4-1" href="#__codelineno-4-1"></a>bumpversion bump minor
</code></pre></div></li>
<li>Push a tag on the new commit containing the version number, prefixed with <code>v</code>, e.g.
<code>v1.3.0</code>.</li>
<li><a href="https://github.com/nsidc/earthaccess/releases/new">Create a new GitHub Release</a>. We
hand-curate our release notes to be valuable to humans. Please do not auto-generate
release notes and aim for consistency with the GitHub Release descriptions from other
releases.</li>
</ol>
<blockquote>
<p>:gear: After the GitHub release is published, multiple automations will trigger:</p>
<ul>
<li>Zenodo will create a new DOI.</li>
<li>GitHub Actions will publish a PyPI release.</li>
</ul>
<p>:memo: <code>earthaccess</code> is published to conda-forge through the
<a href="https://github.com/conda-forge/earthdata-feedstock">earthdata-feedstock</a>, as this
project was renamed early in its life. The conda package is named <code>earthaccess</code>.</p>
</blockquote>
<hr />
<h2 id="code-of-conduct">Code of Conduct</h2>
<h3 id="our-pledge">Our Pledge</h3>
Expand Down
34 changes: 17 additions & 17 deletions howto/edl/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2159,7 +2159,7 @@ <h1 id="earthaccess-and-nasa-edl">earthaccess and NASA EDL<a class="anchor-link"

<div class="jp-RenderedText jp-OutputArea-output" data-mime-type="text/plain">
<pre>You&#39;re now authenticated with NASA Earthdata Login
Using token with expiration date: 11/17/2023
Using token with expiration date: 12/10/2023
Using environment variables for EDL
</pre>
</div>
Expand Down Expand Up @@ -2231,10 +2231,10 @@ <h3 id="data-in-aws">Data in AWS<a class="anchor-link" href="#data-in-aws">&#182


<div class="jp-RenderedText jp-OutputArea-output jp-OutputArea-executeResult" data-mime-type="text/plain">
<pre>{&#39;accessKeyId&#39;: &#39;ASIA2D3OGJNTN67YVEGJ&#39;,
&#39;secretAccessKey&#39;: &#39;mz7qIqy8XmFe/mvMuaXPwFEGuGObEOGQ0LevltaH&#39;,
&#39;sessionToken&#39;: &#39;FwoGZXIvYXdzENb//////////wEaDEwh4JnZwX+1abSGDyLcAWcgag8+nG+3ILXbLbNMRtvPgaSMRvcJpwcyf9IC3PP9qsVEYPipIA4Dq2I+PvY1D9JBXv3HBq1t6tgyJjVQiPBALDw1zJcxfms+aBRmTSNgAbEBU60ixUBNeWofiAc6bP4+elTSvQJkD+zF5HSaXxW07auUcOEHLcwD3ylSLwGyt8xzEQK0eP+ofsElqOLNEMGx36BEHlD38HHPcLiGSUOTOeL7fTNSu8itxaNfc2e9RueuLSquf9VqzYuoOl8NSGXMzMifh6QPu8VWw+nFsNv8Q3iLdwQXXroxTc4ogvCiqAYyLRGzEieu+/wkKmFWiNxgLFv4BDnhUIqPk+i0Jz9aZwUDw42+OydFQJ2PMAZDew==&#39;,
&#39;expiration&#39;: &#39;2023-09-18 21:50:10+00:00&#39;}</pre>
<pre>{&#39;accessKeyId&#39;: &#39;ASIA2D3OGJNTNGQA663P&#39;,
&#39;secretAccessKey&#39;: &#39;c1ALMyzKnwMdeg3G4KucyGdGmz2W1KyxJLbxCnQQ&#39;,
&#39;sessionToken&#39;: &#39;FwoGZXIvYXdzEAAaDGXoW2gEBrU78DxLciLcAQ7Q8XBv/8XL/kJ9XU84w3Z0yIh/8YHh2siYep0oPuJTvbzFwZpk+tvPczRkAikZxw7eVmJQ8stgVq+xQ3a4aBd8VMlcNi6ZoA9DJKagE7LKimvsZnHjk7E2Kz0EyMlhQsupYe+YCM+xIBsDgfOBHah4tyRQutjwncHw8oRoLhqseZ4QZg3VydSmAXo5bJFKepD/V38Bi2vwXiL6EzS0gAS8TIsElmddAc2M9U3po5PB/SDwii/AkYe4b+SuEs0OPs/i2X++efbXUZd4ME/EgZAjxHaESmkgXOIbn1Iouc2cqQYyLQgMU03Tj+6w19DDf+rQ+4rm+pYzkAMieEhWM5LCNMKeEVbeETCCz6m+6TQoSQ==&#39;,
&#39;expiration&#39;: &#39;2023-10-11 23:50:33+00:00&#39;}</pre>
</div>

</div>
Expand Down Expand Up @@ -2538,12 +2538,12 @@ <h3 id="accessing-remote-files-as-if-they-were-local-with-fsspec">Accessing remo



<div id="0e16a249-a32d-4c85-a3d5-5cc380884dbc" class="jupyter-widgets jp-OutputArea-output ">
<div id="579061c6-49a8-4203-82cc-ed622a7e4a50" class="jupyter-widgets jp-OutputArea-output ">
<script type="text/javascript">
var element = document.getElementById('0e16a249-a32d-4c85-a3d5-5cc380884dbc');
var element = document.getElementById('579061c6-49a8-4203-82cc-ed622a7e4a50');
</script>
<script type="application/vnd.jupyter.widget-view+json">
{"version_major": 2, "version_minor": 0, "model_id": "8b74136aaaef46d9bf6229a88f886cad"}
{"version_major": 2, "version_minor": 0, "model_id": "8736a71e293f4e779463c2bdc0d1b37a"}
</script>
</div>

Expand All @@ -2560,12 +2560,12 @@ <h3 id="accessing-remote-files-as-if-they-were-local-with-fsspec">Accessing remo



<div id="c5b59a23-9285-4496-b4a0-c92e0959ce54" class="jupyter-widgets jp-OutputArea-output ">
<div id="2c6a093a-0c31-4bd4-bec6-9d4586d804b7" class="jupyter-widgets jp-OutputArea-output ">
<script type="text/javascript">
var element = document.getElementById('c5b59a23-9285-4496-b4a0-c92e0959ce54');
var element = document.getElementById('2c6a093a-0c31-4bd4-bec6-9d4586d804b7');
</script>
<script type="application/vnd.jupyter.widget-view+json">
{"version_major": 2, "version_minor": 0, "model_id": "1b037802965948b4a43884de6e0c7725"}
{"version_major": 2, "version_minor": 0, "model_id": "2ab6685260df491eb803af49e8bb8dc2"}
</script>
</div>

Expand All @@ -2582,12 +2582,12 @@ <h3 id="accessing-remote-files-as-if-they-were-local-with-fsspec">Accessing remo



<div id="954963ab-6eeb-4d8f-a0e7-ff4c4ebdfa61" class="jupyter-widgets jp-OutputArea-output ">
<div id="9f6bbec0-a2eb-4ebd-8ba5-7e29c0fa157c" class="jupyter-widgets jp-OutputArea-output ">
<script type="text/javascript">
var element = document.getElementById('954963ab-6eeb-4d8f-a0e7-ff4c4ebdfa61');
var element = document.getElementById('9f6bbec0-a2eb-4ebd-8ba5-7e29c0fa157c');
</script>
<script type="application/vnd.jupyter.widget-view+json">
{"version_major": 2, "version_minor": 0, "model_id": "4e09a10776d34d24a8812b8cb4e33f36"}
{"version_major": 2, "version_minor": 0, "model_id": "0069e6abc5094fcbb98b76fd77054673"}
</script>
</div>

Expand All @@ -2600,8 +2600,8 @@ <h3 id="accessing-remote-files-as-if-they-were-local-with-fsspec">Accessing remo


<div class="jp-RenderedText jp-OutputArea-output" data-mime-type="text/plain">
<pre>CPU times: user 742 ms, sys: 148 ms, total: 890 ms
Wall time: 27.3 s
<pre>CPU times: user 2.67 s, sys: 271 ms, total: 2.94 s
Wall time: 14.4 s
</pre>
</div>
</div>
Expand Down Expand Up @@ -2983,7 +2983,7 @@ <h3 id="accessing-remote-files-as-if-they-were-local-with-fsspec">Accessing remo
Data variables:
wavelengths (bands) float32 ...
fwhm (bands) float32 ...
good_wavelengths (bands) float32 ...</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.Dataset</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-7d4eefff-705c-4fb4-be84-73900ffee354' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-7d4eefff-705c-4fb4-be84-73900ffee354' class='xr-section-summary' title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span>bands</span>: 285</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-40cbcdc5-1280-461a-8687-d1f7ed52a299' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-40cbcdc5-1280-461a-8687-d1f7ed52a299' class='xr-section-summary' title='Expand/collapse section'>Coordinates: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-80d86a40-dd95-4b81-b4a4-cb411c2d65ff' class='xr-section-summary-in' type='checkbox' checked><label for='section-80d86a40-dd95-4b81-b4a4-cb411c2d65ff' class='xr-section-summary' >Data variables: <span>(3)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>wavelengths</span></div><div class='xr-var-dims'>(bands)</div><div class='xr-var-dtype'>float32</div><div class='xr-var-preview xr-preview'>...</div><input id='attrs-e5242cac-1d87-4e2d-8a86-28e96cd4787e' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-e5242cac-1d87-4e2d-8a86-28e96cd4787e' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-c93ba8a5-3c42-46a8-8f3a-c5ec42acf5e0' class='xr-var-data-in' type='checkbox'><label for='data-c93ba8a5-3c42-46a8-8f3a-c5ec42acf5e0' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>long_name :</span></dt><dd>Wavelength Centers</dd><dt><span>units :</span></dt><dd>nm</dd></dl></div><div class='xr-var-data'><pre>[285 values with dtype=float32]</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>fwhm</span></div><div class='xr-var-dims'>(bands)</div><div class='xr-var-dtype'>float32</div><div class='xr-var-preview xr-preview'>...</div><input id='attrs-e3c3792c-5881-4271-a925-ac8cfd371672' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-e3c3792c-5881-4271-a925-ac8cfd371672' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-3a3833d1-b950-4d7d-afc5-8399083e8f50' class='xr-var-data-in' type='checkbox'><label for='data-3a3833d1-b950-4d7d-afc5-8399083e8f50' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>long_name :</span></dt><dd>Full Width at Half Max</dd><dt><span>units :</span></dt><dd>nm</dd></dl></div><div class='xr-var-data'><pre>[285 values with dtype=float32]</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>good_wavelengths</span></div><div class='xr-var-dims'>(bands)</div><div class='xr-var-dtype'>float32</div><div class='xr-var-preview xr-preview'>...</div><input id='attrs-389cc075-3c9d-4fff-964a-8c4b87915a2c' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-389cc075-3c9d-4fff-964a-8c4b87915a2c' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-c4a63b81-4efe-4978-b741-8e331923ca8b' class='xr-var-data-in' type='checkbox'><label for='data-c4a63b81-4efe-4978-b741-8e331923ca8b' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>long_name :</span></dt><dd>Wavelengths where reflectance is useable: 1 = good data, 0 = bad data</dd><dt><span>units :</span></dt><dd>unitless</dd></dl></div><div class='xr-var-data'><pre>[285 values with dtype=float32]</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-16788343-a9e3-46d6-9117-77c3ea725ef7' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-16788343-a9e3-46d6-9117-77c3ea725ef7' class='xr-section-summary' title='Expand/collapse section'>Indexes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-29a76eed-904d-4092-baa9-6a46672ddd72' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-29a76eed-904d-4092-baa9-6a46672ddd72' class='xr-section-summary' title='Expand/collapse section'>Attributes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'></dl></div></li></ul></div></div>
good_wavelengths (bands) float32 ...</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.Dataset</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-031b8a55-aca4-4ce2-aeaf-4b03d10f5a17' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-031b8a55-aca4-4ce2-aeaf-4b03d10f5a17' class='xr-section-summary' title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span>bands</span>: 285</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-18c55e9e-7157-4487-b9d7-bc23ce328b1a' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-18c55e9e-7157-4487-b9d7-bc23ce328b1a' class='xr-section-summary' title='Expand/collapse section'>Coordinates: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-24bd6bb4-3d67-4acc-88aa-a01938e24b2c' class='xr-section-summary-in' type='checkbox' checked><label for='section-24bd6bb4-3d67-4acc-88aa-a01938e24b2c' class='xr-section-summary' >Data variables: <span>(3)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>wavelengths</span></div><div class='xr-var-dims'>(bands)</div><div class='xr-var-dtype'>float32</div><div class='xr-var-preview xr-preview'>...</div><input id='attrs-048bfaf0-b6a2-410c-a7a9-bed7ddde7d24' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-048bfaf0-b6a2-410c-a7a9-bed7ddde7d24' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-f746a72c-bb08-4ed5-b6a6-934c65c87e60' class='xr-var-data-in' type='checkbox'><label for='data-f746a72c-bb08-4ed5-b6a6-934c65c87e60' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>long_name :</span></dt><dd>Wavelength Centers</dd><dt><span>units :</span></dt><dd>nm</dd></dl></div><div class='xr-var-data'><pre>[285 values with dtype=float32]</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>fwhm</span></div><div class='xr-var-dims'>(bands)</div><div class='xr-var-dtype'>float32</div><div class='xr-var-preview xr-preview'>...</div><input id='attrs-430b8b40-9513-4b51-adc6-48039a2cf3e8' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-430b8b40-9513-4b51-adc6-48039a2cf3e8' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-9a2656a4-7d63-4c44-bdd5-ea6226040213' class='xr-var-data-in' type='checkbox'><label for='data-9a2656a4-7d63-4c44-bdd5-ea6226040213' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>long_name :</span></dt><dd>Full Width at Half Max</dd><dt><span>units :</span></dt><dd>nm</dd></dl></div><div class='xr-var-data'><pre>[285 values with dtype=float32]</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>good_wavelengths</span></div><div class='xr-var-dims'>(bands)</div><div class='xr-var-dtype'>float32</div><div class='xr-var-preview xr-preview'>...</div><input id='attrs-ae0eb2ee-d8f3-426b-9f1f-b511233add16' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-ae0eb2ee-d8f3-426b-9f1f-b511233add16' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-ace0cf54-26bb-4d86-b86d-28b765f6a2bd' class='xr-var-data-in' type='checkbox'><label for='data-ace0cf54-26bb-4d86-b86d-28b765f6a2bd' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>long_name :</span></dt><dd>Wavelengths where reflectance is useable: 1 = good data, 0 = bad data</dd><dt><span>units :</span></dt><dd>unitless</dd></dl></div><div class='xr-var-data'><pre>[285 values with dtype=float32]</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-329d454b-357d-494e-a812-183dd1224218' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-329d454b-357d-494e-a812-183dd1224218' class='xr-section-summary' title='Expand/collapse section'>Indexes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-20e3fdfa-3b44-4ad0-a294-aced2c23b6c6' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-20e3fdfa-3b44-4ad0-a294-aced2c23b6c6' class='xr-section-summary' title='Expand/collapse section'>Attributes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'></dl></div></li></ul></div></div>
</div>

</div>
Expand Down
8 changes: 6 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1097,6 +1097,10 @@ <h1>Readme</h1>

<p align="center">

<a href="https://zenodo.org/badge/latestdoi/399867529" target="_blank">
<img src="https://zenodo.org/badge/399867529.svg" alt="DOI" />
</a>

<a href="https://twitter.com/allison_horst" target="_blank">
<img src="https://img.shields.io/badge/Art%20By-Allison%20Horst-blue" alt="Art Designer: Allison Horst">
</a>
Expand All @@ -1113,8 +1117,8 @@ <h1>Readme</h1>
<img src="https://img.shields.io/pypi/pyversions/earthaccess.svg" alt="Python Versions">
</a>

<a href='https://earthdata.readthedocs.io/en/latest/?badge=latest'>
<img src='https://readthedocs.org/projects/earthdata/badge/?version=latest' alt='Documentation Status' />
<a href='https://earthaccess.readthedocs.io/en/latest/?badge=latest'>
<img src='https://readthedocs.org/projects/earthaccess/badge/?version=latest' alt='Documentation Status' />
</a>

</p>
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Loading

0 comments on commit b6908f4

Please sign in to comment.