<commit_before>// See config.js for more detailed comments about configuration files.

"use strict";

var fi = fi || {};
fi.fmi = fi.fmi || {};
fi.fmi.metoclient = fi.fmi.metoclient || {};
fi.fmi.metoclient.ui = fi.fmi.metoclient.ui || {};
fi.fmi.metoclient.ui.animator = fi.fmi.metoclient.ui.animator || {};

fi.fmi.metoclient.ui.animator.Config = {

    map : {
        className : "OpenLayers.Map",
        args : [{
            allOverlays : true,
            projection : 'EPSG:3067',
            units : "m",
            resolutions : [2048, 1024, 512, 256],
            maxExtent : [-4537345.568, 3840856.936, 2889342.313, 8254755.58],
            restrictedExtent : [-118331.366408356, 6335621.16701424, 875567.731906565, 7907751.53726352],
            center : [400000, 7150000]
        }]
    },

    layers : [{
        className : "OpenLayers.Layer.WMTS",
        args : [{
            name : "Map",
            url : "http://wms.fmi.fi/fmi-apikey/insert-your-apikey-here/geoserver/gwc/service/wmts",
            format : "image/png",
            layer : "KAP:Europe_basic_EurefFIN",
            style : "",
            matrixSet : "ETRS-TM35FIN",
            matrixIds : [{
                identifier : "ETRS-TM35FIN:2"
            }, {
                identifier : "ETRS-TM35FIN:3"
            }, {
                identifier : "ETRS-TM35FIN:4"
            }, {
                identifier : "ETRS-TM35FIN:5"
            }]
        }]
    }, {
        capabilities : {
            url : "http://data.fmi.fi/fmi-apikey/insert-your-apikey-here/wfs",
            storedQueryId : "fmi::radar::composite::rr",
            layer : "Radar:suomi_rr_eureffin"
        },
        className : "OpenLayers.Layer.Animation.Wmts",
        args : [{
            name : "Precipitation",
            url : "http://wms.fmi.fi/fmi-apikey/insert-your-apikey-here/geoserver/gwc/service/wmts",
            layer : "Radar:suomi_rr_eureffin",
            style : "",
            maxExtent : [-118331.366408356, 6335621.16701424, 875567.731906565, 7907751.53726352],
            matrixSet : "ETRS-TM35FIN-FINLAND",
            matrixIds : [{
                identifier : "ETRS-TM35FIN-FINLAND:2"
            }, {
                identifier : "ETRS-TM35FIN-FINLAND:3"
            }, {
                identifier : "ETRS-TM35FIN-FINLAND:4"
            }, {
                identifier : "ETRS-TM35FIN-FINLAND:5"
            }],
            animation : {
                layers : [{
                    layer : "Radar:suomi_tuliset_rr_eureffin",
                    storedQueryId : "fmi::forecast::tuliset::rr",
                    beginTime : "join",
                    name : "Precipitation forecast",
                    isForecast : true
                }],
                autoLoad : true,
                maxAsyncLoadCount : 4,
                name : "Precipitation"
            }
        }]
    }],

    defaultZoomLevel : 1,
    animationRefreshInterval : 15 * 60 * 1000,
    animationFrameRate : 500,
    animationResolutionTime : 15 * 60 * 1000,
    animationDeltaToBeginTime : 12 * 15 * 60 * 1000,
    animationDeltaToEndTime : 4 * 15 * 60 * 1000

};<commit_msg>Animation WMTS config fine tuning.<commit_after>// See config.js for more detailed comments about configuration files.

"use strict";

var fi = fi || {};
fi.fmi = fi.fmi || {};
fi.fmi.metoclient = fi.fmi.metoclient || {};
fi.fmi.metoclient.ui = fi.fmi.metoclient.ui || {};
fi.fmi.metoclient.ui.animator = fi.fmi.metoclient.ui.animator || {};

fi.fmi.metoclient.ui.animator.Config = {

    map : {
        className : "OpenLayers.Map",
        args : [{
            allOverlays : true,
            projection : 'EPSG:3067',
            units : "m",
            resolutions : [1024, 512, 256],
            maxExtent : [-4537345.568, 3840856.936, 2889342.313, 8254755.58],
            restrictedExtent : [-118331.366408356, 6335621.16701424, 875567.731906565, 7907751.53726352],
            center : [395000, 7100000]
        }]
    },

    layers : [{
        className : "OpenLayers.Layer.WMTS",
        args : [{
            name : "Map",
            url : "http://wms.fmi.fi/fmi-apikey/insert-your-apikey-here/geoserver/gwc/service/wmts",
            format : "image/png",
            layer : "KAP:Europe_basic_EurefFIN",
            buffer : 1,
            style : "",
            matrixSet : "ETRS-TM35FIN",
            matrixIds : [{
                identifier : "ETRS-TM35FIN:3"
            }, {
                identifier : "ETRS-TM35FIN:4"
            }, {
                identifier : "ETRS-TM35FIN:5"
            }]
        }]
    }, {
        capabilities : {
            url : "http://data.fmi.fi/fmi-apikey/insert-your-apikey-here/wfs",
            storedQueryId : "fmi::radar::composite::rr",
            layer : "Radar:suomi_rr_eureffin"
        },
        className : "OpenLayers.Layer.Animation.Wmts",
        args : [{
            name : "Precipitation",
            url : "http://wms.fmi.fi/fmi-apikey/insert-your-apikey-here/geoserver/gwc/service/wmts",
            layer : "Radar:suomi_rr_eureffin",
            style : "",
            maxExtent : [-118331.366408356, 6335621.16701424, 875567.731906565, 7907751.53726352],
            matrixSet : "ETRS-TM35FIN-FINLAND",
            matrixIds : [{
                identifier : "ETRS-TM35FIN-FINLAND:3"
            }, {
                identifier : "ETRS-TM35FIN-FINLAND:4"
            }, {
                identifier : "ETRS-TM35FIN-FINLAND:5"
            }],
            animation : {
                layers : [{
                    layer : "Radar:suomi_tuliset_rr_eureffin",
                    storedQueryId : "fmi::forecast::tuliset::rr",
                    beginTime : "join",
                    name : "Precipitation forecast",
                    isForecast : true
                }],
                autoLoad : true,
                maxAsyncLoadCount : 8,
                name : "Precipitation"
            }
        }]
    }],

    defaultZoomLevel : 0,
    animationRefreshInterval : 15 * 60 * 1000,
    animationFrameRate : 500,
    animationResolutionTime : 15 * 60 * 1000,
    animationDeltaToBeginTime : 12 * 15 * 60 * 1000,
    animationDeltaToEndTime : 4 * 15 * 60 * 1000

};
{'fraction_non_alphanumeric': 0.13293682687670794, 'fraction_numerical': 0.08149815142260086, 'mean_word_length': 1.5806719203649937, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1071776', 'n_tokens_mistral': 2429, 'n_tokens_neox': 1981, 'n_words': 301}