Skip to content

Python Data Access Framework to request AWIPS data from an EDEX server.

Notifications You must be signed in to change notification settings

tijcolem/python-awips

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Data Access Framework for AWIPS II

PyPI Package PyPI Downloads Latest Doc Build Status

Install

  • pip install python-awips

Requirements

  • Python 2.7 or later
  • pip install numpy shapely

From Github

Install for AWIPS II Python

AWIPS II >=15.1.3 (March 2016) has python-awips installed in /awips2/python, as well as a full meteorological data stack (metpy, matplotlib, numpy, etc).

For AWIPS II systems 15.1.2 and lower:

Grid Inventory

A short script to request available grid names from an EDEX server:

#!python
from awips.dataaccess import DataAccessLayer

# Set host
DataAccessLayer.changeEDEXHost("edex-cloud.unidata.ucar.edu")

# Init data request
request = DataAccessLayer.newDataRequest()

# Set datatype
request.setDatatype("grid")

#
# getAvailableLocationNames method will return a list of all available models
#
# LocationNames mean different things to different plugins beware...radar is icao,
# satellite is sector, etc
#
available_grids = DataAccessLayer.getAvailableLocationNames(request)
for grid in available_grids:
    print grid

Documentation

About

Python Data Access Framework to request AWIPS data from an EDEX server.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.5%
  • C 3.5%