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

Problem with derived fields in Athena++ refined mesh #2431

Open
maxbeegee opened this issue Jan 29, 2020 · 1 comment
Open

Problem with derived fields in Athena++ refined mesh #2431

maxbeegee opened this issue Jan 29, 2020 · 1 comment
Labels
bug code frontends Things related to specific frontends

Comments

@maxbeegee
Copy link
Contributor

Bug report

Bug summary

Runtime error occurs when some derived fields are accessed.

Code for reproduction
[Using the AM06 publice dataset (1.3GB)]

ds = yt.load("AM06/AM06.out1.00500.athdf")
ad = ds.all_data()
ad['shear']

Actual outcome
RuntimeError.
Last traceback:

~/libs/python3/yt/yt/data_objects/construction_data_containers.py in _fill_fields(self, fields)
   1058                             chunk.ires, domain_dims, refine_by)
   1059             if level == 0 and tot != 0:
-> 1060                 raise RuntimeError("Level = 0, tot = %d" %(tot))
   1061             self._update_level_state(ls)
   1062         for name, v in zip(fields, ls.fields):

RuntimeError: Level = 0, tot = 1

Full traceback: http://paste.yt-project.org/show/193/

Version Information

  • Operating System: Mac OS 10.14
  • Python Version: Python 3.7.6
  • yt version: 3.6.dev0 (newly updated from git)

Might be related to #2430

@triage-new-issues triage-new-issues bot added the triage Triage needed label Jan 29, 2020
@neutrinoceros
Copy link
Member

neutrinoceros commented Jan 29, 2020

Thanks for reporting this. It seems likely to be related to #2430 indeed.

@neutrinoceros neutrinoceros added bug code frontends Things related to specific frontends and removed triage Triage needed labels Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug code frontends Things related to specific frontends
Projects
None yet
Development

No branches or pull requests

2 participants