PyGNOME
Contents:
Introduction
Installing
PyGNOME Structure
Scripting PyGNOME
Overview
The Model
Maps
Spills
Environment Objects
Movers
Weatherers
Outputters
Examples
Extending / Customizing PyGNOME
GNOME File Formats
API Reference
Units used in GNOME / PyGNOME
GNOME Tech Notes
PyGNOME
Scripting PyGNOME
View page source
Previous
Next
Scripting PyGNOME
¶
Overview
The scripting module
Simplest Example
Initialize the Model
Create and Add a Map
Create and Add Movers
Create and Add a Spill
Create and Add an Outputter
Run the Model
View the results
The Model
Initialization
Configuring the Model
Running the Model
Examining the Results
Save and Reload a Model Setup
Maps
Manual Creation
gnome.map.GnomeMap
Load Shoreline from File
gnome.map.MapFromBNA
Create Map from Currents Grid
Add Map to Model
Spills
The Spill Class
Non-weathering Example
Polygon Releases
Using Helper Functions
Environment Objects
Wind Objects
Gridded Environment Objects
Ice Aware Objects
Other Environment Objects
Advanced Initialization
Movers
Point Wind Mover
Gridded movers
Random movers
Rise velocity movers
Ice modified movers
CATS Movers
Weatherers
Simple Example Script
Oil Definitions
“Standard” Weathering
Evaporation
Dispersion
Emulsification
Dissolution
Biodegradation
Viewing Bulk Weathering Data
Outputters
The Outputter API
Renderer
NetCDF Output
KMZ Output
Shapefile Output
Oil Budget Output
Weathering Data Output
Examples
Sample Scripts Included with PyGNOME
CATS currents