Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

need warning and improved logic for generalized sizecomp

Aperta
#751 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@Rick-Methot-NOAA ci sta già lavorando.

Dal 2/2/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

composition in progress

A user configured a generalized sizecomp with narrow weight bins for the data. SS3 crashed without providing warning. The problem is that when the setup is using weight bins, a narrow population length bin can translate to weight range that is wider than the user-specified weight bins.
@N-DucharmeBarth-NOAA

The code is designed to detect where the population bin is completely within a data bin and assign all of that pop bin to the data bin, and to detect when there are multiple consecutive pop bins that fall within the same data bin range and assign all of them to that range. It also can detect when a pop bin stradles the upper edge of a data bin and apportion that pop bin to the current and nect data bin, then to correctly move on to the next pop bin.
However, the code cannot detect when the upper edge of a pop bin would skip over a data bin. When this happens, no warning is issued and a crash typically occurs.

  • minimum fix would be to provide a fatal warning in all such circumstances
  • best fix would be to develop an algorithm by which the code would apportion that wide population bin to a range of data bins. Surely such an algorithm has already been developed somewhere and we just need to know what to ask for.
Lingua principale
C++
Stelle
46
Fork
19
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nmfs-ost/ss3-source-code

Tutte le issue di nmfs-ost/ss3-source-code

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.