This commit is contained in:
srcarter3 2022-11-15 17:37:37 +00:00
parent aa6bf21b78
commit 72c6091680
2 changed files with 18 additions and 18 deletions

View file

@ -94,7 +94,7 @@ subsequent imports are for data manipulation and visualization.
from metpy.plots import simple_layout, StationPlot, StationPlotLayout, sky_cover from metpy.plots import simple_layout, StationPlot, StationPlotLayout, sky_cover
import warnings import warnings
`Top <https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html.html>`__ `Top <https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html>`__
-------------- --------------
@ -117,7 +117,7 @@ Returns the cloud coverage values as integer codes (0 through 8).
else: else:
return 0 return 0
Top `Top <https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html>`__
-------------- --------------
@ -142,7 +142,7 @@ gridlines are added for context.
gl.yformatter = LATITUDE_FORMATTER gl.yformatter = LATITUDE_FORMATTER
return fig, ax return fig, ax
`Top <https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html.html>`__ `Top <https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html>`__
-------------- --------------
@ -206,7 +206,7 @@ plotting function later:
return data return data
`Top <https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html.html>`__ `Top <https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html>`__
-------------- --------------
@ -238,7 +238,7 @@ temperature - Precipitation - Cloud coverage (for METARS)
transform=ccrs.PlateCarree(), fontsize=10) transform=ccrs.PlateCarree(), fontsize=10)
custom_layout.plot(stationplot, data) custom_layout.plot(stationplot, data)
`Top <https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html.html>`__ `Top <https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html>`__
-------------- --------------
@ -460,7 +460,7 @@ However, in order to access synoptic observations we will use the
DefaultDataRequest(datatype=sfcobs, identifiers={}, parameters=['timeObs', 'longitude', 'latitude', 'temperature', 'dewpoint', 'windDir', 'windSpeed', 'seaLevelPress', 'presWeather', 'skyLayerBase', 'stationId'], levels=[], locationNames=[], envelope=<dynamicserialize.dstypes.com.vividsolutions.jts.geom.Envelope.Envelope object at 0x105048bb0>) DefaultDataRequest(datatype=sfcobs, identifiers={}, parameters=['timeObs', 'longitude', 'latitude', 'temperature', 'dewpoint', 'windDir', 'windSpeed', 'seaLevelPress', 'presWeather', 'skyLayerBase', 'stationId'], levels=[], locationNames=[], envelope=<dynamicserialize.dstypes.com.vividsolutions.jts.geom.Envelope.Envelope object at 0x105048bb0>)
`Top <https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html.html>`__ `Top <https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html>`__
-------------- --------------
@ -518,7 +518,7 @@ Extract Plotting Data
63 Synoptic stations 63 Synoptic stations
`Top <https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html.html>`__ `Top <https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html>`__
-------------- --------------
@ -623,7 +623,7 @@ that already contains our map and METARs data.
`Top <https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html.html>`__ `Top <https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html>`__
-------------- --------------
@ -682,6 +682,6 @@ Additional Documentation
- `metpy.plots.StationPlotLayout() <https://unidata.github.io/MetPy/latest/api/generated/metpy.plots.StationPlotLayout.html>`__ - `metpy.plots.StationPlotLayout() <https://unidata.github.io/MetPy/latest/api/generated/metpy.plots.StationPlotLayout.html>`__
- `metpy.units <https://unidata.github.io/MetPy/latest/api/generated/metpy.units.html>`__ - `metpy.units <https://unidata.github.io/MetPy/latest/api/generated/metpy.units.html>`__
`Top <https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html.html>`__ `Top <https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html>`__
-------------- --------------

View file

@ -199,7 +199,7 @@ subsequent imports are for data manipulation and visualization.</p>
<span class="kn">import</span> <span class="nn">warnings</span> <span class="kn">import</span> <span class="nn">warnings</span>
</pre></div> </pre></div>
</div> </div>
<p><a class="reference external" href="https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html.html">Top</a></p> <p><a class="reference external" href="https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html">Top</a></p>
</section> </section>
<hr class="docutils" /> <hr class="docutils" />
<section id="function-get-cloud-cover"> <section id="function-get-cloud-cover">
@ -218,7 +218,7 @@ subsequent imports are for data manipulation and visualization.</p>
<span class="k">return</span> <span class="mi">0</span> <span class="k">return</span> <span class="mi">0</span>
</pre></div> </pre></div>
</div> </div>
<p>Top</p> <p><a class="reference external" href="https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html">Top</a></p>
</section> </section>
<hr class="docutils" /> <hr class="docutils" />
<section id="function-make-map"> <section id="function-make-map">
@ -239,7 +239,7 @@ gridlines are added for context.</p>
<span class="k">return</span> <span class="n">fig</span><span class="p">,</span> <span class="n">ax</span> <span class="k">return</span> <span class="n">fig</span><span class="p">,</span> <span class="n">ax</span>
</pre></div> </pre></div>
</div> </div>
<p><a class="reference external" href="https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html.html">Top</a></p> <p><a class="reference external" href="https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html">Top</a></p>
</section> </section>
<hr class="docutils" /> <hr class="docutils" />
<section id="function-extract-plotting-data"> <section id="function-extract-plotting-data">
@ -300,7 +300,7 @@ units</p></li>
<span class="k">return</span> <span class="n">data</span> <span class="k">return</span> <span class="n">data</span>
</pre></div> </pre></div>
</div> </div>
<p><a class="reference external" href="https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html.html">Top</a></p> <p><a class="reference external" href="https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html">Top</a></p>
</section> </section>
<hr class="docutils" /> <hr class="docutils" />
<section id="function-plot-data"> <section id="function-plot-data">
@ -327,7 +327,7 @@ temperature - Precipitation - Cloud coverage (for METARS)</p>
<span class="n">custom_layout</span><span class="o">.</span><span class="n">plot</span><span class="p">(</span><span class="n">stationplot</span><span class="p">,</span> <span class="n">data</span><span class="p">)</span> <span class="n">custom_layout</span><span class="o">.</span><span class="n">plot</span><span class="p">(</span><span class="n">stationplot</span><span class="p">,</span> <span class="n">data</span><span class="p">)</span>
</pre></div> </pre></div>
</div> </div>
<p><a class="reference external" href="https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html.html">Top</a></p> <p><a class="reference external" href="https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html">Top</a></p>
</section> </section>
<hr class="docutils" /> <hr class="docutils" />
<section id="initial-setup"> <section id="initial-setup">
@ -508,7 +508,7 @@ and using <strong>timerange</strong> as a time filter.</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">DefaultDataRequest</span><span class="p">(</span><span class="n">datatype</span><span class="o">=</span><span class="n">sfcobs</span><span class="p">,</span> <span class="n">identifiers</span><span class="o">=</span><span class="p">{},</span> <span class="n">parameters</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;timeObs&#39;</span><span class="p">,</span> <span class="s1">&#39;longitude&#39;</span><span class="p">,</span> <span class="s1">&#39;latitude&#39;</span><span class="p">,</span> <span class="s1">&#39;temperature&#39;</span><span class="p">,</span> <span class="s1">&#39;dewpoint&#39;</span><span class="p">,</span> <span class="s1">&#39;windDir&#39;</span><span class="p">,</span> <span class="s1">&#39;windSpeed&#39;</span><span class="p">,</span> <span class="s1">&#39;seaLevelPress&#39;</span><span class="p">,</span> <span class="s1">&#39;presWeather&#39;</span><span class="p">,</span> <span class="s1">&#39;skyLayerBase&#39;</span><span class="p">,</span> <span class="s1">&#39;stationId&#39;</span><span class="p">],</span> <span class="n">levels</span><span class="o">=</span><span class="p">[],</span> <span class="n">locationNames</span><span class="o">=</span><span class="p">[],</span> <span class="n">envelope</span><span class="o">=&lt;</span><span class="n">dynamicserialize</span><span class="o">.</span><span class="n">dstypes</span><span class="o">.</span><span class="n">com</span><span class="o">.</span><span class="n">vividsolutions</span><span class="o">.</span><span class="n">jts</span><span class="o">.</span><span class="n">geom</span><span class="o">.</span><span class="n">Envelope</span><span class="o">.</span><span class="n">Envelope</span> <span class="nb">object</span> <span class="n">at</span> <span class="mh">0x105048bb0</span><span class="o">&gt;</span><span class="p">)</span> <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">DefaultDataRequest</span><span class="p">(</span><span class="n">datatype</span><span class="o">=</span><span class="n">sfcobs</span><span class="p">,</span> <span class="n">identifiers</span><span class="o">=</span><span class="p">{},</span> <span class="n">parameters</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;timeObs&#39;</span><span class="p">,</span> <span class="s1">&#39;longitude&#39;</span><span class="p">,</span> <span class="s1">&#39;latitude&#39;</span><span class="p">,</span> <span class="s1">&#39;temperature&#39;</span><span class="p">,</span> <span class="s1">&#39;dewpoint&#39;</span><span class="p">,</span> <span class="s1">&#39;windDir&#39;</span><span class="p">,</span> <span class="s1">&#39;windSpeed&#39;</span><span class="p">,</span> <span class="s1">&#39;seaLevelPress&#39;</span><span class="p">,</span> <span class="s1">&#39;presWeather&#39;</span><span class="p">,</span> <span class="s1">&#39;skyLayerBase&#39;</span><span class="p">,</span> <span class="s1">&#39;stationId&#39;</span><span class="p">],</span> <span class="n">levels</span><span class="o">=</span><span class="p">[],</span> <span class="n">locationNames</span><span class="o">=</span><span class="p">[],</span> <span class="n">envelope</span><span class="o">=&lt;</span><span class="n">dynamicserialize</span><span class="o">.</span><span class="n">dstypes</span><span class="o">.</span><span class="n">com</span><span class="o">.</span><span class="n">vividsolutions</span><span class="o">.</span><span class="n">jts</span><span class="o">.</span><span class="n">geom</span><span class="o">.</span><span class="n">Envelope</span><span class="o">.</span><span class="n">Envelope</span> <span class="nb">object</span> <span class="n">at</span> <span class="mh">0x105048bb0</span><span class="o">&gt;</span><span class="p">)</span>
</pre></div> </pre></div>
</div> </div>
<p><a class="reference external" href="https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html.html">Top</a></p> <p><a class="reference external" href="https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html">Top</a></p>
</section> </section>
</section> </section>
<hr class="docutils" /> <hr class="docutils" />
@ -555,7 +555,7 @@ observation data.</p>
<span class="mi">63</span> <span class="n">Synoptic</span> <span class="n">stations</span> <span class="mi">63</span> <span class="n">Synoptic</span> <span class="n">stations</span>
</pre></div> </pre></div>
</div> </div>
<p><a class="reference external" href="https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html.html">Top</a></p> <p><a class="reference external" href="https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html">Top</a></p>
</section> </section>
</section> </section>
<hr class="docutils" /> <hr class="docutils" />
@ -625,7 +625,7 @@ that already contains our map and METARs data.</p>
</pre></div> </pre></div>
</div> </div>
<img alt="../../_images/Regional_Surface_Obs_Plot_48_0.png" src="../../_images/Regional_Surface_Obs_Plot_48_0.png" /> <img alt="../../_images/Regional_Surface_Obs_Plot_48_0.png" src="../../_images/Regional_Surface_Obs_Plot_48_0.png" />
<p><a class="reference external" href="https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html.html">Top</a></p> <p><a class="reference external" href="https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html">Top</a></p>
</section> </section>
</section> </section>
<hr class="docutils" /> <hr class="docutils" />
@ -684,7 +684,7 @@ list</a></p></li>
<li><p><a class="reference external" href="https://unidata.github.io/MetPy/latest/api/generated/metpy.plots.StationPlotLayout.html">metpy.plots.StationPlotLayout()</a></p></li> <li><p><a class="reference external" href="https://unidata.github.io/MetPy/latest/api/generated/metpy.plots.StationPlotLayout.html">metpy.plots.StationPlotLayout()</a></p></li>
<li><p><a class="reference external" href="https://unidata.github.io/MetPy/latest/api/generated/metpy.units.html">metpy.units</a></p></li> <li><p><a class="reference external" href="https://unidata.github.io/MetPy/latest/api/generated/metpy.units.html">metpy.units</a></p></li>
</ul> </ul>
<p><a class="reference external" href="https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html.html">Top</a></p> <p><a class="reference external" href="https://unidata.github.io/python-awips/examples/generated/Regional_Surface_Obs_Plot.html">Top</a></p>
<hr class="docutils" /> <hr class="docutils" />
</section> </section>
</section> </section>