Open michaeldenes opened 1 month ago
Attention: Patch coverage is 0%
with 3 lines
in your changes are missing coverage. Please review.
Project coverage is 15.33%. Comparing base (
fe32c0b
) to head (d1d20d4
).
Files | Patch % | Lines |
---|---|---|
plasticparcels/constructors.py | 0.00% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This is a PR that changes the way we initialise particles, rather than one particle at the T-point of a grid cell, we will initialise n particles randomly within a grid cell.
create_release_maps.py
file is working as expectedcreate_particleset_from_map()
function inconstructors
to use the grid cellsPoint 2 above is non-trivial, as we want to randomly distribute particle across the grid cell. Trivial for a rectilinear grid, but non-trivial for our curvilinear grid. Possible approach is to perform a rotation (like the Jacobian approach in the interpolation scheme?)