Replies: 1 comment
-
To try and capture some of the discussion with @perrygreenfield and @eslavich (forgot to add you to the initial post for this discussion). Some key questions that came up were:
@perrygreenfield mentioned seeking clarification from @Cadair about use of the core table tag. Some questions that came up are:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The ASDF standard defines a core/table tag/schema.
Currently asdf does not support reading or writing this tag. The asdf-astropy extension supports reading
core/table
but does not support writing:https://github.com/astropy/asdf-astropy/blob/b532105fea731cfe963c8015041002aa568fa29d/asdf_astropy/converters/table/table.py#L51
(an issue is open for asdf-astropy to investigate options for writing: astropy/asdf-astropy#209)
To improve interoperability with other languages (or non-astropy users) what options exist for reading and writing
core/table
tags?@eslavich put together a prototype that enables asdf-astropy to writing
core/table
tags. astropy/asdf-astropy#211Perhaps how asdf-astropy handles
core/unit
might provide a potential option:https://github.com/astropy/asdf-astropy/blob/main/asdf_astropy/converters/unit/unit.py#L23
The
select_tag
method inspects theUnit
, determines if it should work as acore/unit
and then falls back to the more specific astropy unit.Pinging @perrygreenfield @Cadair @nden for input.
Beta Was this translation helpful? Give feedback.
All reactions