idw.py — IDW to CSV
python idw.py [options] [filename]
python idw.py [-h|--help|-v|--version]
Interpolating station values by IDW algorithm and save to csv file.
- python 3.6
- numpy 1.16.4
{
"date":"2019-01-01",
"feeds": [
{
"device_id": "AAA",
"c_d0": 12,
"gps_lat": 23.23,
"gps_lon": 123.23
},
{
"device_id": "BBB",
"c_d0": 23,
"gps_lat": 24.24,
"gps_lon": 124.24
}
]
}
show program's version number and exit
show this help message and exit
the effective range of AirBox in KM, default=10
the exponential factor of IDW, default=2
the resolution of interpolation, default=1000
the boundary of latitude and longitude, accuracy to 1 decimal place, default=26.0 21.0 123.0 119.0
average latitude for calculating km in lat and lon, default=23.5
See GitHub Issues: https://github.com/HuangLiPang/idw-to-csv/issues