Skip to content
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

Add algorithm documentation for regridding/smoothing operations #172

Closed
5 tasks
svniemeijer opened this issue Feb 28, 2018 · 2 comments
Closed
5 tasks

Add algorithm documentation for regridding/smoothing operations #172

svniemeijer opened this issue Feb 28, 2018 · 2 comments
Labels
algorithms documentation s5p-vdaf Applicable for S5P-MPC VDAF project
Milestone

Comments

@svniemeijer
Copy link
Contributor

svniemeijer commented Feb 28, 2018

We should describe the algorithms behind our binning/regridding/smoothing operations:

  • bin
  • bin_spatial
  • derive_smoothed_column
  • regrid
  • smooth
@svniemeijer svniemeijer added documentation algorithms s5p-vdaf Applicable for S5P-MPC VDAF project labels Feb 28, 2018
@svniemeijer svniemeijer added this to the future milestone Jun 5, 2018
@svniemeijer
Copy link
Contributor Author

Quick first explanation on bin_spatial() since this seems to come up frequently:

If the product only has lat/lon center coordinates and no latitude_bounds/longitude_bounds variables then a simple binning is performed (i.e. average of all values whose center point falls in the grid cell)
If the product does have latitude_bounds/longitude_bounds variables then an area weighted average is taken based on the intersections of the polygon areas and the grid cell (using a simple 2D plane, no spherical earth representation).

@svniemeijer svniemeijer modified the milestones: future, 1.19 Jun 25, 2023
@svniemeijer
Copy link
Contributor Author

Implemented in d03365c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
algorithms documentation s5p-vdaf Applicable for S5P-MPC VDAF project
Projects
None yet
Development

No branches or pull requests

1 participant