GFESuite Python Tutorial and Programming Guidelines

Contents

Introduction
Python Concepts
Numpy (Numerical Python in AWIPS1)
Working with Vector Data
Working with Weather Data
Programming Guidelines

Introduction

GFESuite extensions such as Smart Tools and Smart Initialization are written in an interpreted scripting language called Python. It is a very powerful, object-oriented language and all the features of Python are available to you. We also use a Python library, called Numpy (Numerical Python in AWIPS1), which allows for efficient operations on grids of data. The GFESuite software provides some additional methods to help you operate on Numerical data. This tutorial will introduce you to the features of Python and Numpy that are relevant to the GFESuite. If you are interested in Python's full capabilities, visit their web site. Specifically, documentation on Numpy can be found in the Numpy Tutorial page.