Skip to content

Commit

Permalink
build based on 218420c
Browse files Browse the repository at this point in the history
  • Loading branch information
zeptodoctor committed Sep 21, 2024
1 parent 4f02986 commit 6d53957
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion dev/gallery/Aqua_orbits/remotes_sat_tracks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@

julia> Dsc[2].header

`AQUA_MODIS.20210902T133501.L2.SST.NRT.nc`</code></pre><hr/><p><em>Download a <a href="../remotes_sat_tracks.jl">Neptune Notebook here</a></em></p></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="../../Aqua_sst/remotes_L2_SST/">Aqua SST »</a></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Wednesday 29 May 2024 23:44">Wednesday 29 May 2024</span>. Using Julia version 1.10.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
`AQUA_MODIS.20210902T133501.L2.SST.NRT.nc`</code></pre><hr/><p><em>Download a <a href="../remotes_sat_tracks.jl">Neptune Notebook here</a></em></p></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="../../Aqua_sst/remotes_L2_SST/">Aqua SST »</a></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Saturday 21 September 2024 21:06">Saturday 21 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/gallery/Aqua_sst/remotes_L2_SST/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
# Display it
imshow(G, proj=:guess, coast=true, dpi=200)</code></pre><img src="../AQUA_SST_1km.png" width="600" class="center"/><p>Note that since we used a grid step 0f 0.01 for the interpolation and this value is very close to the MODIS maximum spatial resolution, the left and right regions have beam spacings 2 to 5 times this and show many little holes. Do not confuse these little holes with the larger ones that are caused by cloud coverage. So we will recalculate the grid at increments of ~2 km and over the region that has the higher data density.</p><pre><code class="language-Julia"># Recompue at a inc=0.02 and over a sub-region
G = grid_at_sensor(&quot;C:/v/AQUA_MODIS.20210805T131001.L2.SST.NRT.nc&quot;, &quot;sst&quot;, region=(-13,10,33.8,44.5), inc=0.02);</code></pre><pre><code class="language-Julia"># Make a nicer image with illumination.
imshow(G, proj=:guess, coast=true, shade=true, title=&quot;Sea Surace Temperature&quot;, colorbar=true)</code></pre><img src="../AQUA_SST_2km.png" width="600" class="center"/><hr/><p><em>Download a <a href="../remotes_L2_SST.jl">Neptune Notebook here</a></em></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../Aqua_orbits/remotes_sat_tracks/">« Aqua orbits</a><a class="docs-footer-nextpage" href="../../HLS/cloud-native-hls-data/">Cloud-Native HLS dat »</a></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Wednesday 29 May 2024 23:44">Wednesday 29 May 2024</span>. Using Julia version 1.10.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
imshow(G, proj=:guess, coast=true, shade=true, title=&quot;Sea Surace Temperature&quot;, colorbar=true)</code></pre><img src="../AQUA_SST_2km.png" width="600" class="center"/><hr/><p><em>Download a <a href="../remotes_L2_SST.jl">Neptune Notebook here</a></em></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../Aqua_orbits/remotes_sat_tracks/">« Aqua orbits</a><a class="docs-footer-nextpage" href="../../HLS/cloud-native-hls-data/">Cloud-Native HLS dat »</a></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Saturday 21 September 2024 21:06">Saturday 21 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/gallery/HLS/cloud-native-hls-data/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -331,4 +331,4 @@
# Get the permutation vector p that puts time[p] in sorted order
p = sortperm(time);
eviFiles = eviFiles[p]; # Sort the file names in ascending time order
time = time[p]; # and the time too.</code></pre><p>Save all EVI estimations in a netCDF 3d (a cube) file</p><pre><code class="language-julia">stackgrids(eviFiles, time, z_unit=&quot;unix&quot;, save=&quot;evi_cube.nc&quot;)</code></pre><p>Interpolate along all layers at a point with coordinates <em>x = 580740</em>; <em>y = 4418042</em></p><pre><code class="language-julia">D = grdinterpolate(&quot;evi_cube.nc&quot;, pt=(580740,4418042));</code></pre><p>Now, plot the time series showing the distribution of EVI values for our farm field.</p><pre><code class="language-julia">imshow(D, par=(TIME_SYSTEM=&quot;UNIX&quot;,), coltypes=:t)</code></pre><img src="../output_94_0.png" width="500" class="center"/></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../Aqua_sst/remotes_L2_SST/">« Aqua SST</a><a class="docs-footer-nextpage" href="../../L8cube_img/remotes_L8_cube_img/">Landsat 8 images »</a></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Wednesday 29 May 2024 23:44">Wednesday 29 May 2024</span>. Using Julia version 1.10.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
time = time[p]; # and the time too.</code></pre><p>Save all EVI estimations in a netCDF 3d (a cube) file</p><pre><code class="language-julia">stackgrids(eviFiles, time, z_unit=&quot;unix&quot;, save=&quot;evi_cube.nc&quot;)</code></pre><p>Interpolate along all layers at a point with coordinates <em>x = 580740</em>; <em>y = 4418042</em></p><pre><code class="language-julia">D = grdinterpolate(&quot;evi_cube.nc&quot;, pt=(580740,4418042));</code></pre><p>Now, plot the time series showing the distribution of EVI values for our farm field.</p><pre><code class="language-julia">imshow(D, par=(TIME_SYSTEM=&quot;UNIX&quot;,), coltypes=:t)</code></pre><img src="../output_94_0.png" width="500" class="center"/></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../Aqua_sst/remotes_L2_SST/">« Aqua SST</a><a class="docs-footer-nextpage" href="../../L8cube_img/remotes_L8_cube_img/">Landsat 8 images »</a></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Saturday 21 September 2024 21:06">Saturday 21 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/gallery/L8cube_img/remotes_L8_cube_img/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
imshow(Btoa_img)</code></pre><img src="../LC08_L1TP_20210525_02_Btoa_hist.png" width="500" class="center"/><p>Now we are going to do the same for all Red, Green and Blue bands and compose the in a truecolor image. Repeating, we are going to compute the radiance at the top of atmosphere, retain only the data inside the parts of the histogram where it is more concentrated and create a true color image. To compute the radiance TOA we can do it all at once with the <code>dn2radiance</code> applied to the cube and, like before, create the RGB image with <code>truecolor</code></p><pre><code class="language-julia">cube_toa_rad = dn2radiance(&quot;c:/v/LC08_L1TP_20210525_02_cube.tiff&quot;);
Irgb_toa = truecolor(cube_toa_rad);
imshow(Irgb_toa)</code></pre><img src="../LC08_L1TP_20210525_02_RGB_toa.png" width="500" class="center"/><p>Hm, yes, very nice but it looks very much like the one obtained directly with the digital numbers. Indeed, it does but let us zoom in.</p><pre><code class="language-julia">grdimage(Irgb, region=(502380,514200,4311630,4321420), figsize=8, frame=:bare)
grdimage!(Irgb_toa, figsize=8, projection=:linear, xshift=8, frame=:bare, show=true)</code></pre><img src="../LC08_L1TP_20210525_02_RGB_compare.png" width="600" class="center"/><p>We can now clearly see that the image on the right, the one made the radiance TOA, has an higher contrast than the one made with data without any corrections.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../HLS/cloud-native-hls-data/">« Cloud-Native HLS dat</a><a class="docs-footer-nextpage" href="../../L8cube_ndvi/remotes_L8_NDVI/">Landsat 8 NDVI »</a></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Wednesday 29 May 2024 23:44">Wednesday 29 May 2024</span>. Using Julia version 1.10.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
grdimage!(Irgb_toa, figsize=8, projection=:linear, xshift=8, frame=:bare, show=true)</code></pre><img src="../LC08_L1TP_20210525_02_RGB_compare.png" width="600" class="center"/><p>We can now clearly see that the image on the right, the one made the radiance TOA, has an higher contrast than the one made with data without any corrections.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../HLS/cloud-native-hls-data/">« Cloud-Native HLS dat</a><a class="docs-footer-nextpage" href="../../L8cube_ndvi/remotes_L8_NDVI/">Landsat 8 NDVI »</a></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Saturday 21 September 2024 21:06">Saturday 21 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/gallery/L8cube_ndvi/remotes_L8_NDVI/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@

image_alpha!(Irgb, alpha_band=mask_inv, burn=1);
gmtwrite(&quot;rgb_inv_masked.tiff&quot;, Irgb)</code></pre><p>Plot the green vegetation that passed the NDVI threshold test and the other part, side by side.</p><pre><code class="language-Julia">grdimage(&quot;rgb_masked.tiff&quot;, region=(502380,514200,4311630,4321420), figsize=8, frame=:bare)
grdimage!(&quot;rgb_inv_masked.tiff&quot;, figsize=8, projection=:linear, xshift=8, frame=:bare, show=true)</code></pre><img src="../LC08_L1TP_20210525_02_RGB_masked2.jpg" width="600" class="center"/><p>As we can see only the greenest part, the one that is probably more irrigated considering that all the river and cannals margins were retained, was extracted with the condition <code>NDVI &gt; 0.4</code>. Off course, using different threshold values would lead to slightly different results.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../L8cube_img/remotes_L8_cube_img/">« Landsat 8 images</a><a class="docs-footer-nextpage" href="../../../">Index »</a></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Wednesday 29 May 2024 23:44">Wednesday 29 May 2024</span>. Using Julia version 1.10.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
grdimage!(&quot;rgb_inv_masked.tiff&quot;, figsize=8, projection=:linear, xshift=8, frame=:bare, show=true)</code></pre><img src="../LC08_L1TP_20210525_02_RGB_masked2.jpg" width="600" class="center"/><p>As we can see only the greenest part, the one that is probably more irrigated considering that all the river and cannals margins were retained, was extracted with the condition <code>NDVI &gt; 0.4</code>. Off course, using different threshold values would lead to slightly different results.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../L8cube_img/remotes_L8_cube_img/">« Landsat 8 images</a><a class="docs-footer-nextpage" href="../../../">Index »</a></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Saturday 21 September 2024 21:06">Saturday 21 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 6d53957

Please sign in to comment.