mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14:57:56 -05:00
deploy: b75f6d23a9
This commit is contained in:
parent
b23f8451f1
commit
53af2a2c81
5 changed files with 7 additions and 3 deletions
|
@ -7,11 +7,13 @@ any available AWIPS model with isobaric levels.
|
||||||
|
|
||||||
- A Shapely Point geometry is used to select longitude and latitude:
|
- A Shapely Point geometry is used to select longitude and latitude:
|
||||||
from shapely.geometry import Point point = Point(-104.67,39.87)
|
from shapely.geometry import Point point = Point(-104.67,39.87)
|
||||||
|
|
||||||
- Parameters ``['T','DpT','uW','vW']`` are requested for all isobaric
|
- Parameters ``['T','DpT','uW','vW']`` are requested for all isobaric
|
||||||
levels available for the selected model.
|
levels available for the selected model.
|
||||||
|
|
||||||
- There is a single-record query performed for ``level = "0.0FHAG"`` to
|
- There is a single-record query performed for ``level = "0.0FHAG"`` to
|
||||||
determine the surface pressure level.
|
determine the surface pressure level.
|
||||||
|
|
||||||
- Pay attention to units when switching models. This notebook was
|
- Pay attention to units when switching models. This notebook was
|
||||||
written for the NAM 40km AWIPS model where temperature and dewpoint
|
written for the NAM 40km AWIPS model where temperature and dewpoint
|
||||||
are returned as Kelvin and wind components as m/s.
|
are returned as Kelvin and wind components as m/s.
|
||||||
|
|
|
@ -486,11 +486,13 @@ to download and render for large (CONUS) maps.
|
||||||
|
|
||||||
- This notebook requires: **python-awips, numpy, matplotplib, cartopy,
|
- This notebook requires: **python-awips, numpy, matplotplib, cartopy,
|
||||||
shapely**
|
shapely**
|
||||||
|
|
||||||
- Use datatype **maps** and **addIdentifier(‘table’, <postgres maps
|
- Use datatype **maps** and **addIdentifier(‘table’, <postgres maps
|
||||||
schema>)** to define the map table:
|
schema>)** to define the map table:
|
||||||
DataAccessLayer.changeEDEXHost(“edex-cloud.unidata.ucar.edu”) request
|
DataAccessLayer.changeEDEXHost(“edex-cloud.unidata.ucar.edu”) request
|
||||||
= DataAccessLayer.newDataRequest(‘maps’)
|
= DataAccessLayer.newDataRequest(‘maps’)
|
||||||
request.addIdentifier(‘table’, ‘mapdata.county’)
|
request.addIdentifier(‘table’, ‘mapdata.county’)
|
||||||
|
|
||||||
- Use **request.setLocationNames()** and **request.addIdentifier()** to
|
- Use **request.setLocationNames()** and **request.addIdentifier()** to
|
||||||
spatially filter a map resource. In the example below, WFO ID **BOU**
|
spatially filter a map resource. In the example below, WFO ID **BOU**
|
||||||
(Boulder, Colorado) is used to query counties within the BOU county
|
(Boulder, Colorado) is used to query counties within the BOU county
|
||||||
|
|
|
@ -213,7 +213,7 @@ plotting function later:
|
||||||
Function: plot_data()
|
Function: plot_data()
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
This function makse use of Metpy.StationPlotLayout and Metpy.StationPlot
|
This function makes use of Metpy.StationPlotLayout and Metpy.StationPlot
|
||||||
to add all surface observation data to our plot. The logic is very
|
to add all surface observation data to our plot. The logic is very
|
||||||
similar for both METAR and Synoptic data, so a ``datatype`` argument is
|
similar for both METAR and Synoptic data, so a ``datatype`` argument is
|
||||||
used to distinguish between which data is being drawn, and then draws
|
used to distinguish between which data is being drawn, and then draws
|
||||||
|
|
|
@ -305,7 +305,7 @@ units</p></li>
|
||||||
<hr class="docutils" />
|
<hr class="docutils" />
|
||||||
<section id="function-plot-data">
|
<section id="function-plot-data">
|
||||||
<h3>Function: plot_data()<a class="headerlink" href="#function-plot-data" title="Permalink to this heading"></a></h3>
|
<h3>Function: plot_data()<a class="headerlink" href="#function-plot-data" title="Permalink to this heading"></a></h3>
|
||||||
<p>This function makse use of Metpy.StationPlotLayout and Metpy.StationPlot
|
<p>This function makes use of Metpy.StationPlotLayout and Metpy.StationPlot
|
||||||
to add all surface observation data to our plot. The logic is very
|
to add all surface observation data to our plot. The logic is very
|
||||||
similar for both METAR and Synoptic data, so a <code class="docutils literal notranslate"><span class="pre">datatype</span></code> argument is
|
similar for both METAR and Synoptic data, so a <code class="docutils literal notranslate"><span class="pre">datatype</span></code> argument is
|
||||||
used to distinguish between which data is being drawn, and then draws
|
used to distinguish between which data is being drawn, and then draws
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue