日期行中的空间自动关联

时间:2019-01-15 03:28:41

标签: python-3.x geospatial pysal

当前,我正在计算空间自相关。

问题是,当在python中使用pysal计算局部空间自相关时,此计算在日期轴上是否没有问题?

我的数据从-180/180分发

下面是我用来获得空间自相关的代码;

private static async void Connect()
{
    var hubConnectionBuilder = new HubConnectionBuilder();
    #region Worked
    var hubConnection = hubConnectionBuilder.WithUrl("https://localhost:44381/timeHub", options =>
    {

    }).Build();
    #endregion

    await hubConnection.StartAsync();
    await hubConnection.SendAsync("UpdateTime", $"From Client");
    var item1 = new Dictionary<string, object> {
        { "T1", new { Name = "TT1" } },
        { "T2", new { Name = "TT2" } },
        { "T3", new { Name = "TT3" } },
    };
    var item2 = new Dictionary<string, object> {
        { "T11", new { Name = "TT11" } },
        { "T12", new { Name = "TT12" } },
        { "T13", new { Name = "TT13" } },
    };

    await hubConnection.SendAsync("SendMessage", new Message {
        MessageId = 1,
        Items = new List<Dictionary<string, object>> {
            item1,
            item2
        },
        TextMessages = new List<string> {
            "H1",
            "H2"
        }
    });
    var on = hubConnection.On("ReceiveMessage", OnReceivedAction);
    Console.WriteLine($"Client is Start");
    Console.ReadLine();
    on.Dispose();
    await hubConnection.StopAsync();
}

0 个答案:

没有答案