-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collections API: Implement RasterGroupedAverage #52
Comments
Include optimizations made via #47 |
Here's an example of |
#65 is mostly ready for a look, I think, except that I'm getting some slightly output values for the original nlcd-kfactor-request input. Here's what the implementation in #65 currently returns:
The values for the
|
Wonder if the discrepancy above is related to the misalignment issue? @rajadain do you have any other sample inputs to test for the |
The sample input provided above does use misaligned layers, since NLCD and KFactor belong to different generations of rasters WikiWatershed/model-my-watershed#2153. There should only be a difference if there is a tile that is not being selected. I'll try and generate a screenshot using the shape and layers in the input to see if we're missing tiles. |
Thanks for checking that! Something's probably off in the implementation then. |
Turns out this happens when using a list to store the values, then doing |
Implement Raster Grouped Average operation Connects #52
Add support for the
RasterGroupedAverage
operation.Sample input: nlcd-kfactor-request.json.txt
Expected output: nlcd-kfactor-response.json.txt
Depends on #51
The text was updated successfully, but these errors were encountered: