Thanks to you both for reporting and confirming. This looks like a genuine bug to me. I've opened an issue up in the yt_astro_analysis package, where the LightCone module has moved. https://github.com/yt-project/yt_astro_analysis/issues/36
I should be able to check this out in the next few days.
On Fri, Nov 2, 2018 at 12:17 AM Prateek Gupta email@example.com wrote:
Even I got the same error when I tested it with the available yt-ENZO data set (enzo_tiny_cosmology) and also with my simulations. It gives the result if weight_field = None otherwise showing the same error. I tried with many weight fields even with the ENZO fields like "Density" instead of yt one "density".
May somebody can help in this regard. Thanks -Prateek
On Fri, Nov 2, 2018 at 7:39 AM firstname.lastname@example.org wrote:
Dear all: I need use the "project_light_core" in my work. If the key word "weight_field " = None, I can obtain my results. But I should set a weighted field, when I set weight_filed = 'density', I received a error like: I found that the 'density' can not be set to weight_field, I have no ideal about this. Traceback (most recent call last): File "./light_core_projection.py", line 37, in <module> njobs=1) File "/mnt/ddnfs/data_users/xllian/software/yt/yt/analysis_modules/cosmological_observation/light_cone/light_cone.py", line 343, in project_light_cone frb["weight_field"]), File "/mnt/ddnfs/data_users/xllian/software/yt/yt/visualization/fixed_resolution.py", line 134, in __getitem__ int(self.antialias)) File "/mnt/ddnfs/data_users/xllian/software/yt/yt/geometry/coordinates/cartesian_coordinates.py", line 158, in pixelize antialias, dimension, periodic) File "/mnt/ddnfs/data_users/xllian/software/yt/yt/geometry/coordinates/cartesian_coordinates.py", line 225, in _ortho_pixelize finfo = self.ds._get_field_info(field) File "/mnt/ddnfs/data_users/xllian/software/yt/yt/data_objects/static_output.py", line 773, in _get_field_info raise YTFieldNotFound((ftype, fname), self) yt.utilities.exceptions.YTFieldNotFound: Could not find field '('all', 'weight_field')' in RD0033. Thanks all _______________________________________________ yt-users mailing list -- email@example.com To unsubscribe send an email to firstname.lastname@example.org
yt-users mailing list -- email@example.com To unsubscribe send an email to firstname.lastname@example.org