New issue 1164: particle angular momentum profile error with attachment (the same as #1163) https://bitbucket.org/yt_analysis/yt/issues/1164/particle-angular-momentum-p...
I wrote the attach script to compute the particle angular momentum. This script result in following error message: ……………… Traceback (most recent call last): File "pang.py", line 26, in <module> profile = yt.Profile1D(sphere, 'partradiuspc', Nbin, x_min=rmin, x_max=rmax, x_log=True, weight_field=None) File "/home/jhchoi/common/src/yt/yt/data_objects/profiles.py", line 411, in init self.x_field = data_source._determine_fields(x_field) File "/home/jhchoi/common/src/yt/yt/data_objects/data_containers.py", line 1001, in _determine_fields raise YTFieldNotFound((ftype,fname),self.ds) yt.utilities.exceptions.YTFieldNotFound: Could not find field '('all', 'partradiuspc')' in DD0045.
If I remove "particle_type=True" in add_field, it works. However, I am not sure that removing "particle_type=True" returns correct output.
Thank you, Junhwan