The trajectories databrowser has a user interface component available at
smoke.airfire.org/trajectories
that communicates with a web service.
The web service can be accessed by other software with the Application Programming Interface (API) explained here.
KMZ files
Requests for KMZ files are made with URLs resembling the following:
http://smoke.airfire.org/cgi-bin/trajectories.cgi?metStart=2013072812&plotType=kmz&fireName=Mile+Marker+28&lats=45.996&lons=-120.649&heights=500,1000,2000&hours=0,6,12,18,24
The URL above is broken into the following components. Parameters
may be specified in any order, separated by '&'.
- http://smoke.airfire.org/cgi-bin/trajectories.cgi?
- URL of the web service.
- plotType
plotType=kmz
Required parameter to specify KMZ output.
- fireName
fireName=Mile+Marker+28
URL escaped string that will be used to name the KMZ file and will appear in the top level folder.
- metStart
metStart=2013072812
Specific NAM 84 output file to use for meteorology (YYYYMMDDHH)
- lats
lats=45.996
One or more comma separated latitudes (deg N) for trajectory starting points.
You must specify the same number of latitudes as longitudes.
- lons
lons=-120.649
One or more comma separated longitudes (deg E) for trajectory starting points
You must specify the same number of longitudes as latitudes
- heights
heights=500,1000,2000
One or more comma separated heights (m AGL) for trajectory starting points.
These will be recycled for each lat-lon location.
- hours
hours=0,6,12,18,24
One or more comma separated hours for trajectory starting points.
These specify the number of hours into the met file at which to begin the trajectory.
These will be recycled for each lat-lon location