Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

metar(1) [debian man page]

METAR(1)							       metar								  METAR(1)

NAME
metar - A METAR downloader/decoder SYNOPSIS
metar [-dvh] stations DESCRIPTION
METAR reports are meteorological weather reports for aviation. metar is a small program which downloads weather reports for user-specified stations and optionally decodes them into a human-readable format. Aviation weather stations are commonly referred to by ICAO designator. The ICAO is the International Civil Aviation Organization, a inter- national standardization body for civil organization. For example, KJFK is the ICAO identifier for John F. Kennedy Airport in New York, New York, EHAM is the ICAO identifier for Amsterdam Schiphol Airport, The Netherlands, etc. OPTIONS
metar requires at least one station identifier to run. A full list of ICAO stations is available for download at http://weather.noaa.gov/data/nsd_bbsss.txt. metar supports three additional options: -d Decode the retrieved weather reports into a human-readable format. -v Be verbose while retrieving a report. -h Show a short help summary ENVIRONMENT
If the environment variable METARURL is set, metar will attempt to download the weather report from that location, rather than from the default (the NOAA web site). The value of METARURL will be postfixed with the capitalized station ID, followed by the .TXT extension. For example, if you have METAR reports in your home directory, setting METARURL to $HOME and asking for the weather report of ehgr will result in the file $HOME/EHGR.TXT to be read. AUTHOR
Kees Leune <kees@leune.org> metar 20061030.1 2005-04-08 METAR(1)

Check Out this Related Man Page

PYMETAR(1)																PYMETAR(1)

NAME
pymetar - query METAR information and display it in a user-friendly way SYNOPSIS
pymetar [station] pymetar --help pymetar --version DESCRIPTION
Use pymetar to retrieve METAR (METeorological Aviation Report) information from the internet provided by the NOAA (National Oceanic and Atmospheric Administration) and display it in an plain text format. Call pymetar with the name of the METAR station you want to query. You can get the four-letter specifier of a station near you from http://www.nws.noaa.gov/tg/siteloc.shtml OPTIONS
--help, -h Display the usage screen and quit. --version, -v Display the version number of pymetar and the pymetar library and quit. AUTHOR
pymetar was written by Tobias Klausmann klausman-pymetar@schwarzvogel.de This manual page was written by Tobias Klausmann using ronn, a Markdown to roff converter. Permission is granted to copy, distribute and/or modify this document under the same terms as pymetar itself (the GNU General Public License, Version 2 or later)&. ENVIRONMENT
HTTP_PROXY Set this variable to your HTTP proxy daemon to accelerate consecutive runs of pymetar. The name of the variable is case insensitive, you can also use http_proxy or HTTP_Proxy if you like. The syntax for this variable is http://username:password@proxy.yourdo- main.com:port February 2011 PYMETAR(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

unix software problem

helllo! I work in Department of Civil Aviation.Our SSR Radar use AlphaServer 800 with unix os.Now, sever can't startup completely.Its error messages are... Enviromental Monitoring System can't start. kdaemon progam not running. network name and login name don't match. I can enter login and... (5 Replies)
Discussion started by: akzin
5 Replies

2. Shell Programming and Scripting

match string in a file to file in a directory

Hello awk gurus, I have a text file (st15.txt) containing many station ids. st15.txt: 033445 234567 012345 222345 . . . And, I want to match each station number to individual files in a directory, and then I would like to copy that file into a different folder if any station id... (5 Replies)
Discussion started by: Jae
5 Replies

3. UNIX for Dummies Questions & Answers

searching apattern...

I need to write a shell script which accepts list of users which can be passed as parameters and also taken from a file.. and need to find weather all users are valid users or not..( check in /etc/passwd) i wrote..like this.. if then echo enter file name... read file grep -f $file... (3 Replies)
Discussion started by: Ramkum
3 Replies

4. Linux

Check weather a file is in use or not?

Hi, Hi want to check weather a file is being used by using a command or java code or shell script. So, can any body give me some idea.. Thanks Buddhika (3 Replies)
Discussion started by: cse.buddhika
3 Replies

5. Shell Programming and Scripting

Perl output with negative and positive numbers

Hello, For my weather station I have made a little perl script to put the data into cacti. The next problem I have. I can only get positive numbers or negative numbers. What do I do: Though a shell scrip I call the perl script. Shell script: #!/bin/sh cat data.txt | stats.pl Perl... (4 Replies)
Discussion started by: rbl-blacklight
4 Replies

6. Shell Programming and Scripting

Cannot create a directory

Hi, I am using the following command to check weather directory exists , if not i am creating a directory. if then echo "directory already exsist" else mkdir healthcheck.log echo "directory created" >> $_LOGFILE fi But i am gettin the following error in... (6 Replies)
Discussion started by: ahamed
6 Replies

7. UNIX for Dummies Questions & Answers

regex to split a line correctly

Hello, I'm working on a little project to extract weather data from website. At this point, I've stored each weather information on one line in a UNIX standard file. Each line has the structure: dd-mm-yy:City:dd-mm-yy:kind Of Data:value Of Data the first dd-mm-yy (it's the french format... (6 Replies)
Discussion started by: tevious
6 Replies

8. Shell Programming and Scripting

Help with bash script

Hello, I need help. I create www page, and I have link, where is weather and is updated each hour. And I need cut only weather from source code. Example: Monday : 12/14 ... I have this INFILE="http://adresa/dokument.html" wget -O - $INFILE | ( DECLARE= ... ... (3 Replies)
Discussion started by: krcek12
3 Replies

9. Shell Programming and Scripting

sed with escapes AND spaces?

It's been covered in lots of places, and I have banged on it for about an hour and I am not making any headway on this particular string. A weather-related web page I want to monitor has text on the screen, but it changes. Right now, the page has "None issued by this office recently." but in 2... (4 Replies)
Discussion started by: Habitual
4 Replies

10. Shell Programming and Scripting

Split a file

Hi all, A file reports.txt (see attachment) contains 17 pages of patient reports. Each patient is identified by a prefix i.e. 11 and a 7 digits number. There are total six patients reports in the file. One patient report may contain multiple pages. Following are the page count of each Lab no... (6 Replies)
Discussion started by: sraj142
6 Replies

11. Shell Programming and Scripting

help in shell

hi guys... i have 15-20 directories having 15-20 txt files in each. these files are being passed one by one as an argument in a script. i need a script whch shud pass all the files of each directory to be passed in my script one by one and give output in a single file, output in different... (7 Replies)
Discussion started by: anuajay1988
7 Replies

12. Shell Programming and Scripting

want to use javascript as shell script

<html> <head> <title>Weather & Aviation Page - METAR decoder</title> <meta name="Title" content="Weather & Aviation Page - METAR decoder"> <meta name="Keywords" content="METAR decoder"> <meta name="Publisher" content="SkyStef"> <meta name="Description" content="SkyStefs weather and aviation... (4 Replies)
Discussion started by: anuajay1988
4 Replies

13. OS X (Apple)

Airport ID instead of machine name in Terminal

Hi. When I open a Terminal window instead of getting the machine's name (i.e. Joe-Bloggs-laptop) I get `unknown-00-1x-5x-cx-ex-ex:~ bloggs$' which is the Mac's Airport ID (ID munged). I'm on a wireless LAN with one other laptop & three iPhones (Macs running 10.6.8 & iPhones all up to date). ... (9 Replies)
Discussion started by: phildobbin
9 Replies

14. UNIX and Linux Applications

Choosing DBMS for sensor network like system

This is just a problem with our current system. We have a distributed number of stations all around the country gathering information and sending to our database. number stations are about 300 and our database server is Postgresql 8.4 running on Debian 6.(two quad core xeon with a single 1TB hard... (4 Replies)
Discussion started by: majid.merkava
4 Replies

15. UNIX for Dummies Questions & Answers

Inserting text into a file with awk or sed

Hello, I've been trying to get a script working that fetches weather-data and converts it into an .ics file. The script works so far put I'm stuck at the point where I need to add specific static data. A thorough search through the forum did not point me into the right direction. #!/bin/bash... (3 Replies)
Discussion started by: Schubi
3 Replies