Debian Codegraph @

share/magics/efi/Australia_All32parameters_1.js

raw
1 /*
2 * (C) Copyright 1996-2016 ECMWF.
3 *
4 * This software is licensed under the terms of the Apache Licence Version 2.0
5 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6 * In applying this licence, ECMWF does not waive the privileges and immunities
7 * granted to it by virtue of its status as an intergovernmental organisation nor
8 * does it submit to any jurisdiction.
9 */
10
11 magics_height = 371.;
12 magics_left = 60;
13 magics_outside = function (x, y) {
14 if (smaller(x, 60) )
15 return true;
16 if (greater(x, 740) )
17 return true;
18 if (smaller(y, 92.6196) )
19 return true;
20 if (greater(y, 463.098) )
21 return true;
22 return false;
23 }
24 ;
25 magics_reprojection = function (x, y)
26 {
27 return {
28 lon: (x - 60 ) * ( 110 / 680 ) + (80),
29 lat: ( 92.6196 - y) * ( 60 / 370.479) + (5)
30 }
31 }
32 ;
33 magics_top = 110.;
34 magics_version = "2.6.0";
35 magics_width = 680;