Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Add support for fetching lightning data #10

Open
ASunc opened this issue Jun 26, 2015 · 0 comments
Open

Add support for fetching lightning data #10

ASunc opened this issue Jun 26, 2015 · 0 comments

Comments

@ASunc
Copy link

ASunc commented Jun 26, 2015

It looks like fetching lightning strikes doesn't work with metolib. When trying something like this

            var STORED_QUERY_LIGHTNING = "fmi::observations::lightning::multipointcoverage";

            fi.fmi.metoclient.metolib.WfsRequestParser.getData({
                url : url,
                storedQueryId : STORED_QUERY_LIGHTNING,
                requestParameter : "ellipse_major",
                begin : new Date('2015-06-24'),
                end : new Date('2015-06-25'),
                bbox : "20.750000000000014,61.60639637138627,45.00000000000002,66.51326044311185",
                timestep : 60 * 60 * 1000,
                callback : function(data, errors) {
                    handleCallback(data, errors, "strikes");
                }
            });

No data is returned in callback (although server is returning a lot of data). Difference to other multipointcoverage stuff seems to be that there is no target:LocationCollection information in xml, which seems to result in metolib parser ignoring everything.

It would be nice to get this working.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant