Up

_scienceWeatherMetarNew

Create a new METAR object.

By default, the NOAA server is set and the icao default code is set to LFPG (Paris-Roissy-Charles de Gaulle airport).
You can change the icao code as you want, but i don't recommend to change the default server except if you know what you do !

Prototype :

fun [Chn] ObjScienceWeatherMetar

Return : ObjScienceWeatherMetar the new object or nil if error

See also :

_scienceWeatherDecodeMetarLight

_scienceWeatherDecodeMetar

_scienceWeatherMetarDatasSetFromUrl

Example :

Note :

The NOAA (National Oceanic and Atmospheric Administration, an US department) provides METARs on its ftp server : ftp://tgftp.nws.noaa.gov/data/observations/metar/stations/ but you can use an other source. In this last case, don't use the flag FROM_NOAA.
To search an ICAO code (airports, stations, ...) you could search in http://weather.rap.ucar.edu/surface/stations.txt or use your favorite search web engine.