Windy API examples not working



  • To investigate migration to the new API I wanted to look at the examples. But they do not seem to work, I tried FireFox and Chrome (on Windows 8), with do-not-track disabled.
    Lot of errors in the console, see below.

    Any ideas?

    Thanks!

    window.controllers/Controllers is deprecated. Do not use it for UA detection.
    common.71096826d128ccda28ed.js:16:117526
    Automatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable this message
    common.71096826d128ccda28ed.js:16:150257
    Automatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable this message
    common.71096826d128ccda28ed.js:16:150257
    progressBar: timestamp 1515506320419
    app.js:65:292
    maps Unable to get startup location undefined
    app.js:6:5064
    bcast: dependenciesResolved
    app.js:65:292
    progressBar: timestamp 1515506323486
    app.js:65:292
    maps Unable to get startup location undefined
    app.js:6:5064
    bcast: dependenciesResolved
    app.js:65:292
    http /node/geoip 401
    app.js:6:5064
    geolocation Unable to determine users geolocation 401
    app.js:6:5064
    http https://mywindy.com/www/ecmwf-hres/minifest2.json?1358 401
    app.js:6:5064
    Product Minifest load/parsing failed 401
    app.js:6:5064
    progressBar: timestamp 1515506323342
    app.js:65:292
    bcast: paramsChanged
    Object { overlay: "wind", level: "surface", acTime: "next24h", timestamp: 1515506323342, path: "2018/01/09/15", isolines: "none", product: "ecmwf", sstTime: "2015/01" }
    overlay
    app.js:65:292
    bcast: maps-paramsChanged
    Object { overlay: "wind", level: "surface", acTime: "next24h", timestamp: 1515506323342, path: "2018/01/09/15", isolines: "none", product: "ecmwf", sstTime: "2015/01" }
    overlay
    app.js:65:292
    bcast: ensureProduct ecmwf
    app.js:65:292
    bcast: uiChanged
    app.js:65:292
    bcast: loadingFailed https://mywindy.com/www/ecmwf-hres/2018/01/09/15/257w2/1/1/wind-surface.jpg?2018010900
    app.js:65:292
    bcast: loadingFailed https://mywindy.com/www/ecmwf-hres/2018/01/09/15/257w2/1/2/wind-surface.jpg?2018010900
    app.js:65:292
    bcast: loadingFailed https://mywindy.com/www/ecmwf-hres/2018/01/09/15/257w2/2/1/wind-surface.jpg?2018010900
    app.js:65:292
    bcast: loadingFailed https://mywindy.com/www/ecmwf-hres/2018/01/09/15/257w2/2/2/wind-surface.jpg?2018010900
    app.js:65:292
    uncaught exception: Failed to load tile
    bcast: redrawFinished
    Object { overlay: "wind", level: "surface", acTime: "next24h", timestamp: 1515506323342, path: "2018/01/09/15", isolines: "none", product: "ecmwf", sstTime: "2015/01" }

    app.js:65:292



  • @wvdg many of these messages you see in the js console are debugging related and not actual errors. I expect much of this chatter will be turned off in subsequent release of the new API.


Log in to reply
 

Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
NodeBB & contributors, OSM & contributors, HERE maps

Looks like your connection to Windy Community was lost, please wait while we try to reconnect.