Metview
=======

Copyright 2007-2016 ECMWF and INPE

This product mainly includes software developed by the
Development Section at the

    "European Centre for Medium-Range Weather Forecasts"
              (ECMWF - http://www.ecmwf.int )

and

   "National Institute for Space Research (INPE, Brazil)"
                   (http://www.inpe.br/)


Below is a list of software packages which are used inside Metview:


Magics++
========

This graphics library, developed at ECMWF, performs all of the data visualisation
within Metview. Details can be found at:

  https://software.ecmwf.int/magics/




JSON_SPIRIT_READER
==================

/* Copyright (c) 2007-2009 John W Wilkinson

   json spirit version 4.00

   This source code can be used for any purpose as long as
   this comment is retained. */





Rotated grid code
=================

Fortran code for handling rotated grids was supplied by agreement with FMI,
and re-written in C++.


Lambert grid code
=================

Fortran code for handling Lambert grids was taken from:

  http://ruc.noaa.gov/fslparms/w3fb12.f

The code was converted to C++ for use in Metview.


Similar code carries the following license:

C**---------------------------------------------------------------------
C**REQUIRED STANDARD FSL DISCLAIMER (NOVEMBER 2000)
C**---------------------------------------------------------------------
C**  OPEN SOURCE LICENSE/DISCLAIMER,  FORECAST SYSTEMS LABORATORY
C**  NOAA/OAR/FSL, 325 BROADWAY BOULDER, CO 80305
C**
C**  THIS SOFTWARE IS DISTRIBUTED UNDER THE OPEN SOURCE DEFINITION,
C**  WHICH MAY BE FOUND AT http://www.opensource.org/osd.html.
C**
C**  IN PARTICULAR, REDISTRIBUTION AND USE IN SOURCE AND BINARY FORMS,
C**  WITH OR WITHOUT MODIFICATION, ARE PERMITTED PROVIDED THAT THE
C**  FOLLOWING CONDITIONS ARE MET:
C**
C**  - REDISTRIBUTIONS OF SOURCE CODE MUST RETAIN THIS NOTICE, THIS LIST
C**    OF CONDITIONS AND THE FOLLOWING DISCLAIMER.
C**
C**  - REDISTRIBUTIONS IN BINARY FORM MUST PROVIDE ACCESS TO THIS
C**    NOTICE, THIS LIST OF CONDITIONS AND THE FOLLOWING DISCLAIMER, AND
C**    THE UNDERLYING SOURCE CODE.
C**
C**  - ALL MODIFICATIONS TO THIS SOFTWARE MUST BE CLEARLY DOCUMENTED,
C**    AND ARE SOLELY THE RESPONSIBILITY OF THE AGENT MAKING THE
C**    MODIFICATIONS.
C**
C**  - IF SIGNIFICANT MODIFICATIONS OR ENHANCEMENTS ARE MADE TO THIS
C**    SOFTWARE, THE FSL SOFTWARE POLICY MANAGER
C**    (softwaremgr.fsl@noaa.gov) BE NOTIFIED.
C**
C**  THIS SOFTWARE AND ITS DOCUMENTATION ARE IN THE PUBLIC DOMAIN AND
C**  ARE FURNISHED "AS IS."  THE AUTHORS, THE UNITED STATES GOVERNMENT,
C**  ITS INSTRUMENTALITIES, OFFICERS, EMPLOYEES, AND AGENTS MAKE NO
C**  WARRANTY, EXPRESS OR IMPLIED, AS TO THE USEFULNESS OF THE SOFTWARE
C**  AND DOCUMENTATION FOR ANY PURPOSE.  THEY ASSUME NO RESPONSIBILITY
C**  (1) FOR THE USE OF THE SOFTWARE AND DOCUMENTATION; OR (2) TO
C**  PROVIDE TECHNICAL SUPPORT TO USERS.
C**---------------------------------------------------------------------



Qt
==

Portions of code were taken from
  - the book "C++ GUI Programming with Qt 4" by Jasmin Blanchette
    and Mark Summerfield (Prentice Hall, 2010)
  - the Qt 4.7 documentation and examples on the web, under the BSD license:

** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
**   * Redistributions of source code must retain the above copyright
**     notice, this list of conditions and the following disclaimer.
**   * Redistributions in binary form must reproduce the above copyright
**     notice, this list of conditions and the following disclaimer in
**     the documentation and/or other materials provided with the
**     distribution.
**   * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
**     the names of its contributors may be used to endorse or promote
**     products derived from this software without specific prior written
**     permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."


LazyTextEdit
================================================
LazyTextEdit is a Qt based text editor that lazily loads data from disk when
necessary.

It tries to keep memory usage as low as possible and only stores chunks of data
that have been modified. Its APIs resembles that of QText(Edit|Document|Cursor).
It supports basic formatting options using TextSections and SyntaxHighlighter.

LazyTextEdit is licensed under the Apache 2.0 license.

Some of the source code was modified for inclusion in Metview (src/libMvQtTextPager).


CavalierContours
================================================
CavalierContours is a C++14 header only library (with a C API available) for
processing 2D polylines containing both straight line and constant radius arc
segments. Supports contour/parallel offsetting, boolean operations (OR, AND, NOT, XOR)
between closed polylines, and other common functions (winding number, area, path
length, distance to point, etc.).

CavalierContours is licensed under the  MIT License.

A short and simple permissive license with conditions only requiring preservation
of copyright and license notices. Licensed works, modifications, and larger works
may be distributed under different terms and without source code.

MIT License

Copyright (c) 2019 Jedidiah Buck McCready

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


WorldWeatherSymbols
==========================
A complete set of WMO weather symbols in SVG with full metadata.

The symbols were nmodified for inclusion in Metview as a single
file (share/metview/app-defaults/wmo_symbols.svg).

Copyright (C) 2013-2016 OGC Meteorology and Oceanography Domain Working Group

Released under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.

https://creativecommons.org/licenses/by/4.0/
