Skip to content

global default musings #339

@gmabey

Description

@gmabey

I've been looking at the global properties, and have some questions -- apologies if these have been already beat-to-death in some other forum.

  1. I don't think that core:data_type should both be required and have a default value. Could say the same about core:sample_start I guess.
  2. Looks like the leading r in core:data_type is now required, whereas it used to be implicit. Was that intentional, or a byproduct of trying to write a regexp that describes the construction of that field?
  3. I suppose that core:trailing_bytes doesn't have a default=0 because it's only to be used with NCDs, but why not?
  4. I thought that there was an analog to core:trailing_bytes to indicate "skip this number of bytes in the NCD file before reaching the first sample value". I'm thinking of the use case of generating a .sigmf-meta file describing an NCD that is a MIDAS-Blue file, which I'm sure has a header (besides a footer).
  5. Did core:sample_rate used to be required? I think I would vote for it to be required.
  6. I did once work on a project that had a very slow (geologic) sample rate. Suggest changing core:sample_rate -> "minimum" to 1e-12.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions