Skip to content

feat: resolve LABL_PTR attributes to space-stripped labels; own fillvalue - #75

Draft
Beforerr wants to merge 1 commit into
datavariablefrom
istp-labl-ptr
Draft

Beforerr wants to merge 1 commit into
datavariablefrom
istp-labl-ptr

Conversation

@Beforerr

Copy link
Copy Markdown
Member

Stacked on #74. Counterpart of JuliaSpacePhysics/CommonDataFormat.jl#81, which stops resolving LABL_PTR_i and drops fillvalue.

  • ISTPAttrib wraps variable attributes: LABL_PTR_i resolves on access to the pointed variable's labels, rstripped (SubString views, no string copies); a dangling pointer keeps the raw name. Keys/length don't read label data.
  • Reading the label variable itself still returns the padded strings.
  • fillvalue is defined here (still exported).

CI resolves the registered CommonDataFormat, which still resolves (unstripped) labels itself, so the stripped-labels test fails until #81 is released.

@Beforerr
Beforerr marked this pull request as draft October 15, 2026 18:13

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant