euroargodev / euroargodev/VirtualFleet

FloatConfiguration not working for every float

Open
#37 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug enhancement
Dominant language
Python
Stars
13
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Some floats do not have their configuration provided per cycle, and that's how we retrieve the info now.
Example : FloatConfiguration([1900101,1]) throws an error.
Let's look at https://fleetmonitoring.euro-argo.eu/floats/1900101
json[configurations][cycles] is empty
But json[configurations][phases] is not. But I don't know where to find the definitions of phases, where there's more than one.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the FloatConfiguration entry point and reproduce the failure for float 1900101. Inspect the fleet-monitoring response under configurations, comparing the empty cycles data with the populated phases data and tracing how phase definitions are represented. Done means FloatConfiguration handles floats whose cycle configuration is absent without raising this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.