Debian Codegraph @

share/magics/efi/Africa_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 = 384;
12 magics_left = 60.;
13 magics_outside = function (x, y) {
14 if (smaller(x, 50.9091) )
15 return true;
16 if (greater(x, 627.879) )
17 return true;
18 if (smaller(y, 96.05) )
19 return true;
20 if (greater(y, 480.25) )
21 return true;
22 return false;
23 }
24 ;
25 magics_reprojection = function (x, y)
26 {
27 return {
28 lon: (x - 50.9091 ) * ( 120 / 576.97 ) + (-45),
29 lat: ( 96.05 - y) * ( 80 / 384.2) + (40)
30 }
31 }
32 ;
33 magics_top = 96.;
34 magics_version = "2.6.0";
35 magics_width = 578.;