Print

The individual forecast maps are widly configurable to match the desired look. Below you find a detailed description of all possible parameters and their use.

All parameters have standard values in case they are not specified. The order of the parameters has no influence.

The parameters are described with the wind_stream maps but they are valid for all forecast maps.

Parameters "lat" and "lon"

Parameters "latrange" and "lonrange"

Parameter "t"

Parameter "duration"

Parameter "label"

Parameters "nx" and "ny"

Parameter "lang"

Parameter "background_color"

Parameter "map_color"

Parameter "label_color"

Parameter "scale"

Parameter "projection"

Parameter "unit"

Parameter "display_type"

Parameters "lat" and "lon"

Standard values: "lat" = 0, "lon" = 0

Accepted values: "lat" -90 to 90, "lon" -180 to 360

The parameter "lat" (Latitude) and "lon" (Longitude) specify the position of the weather forecast in decimal degrees.

For example Abu Dhabi, UAE: lat=24.48411&lon=54.36870

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=24.48411&lon=54.36870&label=Abu Dhabi, UAE&lang=en

Parameters "latrange" and "lonrange"

Standard values: "latrange" = 10, "lonrange" = 14

Accepted values: "latrange" 4 to 180, "lonrange" 4 to 360

The parameters "latrange" (Latitude) and "lonrange" (Longitude) specify the range around the center of the forecast map in decimal degrees.

For example latrange=20, lonrange=28 and to compare latrange=180, lonrange=360:

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=0&lon=0&latrange=20&lonrange=28&lang=en

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=0&lon=0&latrange=180&lonrange=360&lang=en

Parameter "t"

Standard value: "t" = 0h

Accepted values: 0h to 234h in steps of 3h

The parameter "t" specifiy the moment of the forecast in hours from (roughly) the actual time. The forecast is actualized every 6 hours.

For example Rio de Janeiro, Brasilien:

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=-22.9103&lon=-43.2074&t=0h&label=Rio de Janeiro&lang=en

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=-22.9103&lon=-43.2074&t=234h&label=Rio de Janeiro&lang=en

Parameter "duration"

Standard value: "duration" = 1

Accepted values: 1 to 81

The parameter "duration" is only used with the variable "precipitation". It specify the duration of the summation of the precipitation in steps of 3 hours. "1" means the next 3 hours of precipitation will be added from the start of the forecast (see parameter "t" above), "8" means the next 24 hours of precipitation will be added from the start of the forecast.

Example Rio de Janeiro, Brasil:

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=precipitation&lat=-22.9103&lon=-43.2074&t=0h&label=Rio de Janeiro&display_type=shaded&duration=1&lang=en

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=precipitation&lat=-22.9103&lon=-43.2074&t=0h&label=Rio de Janeiro&display_type=shaded&duration=8&lang=en

Parameter "label"

Standard value: "label" = ""

Accepted values: All characters but not all special characters

This parameter specifies the name of the location printed on the forecast map.
There are limitations: Umlauts (Ä,Ö,Ü,ä,ö,ü) and some special characters such as "ß" can not be displayed. Also the beginning and end of the line will be cut if the line exceeds the width of the meteogram. Just try it.

For example Jakarta, Indonesien:

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=-6.17736&lon=106.82791&label=Jakarta, Indonesien&lang=en

Parameters "nx" and "ny"

Standard values: "nx" = 770, "ny" = 595

Accepted values: "nx" 256 to 1920, "ny" 256 to 1920

This parameter specifies the size of the forecast map. "nx" specifies the width and "ny" the height.

For example Santiago, Chile:

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=-33.44374&lon=-70.64819&nx=330&ny=255&label=Santiago, Chile&lang=en

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=-33.44374&lon=-70.64819&nx=880&ny=680&label=Santiago, Chile&lang=en

Parameter "lang"

Standard value: "lang" = de

Accepted values: de, en, fr, es

This parameter specifies the language of the labeling on the meteogram:

For example Athen, Griechenland:

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=37.97808&lon=23.74417&nx=770&ny=595&label=Athen, Griechenland&lang=de

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=37.97808&lon=23.74417&nx=770&ny=595&label=Athen, Griechenland&lang=en

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=37.97808&lon=23.74417&nx=770&ny=595&label=Athen, Griechenland&lang=fr

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=37.97808&lon=23.74417&nx=770&ny=595&label=Athen, Griechenland&lang=es

Parameter "background_color"

Standard value: "background_color" = black

Accepted values:

Color RGB color code value
  0, 0, 0 black
  255,255,255 white

The parameter "background_color" specifes the background color of the forecast map.

For example Chennai, Indien:

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=13.0700&lon=80.2754&background_color=black&label=Chennai&lang=en

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=13.0700&lon=80.2754&background_color=white&foreground_color=black&label=Chennai&lang=en

Parameter "map_color"

Standard value: "map_color" = white

Accepted values:

color RGB color code value
  0, 0, 0 black
  255,255,255 white
  160, 0, 200 purple
  130, 0, 220 dark purple
  30, 60, 255 dark blue
  0, 160, 255 medium blue
  0, 200, 200 light blue
  0, 210, 140 aqua
  0, 220, 0 green
  160, 230, 50 yellow/green
  230, 220, 50 yellow
  230, 175, 45 dark yellow
  240, 130, 40 orange
  250, 60, 60 red
  240, 0, 130 magenta
  170, 170, 170 gray

The parameter "map_color" specifies the color for the contours of the landscapes.

For example cape north:

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=71.1699&lon=25.7890&map_color=medium_blue&label=Cape North&lang=en

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=71.1699&lon=25.7890&map_color=yellow&label=Cape North&lang=en

Parameter "label_color"

Standard value: "label_color" = red

Accepted values:

Farbe RGB Farbcode Wert
  0, 0, 0 black
  255,255,255 white
  160, 0, 200 purple
  130, 0, 220 dark purple
  30, 60, 255 dark blue
  0, 160, 255 medium blue
  0, 200, 200 light blue
  0, 210, 140 aqua
  0, 220, 0 green
  160, 230, 50 yellow/green
  230, 220, 50 yellow
  230, 175, 45 dark yellow
  240, 130, 40 orange
  250, 60, 60 red
  240, 0, 130 magenta
  170, 170, 170 gray

The parameter "label_color" specifies the color of the label.

For example Dakar:

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=14.7205&lon=-17.4538&label=Dakar&label_color=green&lang=en

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=14.7205&lon=-17.4538&label=Dakar&label_color=white&lang=en

Parameter "scale"

Standard value: "scale" = fixed

Accepted values: fixed, variable

"scale" specifies how the shown parameter is scaled:

For example Manaus in the Amazonas and Cape Horn, island Homos:

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=-3.1328&lon=-60.0046&nx=770&ny=595&label=Manaus&lang=en&scale=fixed

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=-55.9797&lon=-67.2762&nx=770&ny=595&label=Cape Horn&lang=en&scale=fixed

You see immediately with "scale=fixed" in the comparasion, that the wind speed in the rain forest is slower then at Cape Horn, but it´s difficult to recognize the differences in the wind speed arounf Manaus.

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=-3.1328&lon=-60.0046&nx=770&ny=595&label=Manaus&lang=en&scale=variable

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=-55.9797&lon=-67.2762&nx=770&ny=595&label=Cape Horn&lang=en&scale=variable

It´s easy to recognize the different wind speed within the particular forecast maps with "scale=variable", but it´s difficult to compare the values of the differend forecast maps.

Parameter "projection"

Standard value: "projection" = latlon

Accepted values: latlon, scaled, nps, sps, orthogr, mollweide, robinson

The parameter specifies which map projection will be used to display the weather map:

Now some examples to illustrate the different kinds of projections:

First the standard projection "latlon", the equirectangular projection. With this projection it´s possible to generate any details of the earth (see other examples above):

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=0&lon=0&latrange=180&lonrange=360&projection=latlon&nx=900&ny=700&lang=en

An example of "scaled". Also with this projection it´s possible to generate any details of the earth (see other examples above):

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=0&lon=0&latrange=180&lonrange=360&projection=scaled&nx=1000&ny=300&lang=en

An example of "nps", a view on the north pole:

"lat" has to be between 45 and 90. "latrange" must be (90-lat)*2. With "lon" the map can be rotated around the center. "lon" has to be between -180 and 180. "lonrange" must be 360. Only considering this rules will produce resonable maps.

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=45&lon=0&latrange=90&lonrange=360&projection=nps&nx=800&ny=720&lang=en

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=75&lon=-90&latrange=30&lonrange=360&projection=nps&nx=800&ny=720&lang=en

With "sps" it´s possible to look on the south pole:

"lat" has to be between -45 and -90. "latrange" must be (90-|lat|)*2. With "lon" the map can be rotated around the center. "lon" has to be between -180 and 180. "lonrange" must be 360. Only considering this rules will produce resonable maps.

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=-45&lon=0&latrange=90&lonrange=360&projection=sps&nx=800&ny=720&lang=en

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=-75&lon=90&latrange=30&lonrange=360&projection=sps&nx=800&ny=720&lang=en

With "orthogr" it´s possible to look on the equator:

"lat" must be 0. "latrange" must be 180. With "lon" the map can be rotated around the poles. "lon" has to be between -180 and 180. "lonrange" must be 180. Only considering this rules will produce resonable maps.

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=0&lon=25&latrange=180&lonrange=180&projection=orthogr&nx=800&ny=720&lang=en

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=0&lon=-90&latrange=180&lonrange=180&projection=orthogr&nx=800&ny=720&lang=en

With "mollweide" would map in mollweide projection will be generated:

"lat" must be 0. "latrange" must be 180. With "lon" the map can be rotated around the poles. "lon" has to be between -180 and 180. "lonrange" must be 180. Only considering this rules will produce resonable maps.

If "lon" is not equal 0, at the left and right side to much of the country contours will be drawn. The area of the weather data is absolutly correct.

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=0&lon=0&latrange=180&lonrange=360&projection=mollweide&nx=1000&ny=700&lang=en

With "robinson" a world map in robinson projection will be generated:

"lat" must be 0. "latrange" must be 180. With "lon" the map can be rotated around the poles. "lon" has to be between -180 and 180. "lonrange" must be 180. Only considering this rules will produce resonable maps.

If "lon" is not equal 0, at the left and right side to much of the country contours will be drawn. The area of the weather data is absolutly correct.

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=0&lon=0&latrange=180&lonrange=360&projection=robinson&nx=1000&ny=700&lang=en

Parameter "unit"

The parameter "unit" specifies the unit of the values.

For variables "wind_stream", "wind_barb" or "wind_vector"

Standard value: "unit" = BFT

Accepted values: BFT, m/s, km/h, kn or mph

Beaufort (BFT), meters per second (m/s), kilometers per hour (km/h), miles per hour (mph).

For "air_temperatur"

Standard value: "unit" = C

Accepted values: C, F, K

degree Celsius (C), degree Fahrenheit (F), degree Kelvin (K).

For "surface_pressure"

Standard value: "unit" = hPa

Accepted values: hPa, mbar, mmHg, inHg, Torr, psi

hektopascal (hPa), millibar (mbar), millimeter of mercury (mmhG), inch of mercury (inhG), Torr (Torr), pounds per square inch (psi)

For "precipitation"

Standard value: "unit" = mm/h

Accepted values: mm/h, in/h

millimeter per hour, equal to liter per squaremeter per hour (mm/h), inch per hour (in/h)

For "significant_wave_height"

Standard value: "unit" = m

Accepted values: m, ft

meter (m), feet (ft)

For example wind_stream for Seattle, USA:

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=47.60790&lon=-122.33202&unit=BFT&position=deg&nx=660&ny=510&label=Seattle, USA&lang=en

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=47.60790&lon=-122.33202&unit=m/s&nx=660&ny=510&label=Seattle, USA&lang=en

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=47.60790&lon=-122.33202&unit=km/h&nx=660&ny=510&label=Seattle, USA&lang=en

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=47.60790&lon=-122.33202&unit=kn&nx=660&ny=510&label=Seattle, USA&lang=en

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=wind_stream&lat=47.60790&lon=-122.33202&unit=mph&nx=660&ny=510&label=Seattle, USA&lang=en

Parameter "display_type"

For variables "air_temperatur",

Standard value: "display_type" = contour

Accepted values: contour or shaded

The parameter "display_type" specifies if the desired parameter is visualised in contours or shaded.

For example Seattle, USA:

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=air_temperature&lat=47.60790&lon=-122.33202&unit=C&nx=660&ny=510&label=Seattle, USA&lang=en&display_type=contour

https://weather.openportguide.de/cgi-bin/weather.pl/weather.png?var=air_temperature&lat=47.60790&lon=-122.33202&unit=C&nx=660&ny=510&label=Seattle, USA&lang=en&display_type=shaded