Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suppress warnings for non-unit ID fields during caching #89

Closed
dnelson86 opened this issue Aug 18, 2023 · 0 comments
Closed

suppress warnings for non-unit ID fields during caching #89

dnelson86 opened this issue Aug 18, 2023 · 0 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@dnelson86
Copy link
Collaborator

In [12]: ds[99]
Out[12]: Creating cache file, this may take a while...
Creating cache file, this may take a while...
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/PartType0/GroupFirstSub'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/PartType0/LocalSubhaloID'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/PartType0/SubHaloID'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/PartType1/GroupFirstSub'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/PartType1/LocalSubhaloID'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/PartType1/SubHaloID'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/PartType3/GroupFirstSub'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/PartType3/LocalSubhaloID'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/PartType3/SubHaloID'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/PartType4/GroupFirstSub'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/PartType4/LocalSubhaloID'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/PartType4/SubHaloID'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/PartType5/GroupFirstSub'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/PartType5/LocalSubhaloID'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/PartType5/SubHaloID'.
ArepoSnapshotWithCosmologyMixinWithUnitMixin[source=/home/tnguser/sims.TNG/L35n270TNG/output/snapdir_099]

There is no need for these warnings for known ID fields.

@dnelson86 dnelson86 added the good first issue Good for newcomers label Aug 18, 2023
cbyrohl added a commit that referenced this issue Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants