Skip to content

tripleHu/LightningDataInterface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LightningDataInterface

雷电数据接口

本项目使用Spring+Hibernate+Dubbo开发 可使用两种方式调用服务

  1. restful方式(下方内容有详细描述)
  2. rpc方式(调用接口可参看代码)

主要数据接口

1 雷电密度

对应Controller “service/adtd/LightningDensity”

参数

参数 含义 取值范围 是否必须 默认取值
year 年份 2008-2016
radium 半径 1-20正整数

返回值说明

效果展示

2 雷电活动

对应Controller “service/adtd /LightningActiveByTime”

参数

参数 含义 取值范围 是否必须 默认取值
StartTime 开始时间 指定的日期和时间距 1970 年 1 月 1 日午夜(GMT 时间)之间的毫秒数
EndTime 结束时间 指定的日期和时间距 1970 年 1 月 1 日午夜(GMT 时间)之间的毫秒数

返回值说明

名称 说明
latitude 雷电纬度
longitude 雷电经度
intensity 幅值(强度)
datetime 雷电时间

效果展示

![][//readmeImg/active.png)

3 按区域统计分析

对应Controller “service/adtd / AreaStatistic”

参数

参数 含义 取值范围 是否必须 默认取值
AreaIndex 区域索引 0-40
Date 查询的日期类型 YYYY
YYYY-MM
YYYY-MM-dd

返回值说明

xxxx型返回值

xxxx-xx型返回值

xxxx-xx-xx型返回值

效果展示

4 按范围统计分析

对应Controller “service/adtd / CricleStatistic”和“service/adtd /RectangleStatistic”

参数

CricleStatistic

参数 含义 取值范围 是否必须 默认取值
Latitude 纬度 28.166-32.207
Longitude 经度 105.296-110.206
Radium 半径(公里) ≤5
Date 查询日期类型 xxxxxxxx-xxxxxx-xx-xx

Date取值代表含义说明:("x"表示具体的日期数字)

xxxx代表查询一年统计数据

xxxx-xx代表查询一个月统计数据

xxxx-xx-xx代表查询一天统计数据

RectangleStatistic

参数 含义 取值范围 是否必须 默认取值
latitudeLower 左下纬度 28.166-32.207
longitudeLeft 左下经度 105.296-110.206
latitudeUpper 右上纬度 28.166-32.207
longitudeRight 右上经度 105.296-110.206
Date 查询日期类型 xxxxxxxx-xxxxxx-xx-xx

Date取值代表含义说明:("x"表示具体的日期数字)

xxxx代表查询一年统计数据

xxxx-xx代表查询一个月统计数据

xxxx-xx-xx代表查询一天统计数据

矩形的面积不能超过25平方公里

返回值说明

CricleStatistic xxxx型返回值

CricleStatistic xxxx-xx型返回值

CricleStatistic xxxx-xx-xx型返回值(其中的时间段为1小时)

RectangleStatistic xxxx型返回值

RectangleStatistic xxxx-xx型返回值

RectangleStatistic xxxx-xx-xx型返回值(其中的时间段为1小时)

效果展示

About

雷电数据接口

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages