Advertisement
Guest User

arbitrary grid field error

a guest
Mar 29th, 2016
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. In [37]: data=ug["Density"]
  2. ---------------------------------------------------------------------------
  3. NotImplementedError Traceback (most recent call last)
  4. <ipython-input-37-25a1a12e7337> in <module>()
  5. ----> 1 data=ug["Density"]
  6.  
  7. /opt/apps/yt/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py in __getitem__(self, key)
  8. 251 return self.field_data[f]
  9. 252 else:
  10. --> 253 self.get_data(f)
  11. 254 # fi.units is the unit expression string. We depend on the registry
  12. 255 # hanging off the dataset to define this unit object.
  13.  
  14. /opt/apps/yt/yt-x86_64/src/yt-hg/yt/data_objects/construction_data_containers.py in get_data(self, fields)
  15. 600 fill, gen, part, alias = self._split_fields(fields_to_get)
  16. 601 if len(part) > 0: self._fill_particles(part)
  17. --> 602 if len(fill) > 0: self._fill_fields(fill)
  18. 603 for a, f in sorted(alias.items()):
  19. 604 self[a] = f(self)
  20.  
  21. /opt/apps/yt/yt-x86_64/src/yt-hg/yt/data_objects/construction_data_containers.py in _fill_fields(self, fields)
  22. 785
  23. 786 def _fill_fields(self, fields):
  24. --> 787 raise NotImplementedError
  25. 788
  26. 789 class LevelState(object):
  27.  
  28. NotImplementedError:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement