Let the user provide custom weight into pyresample
Open
@TomLav is already working on this.
Since Apr 26, 2018.
enhancement
imported
Priority-Medium
- Dominant language
- Python
- Stars
- 385
- Forks
- 102
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 9
Description
From lavergne...@gmail.com on November 25, 2013 14:15:49
Hei pyresample team,
I am seating at the pytroll workshop, and would like a new feature:
Users could specify an array of weights (same dimension as lat/lon/data), and this weight would multiply the weight computed from distance (through the fov function, either _custom() or _gauss()).
Two use cases:
- the weight could be given as 1./var(data) : the inverse of the uncertainty in each data point (as variance);
- the weight could be computed on fov observation time, with more weight towards 12utc than at 0utc and 23:59utc. A resulting daily composite image would then be "sharpened towards 12utc", wrt to a daily composite without any weighting.
I'll start implementing right now :)
Thomas
Original issue: http://code.google.com/p/pyresample/issues/detail?id=12
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.