Closed ni1o1 closed 2 years ago
Merging #38 (daeb3f6) into main (a173ac3) will decrease coverage by
2.14%
. The diff coverage is72.11%
.
@@ Coverage Diff @@
## main #38 +/- ##
==========================================
- Coverage 82.40% 80.26% -2.15%
==========================================
Files 25 25
Lines 2222 2371 +149
==========================================
+ Hits 1831 1903 +72
- Misses 391 468 +77
Impacted Files | Coverage Δ | |
---|---|---|
src/transbigdata/grids.py | 68.90% <71.01%> (-7.25%) |
:arrow_down: |
src/transbigdata/__init__.py | 100.00% <100.00%> (ø) |
|
src/transbigdata/crawler.py | 90.15% <100.00%> (ø) |
|
src/transbigdata/tests/test_grids.py | 100.00% <100.00%> (ø) |
|
src/transbigdata/visualization.py | 92.92% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update a173ac3...daeb3f6. Read the comment docs.
Rewrite the gridding framework, the major functions are renamed and included as the following methods:
area_to_grid
: Generate the rectangular grids in the bounds or shapearea_to_params
: Generate gridding paramsGPS_to_grid
: Match the GPS data to the gridsgrid_to_centre
: Generate center location of the gridgrid_to_polygon
: Generate the geometry column based on the grid ID.grid_to_area
: Match grid to the polygon areas.grid_to_params
: Regenerate gridding params from grid.grid_params_optimize
: Optimize the grid params.