nasa / bplib

Apache License 2.0
30 stars 13 forks source link

Change max_fills_per_dacs to absolute bundle size #25

Open jpswinski opened 5 years ago

jpswinski commented 5 years ago

The constraint on the number of fills per dacs leaves a lot of wiggle room in what the actual size of the bundle will be. Things like headers and the size of the encoded fill values can change the size substantially.

The need to limit the size is usually a result of an overall bundle size constraint. The code should reflect that and the attribute should just be the final maximum size of the dacs that is allowed.