OceanParcels / plasticparcels

Repository for PlasticParcels tool
MIT License
3 stars 1 forks source link

Small bug fix in the create_release_map.py script. #30

Closed michaeldenes closed 1 month ago

michaeldenes commented 1 month ago

An issue #17 was raised where the fisheries dataset would have latitude and longitude column names 'ModelLatitude' and 'ModelLongitude', which would not work nicely with the create_particleset_from_map function. This PR adds the required line to rename the latitude and longitude columns.

codecov-commenter commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 15.43%. Comparing base (5bf09a8) to head (f5b676c).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #30 +/- ## ======================================= Coverage 15.43% 15.43% ======================================= Files 6 6 Lines 473 473 ======================================= Hits 73 73 Misses 400 400 ``` | [Flag](https://app.codecov.io/gh/OceanParcels/plasticparcels/pull/30/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OceanParcels) | Coverage Δ | | |---|---|---| | [unit-tests](https://app.codecov.io/gh/OceanParcels/plasticparcels/pull/30/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OceanParcels) | `15.43% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OceanParcels#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.