2016-03-16 16:32:17 -05:00
==================================
2016-03-15 20:27:25 -05:00
Python AWIPS Data Access Framework
2016-03-16 16:32:17 -05:00
==================================
2016-03-15 20:27:25 -05:00
2016-10-21 17:10:27 -05:00
`AWIPS <http://unidata.github.io/awips2> `_ is a weather display and analysis package developed by the National Weather Service for operational forecasting. UCAR's `Unidata Program Center <http://www.unidata.ucar.edu/software/awips2/> `_ supports a non-operational open-source release of the AWIPS software (`EDEX <http://unidata.github.io/awips2/#edex> `_ , `CAVE <http://unidata.github.io/awips2/#cave> `_ , and `python-awips <https://github.com/Unidata/python-awips> `_ ).
2016-03-15 20:27:25 -05:00
2018-02-11 15:16:58 -07:00
The python-awips package provides a data access framework for requesting grid and geometry datasets from an `EDEX <http://unidata.github.io/awips2/#edex> `_ server.
2016-10-21 17:10:27 -05:00
.. _Jupyter Notebook: http://nbviewer.jupyter.org/github/Unidata/python-awips/tree/master/examples/notebooks
Install
-------
- pip install python-awips
Requirements
~~~~~~~~~~~~
- Python 2.7+
- Shapely 1.4+
- MetPy and enum34 to run the `Jupyter Notebook`_ examples
2018-02-11 15:16:58 -07:00
Quick Example
~~~~~~~~~~~~~
2016-10-21 17:10:27 -05:00
::
from awips.dataaccess import DataAccessLayer
DataAccessLayer.changeEDEXHost("edex-cloud.unidata.ucar.edu")
dataTypes = DataAccessLayer.getSupportedDatatypes()
2018-06-18 09:49:25 -06:00
list(dataTypes)
['acars',
'binlightning',
'bufrmosavn',
'bufrmoseta',
'bufrmosgfs',
'bufrmoshpc',
'bufrmoslamp',
'bufrmosmrf',
'bufrua',
'climate',
'common_obs_spatial',
'gfe',
'grid',
'hydro',
'maps',
'modelsounding',
'obs',
'practicewarning',
'radar',
'radar_spatial',
'satellite',
'sfcobs',
'topo',
'warning']
request = DataAccessLayer.newDataRequest()
request.setDatatype("satellite")
availableSectors = DataAccessLayer.getAvailableLocationNames(request)
availableSectors.sort()
for sector in availableSectors:
print sector
request.setLocationNames(sector)
availableProducts = DataAccessLayer.getAvailableParameters(request)
availableProducts.sort()
for product in availableProducts:
print " - " + product
ECONUS
- ACTP
- ADP
- AOD
- CAPE
- CH-01-0.47um
- CH-02-0.64um
- CH-03-0.87um
- CH-04-1.38um
...
EFD
- ACTP
- ADP
- AOD
- CAPE
- CH-01-0.47um
- CH-02-0.64um
- CH-03-0.87um
- CH-04-1.38um
...
2016-10-21 17:10:27 -05:00
See the `API Documentation <api/DataAccessLayer.html> `_ for more information.
2016-03-15 20:27:25 -05:00
-------------
Documentation
-------------
.. toctree ::
2016-05-24 15:29:46 -05:00
:maxdepth: 2
2016-03-15 20:27:25 -05:00
install
2016-10-21 17:10:27 -05:00
api/index
2016-03-15 20:27:25 -05:00
examples/index
dev
2016-09-29 16:19:23 -05:00
gridparms
2016-10-21 17:10:27 -05:00
about