Template:WPTC track map

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:WPTC track map/doc.

This template is an updated version of {{Hurricane auto track map}} for newer tropical cyclone track maps. These track maps will be put automatically in the public domain as {{PD-self}}. When generating a track using the new, updated, colors of en:Wikipedia:WikiProject Weather/Color RfC, as should be the case for all new track maps, please pass colors=new.

Usage[edit]

For most storms, use this formulation of the template:

{{WPTC track map | author= | name= | season= | start= | end= | source= | catname= | code=}}

For current storms, where the pre-filled source information will not be adequate (see Parameters below), use this formulation to provide a custom source:

{{WPTC track map | author= | name= | season= | start= | end= | othersource= | catname= | code=}}

Parameters[edit]

Parameter Description Acceptable value
name Name of the storm for which this track map was made Any string
article Article for the storm for which this track map was made; if the same as name, then this parameter is not needed Any string
season Season article to which this storm belongs Any string
season2 Second season article to which this storm belongs (after crossing into another basin) Any string
author Author of the track map Any string
source For common data sources, this field provides pre-filled source information. See the template's source code to see the existing pre-filled templates. Any of NHC, CPHC, JTWC, JMA, BOM, IMD, NHCCPHC, CPHCJTWC, JMAJTWC, IMDJTWC, BOMJTWC, IBTrACS, SPEArTC, SPEArTCJTWC
othersource If a custom data source is being used (e.g. running best tracks), fill out the correct source description here Any string
otherversions If there are other versions of the track map, fill out their links (or gallery) here Any string
catname The name of the storm's Commons category. By default, the template tries to put the track map in [[:Category:{{{name}}}]], and also sort the track map in [[:Category:{{{season}}}]] and [[:Category:Tropical cyclone tracks]] with {{{name}}}. Entering a value here will override this assumption. Any string
code This optional parameter can store the invocation of the track map generator on the command line. Any string
colors This optional parameter controls whether to display the new colors approved in en:Wikipedia:WikiProject Weather/Color RfC. If set to new the new colors will be used, otherwise the old colors will be used. new
scale This optional parameter controls which scale to show the map's color key for. Currently, besides the default SSHWS, only the JMA scale is available. JMA

Example[edit]

This code produces the result immediately below:

<nowiki>
{{WPTC track map 
| author = Titoxd
| name = Hurricane Adrian
| season = 2011 Pacific hurricane season
| start = 2011-06-03
| end = 2011-06-09
| source = NHC
| catname = Hurricane Adrian (2011)
| code = ./track --format atcf --input ../tracks-data/2011/btk/bep012011.dat --output ~/public-html/wptc-maps/Adrian_2011_track.png --extra 1
| colors = new
}}
</nowiki>

Summary

Description
English: Track map of Hurricane Adrian of the 2011 Pacific hurricane season. The points show the location of the storm at 6-hour intervals. The colour represents the storm's maximum sustained wind speeds as classified in the (see below), and the shape of the data points represent the nature of the storm, according to the legend below.
 
Tropical depression (≤38 mph, ≤62 km/h)
 
Tropical storm (39–73 mph, 63–118 km/h)
 
Category 1 (74–95 mph, 119–153 km/h)
 
Category 2 (96–110 mph, 154–177 km/h)
 
Category 3 (111–129 mph, 178–208 km/h)
 
Category 4 (130–156 mph, 209–251 km/h)
 
Category 5 (≥157 mph, ≥252 km/h)
 
Unknown

Storm type

▲ Extratropical cyclone / Remnant low / Tropical disturbance / Monsoon depression
Date 2011-06-03–2011-06-09
Source Created by Titoxd using Wikipedia:WikiProject Tropical cyclones/Tracks. The background image is from NASA. Tracking data is from the National Hurricane Center[1].
Author Titoxd
Source code
InfoField
Track map data table, if present below, is in HURDAT2 or ATCF format. See format details in [2] and [3], respectively.
Track map generator input code
./track --format atcf --input ../tracks-data/2011/btk/bep012011.dat --output ~/public-html/wptc-maps/Adrian_2011_track.png --extra 1


Licensing[edit]

Public domain This work has been released into the public domain by its author, Titoxd. This applies worldwide.
In some countries this may not be legally possible; if so:
Titoxd grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.