1# Copyright (c) 2004,2018 Python-Metar Developers.
2# Distributed under the terms of the BSD 2-Clause License.
3# SPDX-License-Identifier: BSD-2-Clause
4"""A python package for interpreting METAR and SPECI weather reports.
5
6US conventions for METAR/SPECI reports are described in chapter 12 of
7the Federal Meteorological Handbook No.1. (FMH-1 1995), issued by NOAA.
8See http://www.ofcm.gov/publications/fmh/FMH1/FMH1.pdf
9
10International conventions for the METAR and SPECI codes are specified in
11the WMO Manual on Codes, vol I.1, Part A (WMO-306 I.i.A).
12
13This module handles a reports that follow the US conventions, as well
14the more general encodings in the WMO spec.  Other regional conventions
15are not supported at present.
16
17The current METAR report for a given station is available at the URL
18http://weather.noaa.gov/pub/data/observations/metar/stations/<station>.TXT
19where <station> is the four-letter ICAO station code.
20
21The METAR reports for all reporting stations for any "cycle" (i.e., hour)
22in the last 24 hours is available in a single file at the URL
23http://weather.noaa.gov/pub/data/observations/metar/cycles/<cycle>Z.TXT
24where <cycle> is a 2-digit cycle number (e.g., "00", "05" or "23").
25"""
26
27__author__ = "Tom Pollard"
28
29__email__ = "pollard@alum.mit.edu"
30
31__version__ = "1.8.0"
32
33__doc__ = """metar v%s (c) 2009, %s
34
35Metar is a python package that interprets coded METAR and SPECI weather reports.
36
37Please e-mail bug reports to: %s""" % (
38    __version__,
39    __author__,
40    __email__,
41)
42
43__LICENSE__ = (
44    """
45Copyright (c) 2009, %s
46All rights reserved.
47
48Redistribution and use in source and binary forms, with or without
49modification, are permitted provided that the following conditions are met:
50
51Redistributions of source code must retain the above copyright notice,
52this list of conditions and the following disclaimer.
53
54THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
55"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
56THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
57PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
58BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
59CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
60SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
61INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
62CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
63ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
64POSSIBILITY OF SUCH DAMAGE.
65"""
66    % __author__
67)
68