Skip to content

Commit

Permalink
[skip ci] Update stable
Browse files Browse the repository at this point in the history
  • Loading branch information
Azure Pipelines committed Mar 22, 2024
1 parent 48ef001 commit 39f54f2
Show file tree
Hide file tree
Showing 155 changed files with 3,326 additions and 303 deletions.
Binary file added stable/_images/total_mass_flux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions stable/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ <h1>All modules for which code is available</h1>
<li><a href="mpas_analysis/ocean/climatology_map_sst.html">mpas_analysis.ocean.climatology_map_sst</a></li>
<li><a href="mpas_analysis/ocean/climatology_map_waves.html">mpas_analysis.ocean.climatology_map_waves</a></li>
<li><a href="mpas_analysis/ocean/compute_anomaly_subtask.html">mpas_analysis.ocean.compute_anomaly_subtask</a></li>
<li><a href="mpas_analysis/ocean/conservation.html">mpas_analysis.ocean.conservation</a></li>
<li><a href="mpas_analysis/ocean/histogram.html">mpas_analysis.ocean.histogram</a></li>
<li><a href="mpas_analysis/ocean/index_nino34.html">mpas_analysis.ocean.index_nino34</a></li>
<li><a href="mpas_analysis/ocean/meridional_heat_transport.html">mpas_analysis.ocean.meridional_heat_transport</a></li>
<li><a href="mpas_analysis/ocean/plot_depth_integrated_time_series_subtask.html">mpas_analysis.ocean.plot_depth_integrated_time_series_subtask</a></li>
Expand Down
3 changes: 3 additions & 0 deletions stable/_modules/mpas_analysis/__main__.html
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,9 @@ <h1>Source code for mpas_analysis.__main__</h1><div class="highlight"><pre>
<span class="n">config</span><span class="p">,</span> <span class="n">oceanClimatologyTasks</span><span class="p">[</span><span class="s1">&#39;avg&#39;</span><span class="p">],</span> <span class="n">oceanRegionMasksTask</span><span class="p">,</span>
<span class="n">controlConfig</span><span class="p">))</span>

<span class="n">analyses</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">ocean</span><span class="o">.</span><span class="n">ConservationTask</span><span class="p">(</span>
<span class="n">config</span><span class="p">,</span> <span class="n">controlConfig</span><span class="p">))</span>

<span class="n">analyses</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">ocean</span><span class="o">.</span><span class="n">RegionalTSDiagrams</span><span class="p">(</span>
<span class="n">config</span><span class="p">,</span> <span class="n">oceanClimatologyTasks</span><span class="p">[</span><span class="s1">&#39;avg&#39;</span><span class="p">],</span> <span class="n">oceanRegionMasksTask</span><span class="p">,</span>
<span class="n">controlConfig</span><span class="p">))</span>
Expand Down
212 changes: 185 additions & 27 deletions stable/_modules/mpas_analysis/ocean/climatology_map_antarctic_melt.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ <h1>Source code for mpas_analysis.ocean.climatology_map_argo</h1><div class="hig
<span class="n">dsObs</span><span class="o">.</span><span class="n">coords</span><span class="p">[</span><span class="s1">&#39;month&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="p">(</span><span class="s1">&#39;Time&#39;</span><span class="p">,</span> <span class="n">np</span><span class="o">.</span><span class="n">array</span><span class="p">(</span><span class="n">dsObs</span><span class="p">[</span><span class="s1">&#39;calmonth&#39;</span><span class="p">],</span> <span class="nb">int</span><span class="p">))</span>

<span class="c1"># no meaningful year since this is already a climatology</span>
<span class="n">dsObs</span><span class="o">.</span><span class="n">coords</span><span class="p">[</span><span class="s1">&#39;year&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="p">(</span><span class="s1">&#39;Time&#39;</span><span class="p">,</span> <span class="n">np</span><span class="o">.</span><span class="n">ones</span><span class="p">(</span><span class="n">dsObs</span><span class="o">.</span><span class="n">dims</span><span class="p">[</span><span class="s1">&#39;Time&#39;</span><span class="p">],</span> <span class="nb">int</span><span class="p">))</span>
<span class="n">dsObs</span><span class="o">.</span><span class="n">coords</span><span class="p">[</span><span class="s1">&#39;year&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="p">(</span><span class="s1">&#39;Time&#39;</span><span class="p">,</span> <span class="n">np</span><span class="o">.</span><span class="n">ones</span><span class="p">(</span><span class="n">dsObs</span><span class="o">.</span><span class="n">sizes</span><span class="p">[</span><span class="s1">&#39;Time&#39;</span><span class="p">],</span> <span class="nb">int</span><span class="p">))</span>
<span class="n">dsObs</span> <span class="o">=</span> <span class="n">dsObs</span><span class="p">[[</span><span class="bp">self</span><span class="o">.</span><span class="n">fieldName</span><span class="p">,</span> <span class="s1">&#39;month&#39;</span><span class="p">]]</span>

<span class="n">slices</span> <span class="o">=</span> <span class="p">[]</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ <h1>Source code for mpas_analysis.ocean.climatology_map_mld</h1><div class="high
<span class="n">dsObs</span><span class="o">.</span><span class="n">coords</span><span class="p">[</span><span class="s1">&#39;month&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="p">(</span><span class="s1">&#39;Time&#39;</span><span class="p">,</span> <span class="n">np</span><span class="o">.</span><span class="n">array</span><span class="p">(</span><span class="n">dsObs</span><span class="p">[</span><span class="s1">&#39;calmonth&#39;</span><span class="p">],</span> <span class="nb">int</span><span class="p">))</span>

<span class="c1"># no meaningful year since this is already a climatology</span>
<span class="n">dsObs</span><span class="o">.</span><span class="n">coords</span><span class="p">[</span><span class="s1">&#39;year&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="p">(</span><span class="s1">&#39;Time&#39;</span><span class="p">,</span> <span class="n">np</span><span class="o">.</span><span class="n">ones</span><span class="p">(</span><span class="n">dsObs</span><span class="o">.</span><span class="n">dims</span><span class="p">[</span><span class="s1">&#39;Time&#39;</span><span class="p">],</span> <span class="nb">int</span><span class="p">))</span>
<span class="n">dsObs</span><span class="o">.</span><span class="n">coords</span><span class="p">[</span><span class="s1">&#39;year&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="p">(</span><span class="s1">&#39;Time&#39;</span><span class="p">,</span> <span class="n">np</span><span class="o">.</span><span class="n">ones</span><span class="p">(</span><span class="n">dsObs</span><span class="o">.</span><span class="n">sizes</span><span class="p">[</span><span class="s1">&#39;Time&#39;</span><span class="p">],</span> <span class="nb">int</span><span class="p">))</span>

<span class="n">dsObs</span> <span class="o">=</span> <span class="n">dsObs</span><span class="p">[[</span><span class="s1">&#39;mld&#39;</span><span class="p">,</span> <span class="s1">&#39;month&#39;</span><span class="p">]]</span>
<span class="k">return</span> <span class="n">dsObs</span>
Expand Down
Loading

0 comments on commit 39f54f2

Please sign in to comment.