Guest User

Traceback "gas", "HII_Density"

a guest
Jul 21st, 2017
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.58 KB | None | 0 0
  1. >>> objfield1=obj["gas", "HII_Density"]
  2. Parsing Hierarchy : 100%|##############################################| 5568/5568 [00:00<00:00, 15594.54it/s]
  3. yt : [INFO     ] 2017-07-21 12:07:48,268 Gathering a field list (this may take a moment.)
  4. Traceback (most recent call last):
  5.   File "<stdin>", line 1, in <module>
  6.   File "/opt/apps/yt/3.3.5a/yt-conda/src/yt-git/yt/data_objects/data_containers.py", line 274, in __getitem__
  7.     f = self._determine_fields([key])[0]
  8.   File "/opt/apps/yt/3.3.5a/yt-conda/src/yt-git/yt/data_objects/data_containers.py", line 1121, in _determine_fields
  9.     finfo = self.ds._get_field_info(ftype, fname)
  10.   File "/opt/apps/yt/3.3.5a/yt-conda/src/yt-git/yt/data_objects/static_output.py", line 751, in _get_field_info
  11.     raise YTFieldNotFound((ftype, fname), self)
  12. yt.utilities.exceptions.YTFieldNotFound: Could not find field '('gas', 'HII_Density')' in RedshiftOutput0001.
  13.  
  14. >>> objfield2=obj["gas", "HI_Density"]
  15. Traceback (most recent call last):
  16.   File "<stdin>", line 1, in <module>
  17.   File "/opt/apps/yt/3.3.5a/yt-conda/src/yt-git/yt/data_objects/data_containers.py", line 274, in __getitem__
  18.     f = self._determine_fields([key])[0]
  19.   File "/opt/apps/yt/3.3.5a/yt-conda/src/yt-git/yt/data_objects/data_containers.py", line 1121, in _determine_fields
  20.     finfo = self.ds._get_field_info(ftype, fname)
  21.   File "/opt/apps/yt/3.3.5a/yt-conda/src/yt-git/yt/data_objects/static_output.py", line 751, in _get_field_info
  22.     raise YTFieldNotFound((ftype, fname), self)
  23. yt.utilities.exceptions.YTFieldNotFound: Could not find field '('gas', 'HI_Density')' in RedshiftOutput0001.
Add Comment
Please, Sign In to add comment