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
Uh oh!
There was an error while loading. Please reload this page.
-
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/tablebut 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/tabletags?@eslavich put together a prototype that enables asdf-astropy to writing
core/tabletags. astropy/asdf-astropy#211Perhaps how asdf-astropy handles
core/unitmight provide a potential option:https://github.com/astropy/asdf-astropy/blob/main/asdf_astropy/converters/unit/unit.py#L23
The
select_tagmethod inspects theUnit, determines if it should work as acore/unitand then falls back to the more specific astropy unit.Pinging @perrygreenfield @Cadair @nden for input.
Beta Was this translation helpful? Give feedback.
All reactions