/usr/share/magics/efi/Africa_All32parameters_5.js is in libmagics++-data 3.0.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | /*
* (C) Copyright 1996-2016 ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
* In applying this licence, ECMWF does not waive the privileges and immunities
* granted to it by virtue of its status as an intergovernmental organisation nor
* does it submit to any jurisdiction.
*/
magics_height = 384;
magics_left = 60.;
magics_outside = function (x, y) {
if (smaller(x, 50.9091) )
return true;
if (greater(x, 627.879) )
return true;
if (smaller(y, 96.05) )
return true;
if (greater(y, 480.25) )
return true;
return false;
}
;
magics_reprojection = function (x, y)
{
return {
lon: (x - 50.9091 ) * ( 120 / 576.97 ) + (-45),
lat: ( 96.05 - y) * ( 80 / 384.2) + (40)
}
}
;
magics_top = 96.;
magics_version = "2.6.0";
magics_width = 578.;
|