wri / gfw-raster-analysis-lambda

GFW Raster Analysis in AWS Lambda
8 stars 4 forks source link

Feature/cache results #49

Closed solomon-negusse closed 3 years ago

solomon-negusse commented 3 years ago

Pull request checklist

Please check if your PR fulfills the following requirements:

Pull request type

Please check the type of change your PR introduces: - [ ] Bugfix - [X] Feature - [ ] Code style update (formatting, renaming) - [ ] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] Documentation content changes - [ ] Other (please describe): ## What is the current behavior?

OTF query results are not cached

Issue Number: N/A

What is the new behavior?

Does this introduce a breaking change?

Other information

codecov[bot] commented 3 years ago

Codecov Report

Merging #49 (fd66839) into develop (32f4b88) will decrease coverage by 0.12%. The diff coverage is 90.76%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #49      +/-   ##
===========================================
- Coverage    91.73%   91.60%   -0.13%     
===========================================
  Files           20       20              
  Lines         1101     1132      +31     
===========================================
+ Hits          1010     1037      +27     
- Misses          91       95       +4     
Flag Coverage Δ
unittests 91.60% <90.76%> (-0.13%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
raster_analysis/data_cube.py 91.30% <ø> (ø)
tests/e2e/test_raster_analysis.py 100.00% <ø> (ø)
lambdas/raster_analysis/src/lambda_function.py 75.67% <50.00%> (ø)
raster_analysis/results_store.py 93.54% <90.90%> (-3.56%) :arrow_down:
lambdas/fanout/src/lambda_function.py 80.00% <100.00%> (+1.42%) :arrow_up:
raster_analysis/globals.py 100.00% <100.00%> (ø)
raster_analysis/query.py 96.13% <100.00%> (+0.02%) :arrow_up:
raster_analysis/tiling.py 99.00% <100.00%> (+0.06%) :arrow_up:

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 32f4b88...fd66839. Read the comment docs.