You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature you'd like added to this project
The function calculates the weights of grid faces at a specific constant latitude, facilitating accurate non-conservative zonal averages in climate and oceanographic data analysis. This addition aims to optimize and simplify user workflows within our library.
Link to original functionality implementation elsewhere, if applicable
Links to other examples, if applicable
Describe the solution you'd like
Take a constant latitude as input and compute the perimeter of the corresponding circle.
Identify the intervals of longitude that overlap with each face of the grid.
Calculate the weight of each face based on these intervals and the total perimeter.
Handle any errors or edge cases gracefully, ensuring that the function is robust and user-friendly.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
@hongyuchen1030 can you please provide an actual description of this issue above? The original text doesn't seem to be adding anything to the issue template.
@hongyuchen1030 can you please provide an actual description of this issue above? The original text doesn't seem to be adding anything to the issue template.
Yes, I will provide a more detailed description here and relate it to my draft PR.
hongyuchen1030
changed the title
Sweep line algorithm in identifying the intersection for each face
Calculate the weight for each face on the constant latitude
Oct 25, 2023
Describe the feature you'd like added to this project
The function calculates the weights of grid faces at a specific constant latitude, facilitating accurate non-conservative zonal averages in climate and oceanographic data analysis. This addition aims to optimize and simplify user workflows within our library.
Link to original functionality implementation elsewhere, if applicable
Links to other examples, if applicable
Describe the solution you'd like
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: