Skip to content

Commit

Permalink
Deploy preview for PR #42
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 20, 2024
1 parent d6057a2 commit b197771
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 81 deletions.
23 changes: 0 additions & 23 deletions pr-previews/pr-42/contributing/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -472,15 +472,6 @@
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#benchmarks" class="md-nav__link">
<span class="md-ellipsis">
Benchmarks
</span>
</a>

</li>

<li class="md-nav__item">
Expand Down Expand Up @@ -562,15 +553,6 @@
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#benchmarks" class="md-nav__link">
<span class="md-ellipsis">
Benchmarks
</span>
</a>

</li>

<li class="md-nav__item">
Expand Down Expand Up @@ -631,11 +613,6 @@ <h2 id="testing">Testing<a class="headerlink" href="#testing" title="Permanent l
Record the new responses and commit them to the repository.</p>
<div class="highlight"><pre><span></span><code>uv<span class="w"> </span>run<span class="w"> </span>pytest<span class="w"> </span>-v<span class="w"> </span>-s<span class="w"> </span>--record-mode<span class="w"> </span>new_episodes
</code></pre></div>
<h2 id="benchmarks">Benchmarks<a class="headerlink" href="#benchmarks" title="Permanent link">&para;</a></h2>
<p><code>tests/test_timeseries_benchmark.py</code> is used to evaluate the performance and limits of <code>/timeseries</code> requests.</p>
<p>To run the benchmarks:</p>
<div class="highlight"><pre><span></span><code>uv<span class="w"> </span>run<span class="w"> </span>pytest<span class="w"> </span>-vv<span class="w"> </span>--benchmark-only<span class="w"> </span>--benchmark-json<span class="w"> </span>benchmark.json
</code></pre></div>
<h2 id="documentation">Documentation<a class="headerlink" href="#documentation" title="Permanent link">&para;</a></h2>
<p>The documentation is generated using <code>mkdocs</code> and gets built and deployed to Github Pages when new tags are released and on pushes to the <code>develop</code> branch.</p>
<p>To preview the documentation in your browser you can run:</p>
Expand Down
76 changes: 38 additions & 38 deletions pr-previews/pr-42/examples/time_series_example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1987,8 +1987,8 @@ <h2 id="example-sea-surface-temperature-statistics">Example: sea surface tempera
<div class="jp-OutputArea-child">
<div class="jp-OutputPrompt jp-OutputArea-prompt"></div>
<div class="jp-RenderedText jp-OutputArea-output" data-mime-type="text/plain" tabindex="0">
<pre>CPU times: user 42.4 ms, sys: 4.62 ms, total: 47 ms
Wall time: 24.3 s
<pre>CPU times: user 43.6 ms, sys: 4.7 ms, total: 48.3 ms
Wall time: 28.1 s
</pre>
</div>
</div>
Expand Down Expand Up @@ -2482,7 +2482,7 @@ <h2 id="example-time-series-raster-tiles">Example: Time series raster tiles<a cl
&lt;meta name="viewport" content="width=device-width,
initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /&gt;
&lt;style&gt;
#map_958b8423d6c60603fe58fb25aef6dcb9 {
#map_121173c7d61165d338c35520d5b3fd98 {
position: relative;
width: 100.0%;
height: 100.0%;
Expand All @@ -2496,14 +2496,14 @@ <h2 id="example-time-series-raster-tiles">Example: Time series raster tiles<a cl
&lt;body&gt;


&lt;div class="folium-map" id="map_958b8423d6c60603fe58fb25aef6dcb9" &gt;&lt;/div&gt;
&lt;div class="folium-map" id="map_121173c7d61165d338c35520d5b3fd98" &gt;&lt;/div&gt;

&lt;/body&gt;
&lt;script&gt;


var map_958b8423d6c60603fe58fb25aef6dcb9 = L.map(
"map_958b8423d6c60603fe58fb25aef6dcb9",
var map_121173c7d61165d338c35520d5b3fd98 = L.map(
"map_121173c7d61165d338c35520d5b3fd98",
{
center: [0.0, 0.0],
crs: L.CRS.EPSG3857,
Expand All @@ -2517,111 +2517,111 @@ <h2 id="example-time-series-raster-tiles">Example: Time series raster tiles<a cl



var tile_layer_645ba6f85cd536dff9d148579c44107b = L.tileLayer(
var tile_layer_131bad7676386fd69edb40913ed0bc87 = L.tileLayer(
"https://tile.openstreetmap.org/{z}/{x}/{y}.png",
{"attribution": "\u0026copy; \u003ca href=\"https://www.openstreetmap.org/copyright\"\u003eOpenStreetMap\u003c/a\u003e contributors", "detectRetina": false, "maxNativeZoom": 19, "maxZoom": 19, "minZoom": 3, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
);


tile_layer_645ba6f85cd536dff9d148579c44107b.addTo(map_958b8423d6c60603fe58fb25aef6dcb9);
tile_layer_131bad7676386fd69edb40913ed0bc87.addTo(map_121173c7d61165d338c35520d5b3fd98);


var tile_layer_ae4d56fe6840ebbc1b6953a40b973dad = L.tileLayer(
var tile_layer_f01d8cb55c5bbf308c352be0ea665213 = L.tileLayer(
"https://dev-titiler-cmr.delta-backend.com/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?concept_id=C2036881735-POCLOUD\u0026variable=sea_ice_fraction\u0026backend=xarray\u0026colormap_name=blues_r\u0026rescale=%5B0%2C+1%5D\u0026concept_id=C2036881735-POCLOUD\u0026datetime=2023-11-01T00%3A00%3A01%2B00%3A00",
{"attribution": "GAMSSA SST", "detectRetina": false, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
);


var tile_layer_daf063fcfc429e3b3ae4e312e80d4afb = L.tileLayer(
var tile_layer_087c68215af7a670ace697f453f75967 = L.tileLayer(
"https://dev-titiler-cmr.delta-backend.com/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?concept_id=C2036881735-POCLOUD\u0026variable=sea_ice_fraction\u0026backend=xarray\u0026colormap_name=blues_r\u0026rescale=%5B0%2C+1%5D\u0026concept_id=C2036881735-POCLOUD\u0026datetime=2023-12-01T00%3A00%3A01%2B00%3A00",
{"attribution": "GAMSSA SST", "detectRetina": false, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
);


var tile_layer_b0061ddaf7bdf921fa457af1d4f4b63d = L.tileLayer(
var tile_layer_ba20a13ae6cc9b23a5eae5e7a270b2e2 = L.tileLayer(
"https://dev-titiler-cmr.delta-backend.com/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?concept_id=C2036881735-POCLOUD\u0026variable=sea_ice_fraction\u0026backend=xarray\u0026colormap_name=blues_r\u0026rescale=%5B0%2C+1%5D\u0026concept_id=C2036881735-POCLOUD\u0026datetime=2024-01-01T00%3A00%3A01%2B00%3A00",
{"attribution": "GAMSSA SST", "detectRetina": false, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
);


var tile_layer_891c5ef1d6a28b05b07ff71b6f19566b = L.tileLayer(
var tile_layer_c448bb20b329af2541d6b4cd93b18333 = L.tileLayer(
"https://dev-titiler-cmr.delta-backend.com/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?concept_id=C2036881735-POCLOUD\u0026variable=sea_ice_fraction\u0026backend=xarray\u0026colormap_name=blues_r\u0026rescale=%5B0%2C+1%5D\u0026concept_id=C2036881735-POCLOUD\u0026datetime=2024-02-01T00%3A00%3A01%2B00%3A00",
{"attribution": "GAMSSA SST", "detectRetina": false, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
);


var tile_layer_3ab9e22388c600a5e6a2b59cbe671f69 = L.tileLayer(
var tile_layer_5e81628f683805661cd86de7bfa1c5df = L.tileLayer(
"https://dev-titiler-cmr.delta-backend.com/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?concept_id=C2036881735-POCLOUD\u0026variable=sea_ice_fraction\u0026backend=xarray\u0026colormap_name=blues_r\u0026rescale=%5B0%2C+1%5D\u0026concept_id=C2036881735-POCLOUD\u0026datetime=2024-03-01T00%3A00%3A01%2B00%3A00",
{"attribution": "GAMSSA SST", "detectRetina": false, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
);


var tile_layer_b445a1ec6404ec6eb70daa9b9774df16 = L.tileLayer(
var tile_layer_f344bb2d87d2405c06e872229938aac8 = L.tileLayer(
"https://dev-titiler-cmr.delta-backend.com/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?concept_id=C2036881735-POCLOUD\u0026variable=sea_ice_fraction\u0026backend=xarray\u0026colormap_name=blues_r\u0026rescale=%5B0%2C+1%5D\u0026concept_id=C2036881735-POCLOUD\u0026datetime=2024-04-01T00%3A00%3A01%2B00%3A00",
{"attribution": "GAMSSA SST", "detectRetina": false, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
);


var tile_layer_ecbfb579a2d0fd5571e3402909e26be4 = L.tileLayer(
var tile_layer_6f6cf067c9161df287c1f60b473f8828 = L.tileLayer(
"https://dev-titiler-cmr.delta-backend.com/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?concept_id=C2036881735-POCLOUD\u0026variable=sea_ice_fraction\u0026backend=xarray\u0026colormap_name=blues_r\u0026rescale=%5B0%2C+1%5D\u0026concept_id=C2036881735-POCLOUD\u0026datetime=2024-05-01T00%3A00%3A01%2B00%3A00",
{"attribution": "GAMSSA SST", "detectRetina": false, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
);


var tile_layer_d129890631f012a59d73bf48822007a4 = L.tileLayer(
var tile_layer_aabebb277150e03a22c1f15df7739e9b = L.tileLayer(
"https://dev-titiler-cmr.delta-backend.com/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?concept_id=C2036881735-POCLOUD\u0026variable=sea_ice_fraction\u0026backend=xarray\u0026colormap_name=blues_r\u0026rescale=%5B0%2C+1%5D\u0026concept_id=C2036881735-POCLOUD\u0026datetime=2024-06-01T00%3A00%3A01%2B00%3A00",
{"attribution": "GAMSSA SST", "detectRetina": false, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
);


var tile_layer_29b41bbbfc9743ea0462951016398638 = L.tileLayer(
var tile_layer_f92b0eb55c9af4024043f0a5aa88b355 = L.tileLayer(
"https://dev-titiler-cmr.delta-backend.com/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?concept_id=C2036881735-POCLOUD\u0026variable=sea_ice_fraction\u0026backend=xarray\u0026colormap_name=blues_r\u0026rescale=%5B0%2C+1%5D\u0026concept_id=C2036881735-POCLOUD\u0026datetime=2024-07-01T00%3A00%3A01%2B00%3A00",
{"attribution": "GAMSSA SST", "detectRetina": false, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
);


var tile_layer_5459dbe42bdbb67b731df38c62211f5e = L.tileLayer(
var tile_layer_b04ba64d9fa651c202ca5932f0c281cc = L.tileLayer(
"https://dev-titiler-cmr.delta-backend.com/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?concept_id=C2036881735-POCLOUD\u0026variable=sea_ice_fraction\u0026backend=xarray\u0026colormap_name=blues_r\u0026rescale=%5B0%2C+1%5D\u0026concept_id=C2036881735-POCLOUD\u0026datetime=2024-08-01T00%3A00%3A01%2B00%3A00",
{"attribution": "GAMSSA SST", "detectRetina": false, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
);


var tile_layer_50d8a4128f7da161121bae9924d6a6e6 = L.tileLayer(
var tile_layer_d58d28bb9fb2a3389091543fb2be86d9 = L.tileLayer(
"https://dev-titiler-cmr.delta-backend.com/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?concept_id=C2036881735-POCLOUD\u0026variable=sea_ice_fraction\u0026backend=xarray\u0026colormap_name=blues_r\u0026rescale=%5B0%2C+1%5D\u0026concept_id=C2036881735-POCLOUD\u0026datetime=2024-09-01T00%3A00%3A01%2B00%3A00",
{"attribution": "GAMSSA SST", "detectRetina": false, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
);


var tile_layer_896f4b3e176f5532d174edd7f7597cad = L.tileLayer(
var tile_layer_b6b3ee0cef92329f51fba6a4089e3031 = L.tileLayer(
"https://dev-titiler-cmr.delta-backend.com/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?concept_id=C2036881735-POCLOUD\u0026variable=sea_ice_fraction\u0026backend=xarray\u0026colormap_name=blues_r\u0026rescale=%5B0%2C+1%5D\u0026concept_id=C2036881735-POCLOUD\u0026datetime=2024-10-01T00%3A00%3A01%2B00%3A00",
{"attribution": "GAMSSA SST", "detectRetina": false, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
);


var layer_control_870a5cefa1cdb6360e90df05d0906ad6_layers = {
var layer_control_019c89dce220e208dca72f971fb76329_layers = {
base_layers : {
"openstreetmap" : tile_layer_645ba6f85cd536dff9d148579c44107b,
"openstreetmap" : tile_layer_131bad7676386fd69edb40913ed0bc87,
},
overlays : {
"2023-11" : tile_layer_ae4d56fe6840ebbc1b6953a40b973dad,
"2023-12" : tile_layer_daf063fcfc429e3b3ae4e312e80d4afb,
"2024-01" : tile_layer_b0061ddaf7bdf921fa457af1d4f4b63d,
"2024-02" : tile_layer_891c5ef1d6a28b05b07ff71b6f19566b,
"2024-03" : tile_layer_3ab9e22388c600a5e6a2b59cbe671f69,
"2024-04" : tile_layer_b445a1ec6404ec6eb70daa9b9774df16,
"2024-05" : tile_layer_ecbfb579a2d0fd5571e3402909e26be4,
"2024-06" : tile_layer_d129890631f012a59d73bf48822007a4,
"2024-07" : tile_layer_29b41bbbfc9743ea0462951016398638,
"2024-08" : tile_layer_5459dbe42bdbb67b731df38c62211f5e,
"2024-09" : tile_layer_50d8a4128f7da161121bae9924d6a6e6,
"2024-10" : tile_layer_896f4b3e176f5532d174edd7f7597cad,
"2023-11" : tile_layer_f01d8cb55c5bbf308c352be0ea665213,
"2023-12" : tile_layer_087c68215af7a670ace697f453f75967,
"2024-01" : tile_layer_ba20a13ae6cc9b23a5eae5e7a270b2e2,
"2024-02" : tile_layer_c448bb20b329af2541d6b4cd93b18333,
"2024-03" : tile_layer_5e81628f683805661cd86de7bfa1c5df,
"2024-04" : tile_layer_f344bb2d87d2405c06e872229938aac8,
"2024-05" : tile_layer_6f6cf067c9161df287c1f60b473f8828,
"2024-06" : tile_layer_aabebb277150e03a22c1f15df7739e9b,
"2024-07" : tile_layer_f92b0eb55c9af4024043f0a5aa88b355,
"2024-08" : tile_layer_b04ba64d9fa651c202ca5932f0c281cc,
"2024-09" : tile_layer_d58d28bb9fb2a3389091543fb2be86d9,
"2024-10" : tile_layer_b6b3ee0cef92329f51fba6a4089e3031,
},
};
let layer_control_870a5cefa1cdb6360e90df05d0906ad6 = L.control.layers(
layer_control_870a5cefa1cdb6360e90df05d0906ad6_layers.base_layers,
layer_control_870a5cefa1cdb6360e90df05d0906ad6_layers.overlays,
let layer_control_019c89dce220e208dca72f971fb76329 = L.control.layers(
layer_control_019c89dce220e208dca72f971fb76329_layers.base_layers,
layer_control_019c89dce220e208dca72f971fb76329_layers.overlays,
{"autoZIndex": true, "collapsed": false, "position": "topright"}
).addTo(map_958b8423d6c60603fe58fb25aef6dcb9);
).addTo(map_121173c7d61165d338c35520d5b3fd98);


&lt;/script&gt;
Expand Down
Loading

0 comments on commit b197771

Please sign in to comment.