ISSUE ACCESSING 'PARTICLE_AGE' AFTER THE COMMIT 2259
Hi, Following the commit (https://github.com/yt-project/yt/pull/2259), I am unable to access the field 'particle_age' which I was able to do before. The list of fields I currently have for my RAMSES data is:
('all', 'mesh_id')
('all', 'particle_angular_momentum')
('all', 'particle_angular_momentum_magnitude')
('all', 'particle_angular_momentum_x')
('all', 'particle_angular_momentum_y')
('all', 'particle_angular_momentum_z')
('all', 'particle_cylindrical_velocity_theta')
('all', 'particle_cylindrical_velocity_z')
('all', 'particle_extra_field_1')
('all', 'particle_extra_field_2')
('all', 'particle_extra_field_3')
('all', 'particle_extra_field_4')
('all', 'particle_extra_field_5')
('all', 'particle_identity')
('all', 'particle_index')
('all', 'particle_mass')
('all', 'particle_ones')
('all', 'particle_position')
('all', 'particle_position_cylindrical_radius')
('all', 'particle_position_cylindrical_theta')
('all', 'particle_position_cylindrical_z')
('all', 'particle_position_relative')
('all', 'particle_position_relative_x')
('all', 'particle_position_relative_y')
('all', 'particle_position_relative_z')
('all', 'particle_position_spherical_phi')
('all', 'particle_position_spherical_radius')
('all', 'particle_position_spherical_theta')
('all', 'particle_position_x')
('all', 'particle_position_y')
('all', 'particle_position_z')
('all', 'particle_radial_velocity')
('all', 'particle_radius')
('all', 'particle_refinement_level')
('all', 'particle_specific_angular_momentum')
('all', 'particle_specific_angular_momentum_x')
('all', 'particle_specific_angular_momentum_y')
('all', 'particle_specific_angular_momentum_z')
('all', 'particle_spherical_position_phi')
('all', 'particle_spherical_position_radius')
('all', 'particle_spherical_position_theta')
('all', 'particle_spherical_velocity_phi')
('all', 'particle_spherical_velocity_radius')
('all', 'particle_spherical_velocity_theta')
('all', 'particle_velocity')
('all', 'particle_velocity_cylindrical_radius')
('all', 'particle_velocity_cylindrical_theta')
('all', 'particle_velocity_cylindrical_z')
('all', 'particle_velocity_magnitude')
('all', 'particle_velocity_relative')
('all', 'particle_velocity_relative_x')
('all', 'particle_velocity_relative_y')
('all', 'particle_velocity_relative_z')
('all', 'particle_velocity_spherical_phi')
('all', 'particle_velocity_spherical_radius')
('all', 'particle_velocity_spherical_theta')
('all', 'particle_velocity_x')
('all', 'particle_velocity_y')
('all', 'particle_velocity_z')
('all', 'relative_particle_position')
('all', 'relative_particle_position_x')
('all', 'relative_particle_position_y')
('all', 'relative_particle_position_z')
('all', 'relative_particle_velocity')
('all', 'relative_particle_velocity_x')
('all', 'relative_particle_velocity_y')
('all', 'relative_particle_velocity_z')
I tried the 'extra_fields_x' but none of them match with the dimensions of time. Any help is appreciated and thanks.
Hi, Do the *values* in the "extra_fields" match? If so, what is likely happening is the fields are found, but unknown, and we need to specify the dimensions in the load. On Tue, May 14, 2019 at 7:38 AM Vadlamani Samhitha <vadlamani.samhitha@gmail.com> wrote:
Hi,
Following the commit (https://github.com/yt-project/yt/pull/2259), I am unable to access the field 'particle_age' which I was able to do before. The list of fields I currently have for my RAMSES data is:
('all', 'mesh_id')
('all', 'particle_angular_momentum')
('all', 'particle_angular_momentum_magnitude')
('all', 'particle_angular_momentum_x')
('all', 'particle_angular_momentum_y')
('all', 'particle_angular_momentum_z')
('all', 'particle_cylindrical_velocity_theta')
('all', 'particle_cylindrical_velocity_z')
('all', 'particle_extra_field_1')
('all', 'particle_extra_field_2')
('all', 'particle_extra_field_3')
('all', 'particle_extra_field_4')
('all', 'particle_extra_field_5')
('all', 'particle_identity')
('all', 'particle_index')
('all', 'particle_mass')
('all', 'particle_ones')
('all', 'particle_position')
('all', 'particle_position_cylindrical_radius')
('all', 'particle_position_cylindrical_theta')
('all', 'particle_position_cylindrical_z')
('all', 'particle_position_relative')
('all', 'particle_position_relative_x')
('all', 'particle_position_relative_y')
('all', 'particle_position_relative_z')
('all', 'particle_position_spherical_phi')
('all', 'particle_position_spherical_radius')
('all', 'particle_position_spherical_theta')
('all', 'particle_position_x')
('all', 'particle_position_y')
('all', 'particle_position_z')
('all', 'particle_radial_velocity')
('all', 'particle_radius')
('all', 'particle_refinement_level')
('all', 'particle_specific_angular_momentum')
('all', 'particle_specific_angular_momentum_x')
('all', 'particle_specific_angular_momentum_y')
('all', 'particle_specific_angular_momentum_z')
('all', 'particle_spherical_position_phi')
('all', 'particle_spherical_position_radius')
('all', 'particle_spherical_position_theta')
('all', 'particle_spherical_velocity_phi')
('all', 'particle_spherical_velocity_radius')
('all', 'particle_spherical_velocity_theta')
('all', 'particle_velocity')
('all', 'particle_velocity_cylindrical_radius')
('all', 'particle_velocity_cylindrical_theta')
('all', 'particle_velocity_cylindrical_z')
('all', 'particle_velocity_magnitude')
('all', 'particle_velocity_relative')
('all', 'particle_velocity_relative_x')
('all', 'particle_velocity_relative_y')
('all', 'particle_velocity_relative_z')
('all', 'particle_velocity_spherical_phi')
('all', 'particle_velocity_spherical_radius')
('all', 'particle_velocity_spherical_theta')
('all', 'particle_velocity_x')
('all', 'particle_velocity_y')
('all', 'particle_velocity_z')
('all', 'relative_particle_position')
('all', 'relative_particle_position_x')
('all', 'relative_particle_position_y')
('all', 'relative_particle_position_z')
('all', 'relative_particle_velocity')
('all', 'relative_particle_velocity_x')
('all', 'relative_particle_velocity_y')
('all', 'relative_particle_velocity_z')
I tried the 'extra_fields_x' but none of them match with the dimensions of time. Any help is appreciated and thanks. _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
I see. How do I check what units are these fields in since all of them are dimensionless? Is the default code units seconds? On Tue, 14 May 2019 at 5:40 PM, Matthew Turk <matthewturk@gmail.com> wrote:
Hi,
Do the *values* in the "extra_fields" match? If so, what is likely happening is the fields are found, but unknown, and we need to specify the dimensions in the load.
On Tue, May 14, 2019 at 7:38 AM Vadlamani Samhitha <vadlamani.samhitha@gmail.com> wrote:
Hi,
Following the commit (https://github.com/yt-project/yt/pull/2259), I am
unable to access the field 'particle_age' which I was able to do before. The list of fields I currently have for my RAMSES data is:
('all', 'mesh_id')
('all', 'particle_angular_momentum')
('all', 'particle_angular_momentum_magnitude')
('all', 'particle_angular_momentum_x')
('all', 'particle_angular_momentum_y')
('all', 'particle_angular_momentum_z')
('all', 'particle_cylindrical_velocity_theta')
('all', 'particle_cylindrical_velocity_z')
('all', 'particle_extra_field_1')
('all', 'particle_extra_field_2')
('all', 'particle_extra_field_3')
('all', 'particle_extra_field_4')
('all', 'particle_extra_field_5')
('all', 'particle_identity')
('all', 'particle_index')
('all', 'particle_mass')
('all', 'particle_ones')
('all', 'particle_position')
('all', 'particle_position_cylindrical_radius')
('all', 'particle_position_cylindrical_theta')
('all', 'particle_position_cylindrical_z')
('all', 'particle_position_relative')
('all', 'particle_position_relative_x')
('all', 'particle_position_relative_y')
('all', 'particle_position_relative_z')
('all', 'particle_position_spherical_phi')
('all', 'particle_position_spherical_radius')
('all', 'particle_position_spherical_theta')
('all', 'particle_position_x')
('all', 'particle_position_y')
('all', 'particle_position_z')
('all', 'particle_radial_velocity')
('all', 'particle_radius')
('all', 'particle_refinement_level')
('all', 'particle_specific_angular_momentum')
('all', 'particle_specific_angular_momentum_x')
('all', 'particle_specific_angular_momentum_y')
('all', 'particle_specific_angular_momentum_z')
('all', 'particle_spherical_position_phi')
('all', 'particle_spherical_position_radius')
('all', 'particle_spherical_position_theta')
('all', 'particle_spherical_velocity_phi')
('all', 'particle_spherical_velocity_radius')
('all', 'particle_spherical_velocity_theta')
('all', 'particle_velocity')
('all', 'particle_velocity_cylindrical_radius')
('all', 'particle_velocity_cylindrical_theta')
('all', 'particle_velocity_cylindrical_z')
('all', 'particle_velocity_magnitude')
('all', 'particle_velocity_relative')
('all', 'particle_velocity_relative_x')
('all', 'particle_velocity_relative_y')
('all', 'particle_velocity_relative_z')
('all', 'particle_velocity_spherical_phi')
('all', 'particle_velocity_spherical_radius')
('all', 'particle_velocity_spherical_theta')
('all', 'particle_velocity_x')
('all', 'particle_velocity_y')
('all', 'particle_velocity_z')
('all', 'relative_particle_position')
('all', 'relative_particle_position_x')
('all', 'relative_particle_position_y')
('all', 'relative_particle_position_z')
('all', 'relative_particle_velocity')
('all', 'relative_particle_velocity_x')
('all', 'relative_particle_velocity_y')
('all', 'relative_particle_velocity_z')
I tried the 'extra_fields_x' but none of them match with the dimensions of time. Any help is appreciated and thanks. _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
I'm not sure with RAMSES, and that might be a better question for Corentin, but if we can figure out which field corresponds to the age we can move on from there. On Tue, May 14, 2019 at 3:39 PM Vadlamani Samhitha <vadlamani.samhitha@gmail.com> wrote:
I see. How do I check what units are these fields in since all of them are dimensionless? Is the default code units seconds?
On Tue, 14 May 2019 at 5:40 PM, Matthew Turk <matthewturk@gmail.com> wrote:
Hi,
Do the *values* in the "extra_fields" match? If so, what is likely happening is the fields are found, but unknown, and we need to specify the dimensions in the load.
On Tue, May 14, 2019 at 7:38 AM Vadlamani Samhitha <vadlamani.samhitha@gmail.com> wrote:
Hi,
Following the commit (https://github.com/yt-project/yt/pull/2259), I am unable to access the field 'particle_age' which I was able to do before. The list of fields I currently have for my RAMSES data is:
('all', 'mesh_id')
('all', 'particle_angular_momentum')
('all', 'particle_angular_momentum_magnitude')
('all', 'particle_angular_momentum_x')
('all', 'particle_angular_momentum_y')
('all', 'particle_angular_momentum_z')
('all', 'particle_cylindrical_velocity_theta')
('all', 'particle_cylindrical_velocity_z')
('all', 'particle_extra_field_1')
('all', 'particle_extra_field_2')
('all', 'particle_extra_field_3')
('all', 'particle_extra_field_4')
('all', 'particle_extra_field_5')
('all', 'particle_identity')
('all', 'particle_index')
('all', 'particle_mass')
('all', 'particle_ones')
('all', 'particle_position')
('all', 'particle_position_cylindrical_radius')
('all', 'particle_position_cylindrical_theta')
('all', 'particle_position_cylindrical_z')
('all', 'particle_position_relative')
('all', 'particle_position_relative_x')
('all', 'particle_position_relative_y')
('all', 'particle_position_relative_z')
('all', 'particle_position_spherical_phi')
('all', 'particle_position_spherical_radius')
('all', 'particle_position_spherical_theta')
('all', 'particle_position_x')
('all', 'particle_position_y')
('all', 'particle_position_z')
('all', 'particle_radial_velocity')
('all', 'particle_radius')
('all', 'particle_refinement_level')
('all', 'particle_specific_angular_momentum')
('all', 'particle_specific_angular_momentum_x')
('all', 'particle_specific_angular_momentum_y')
('all', 'particle_specific_angular_momentum_z')
('all', 'particle_spherical_position_phi')
('all', 'particle_spherical_position_radius')
('all', 'particle_spherical_position_theta')
('all', 'particle_spherical_velocity_phi')
('all', 'particle_spherical_velocity_radius')
('all', 'particle_spherical_velocity_theta')
('all', 'particle_velocity')
('all', 'particle_velocity_cylindrical_radius')
('all', 'particle_velocity_cylindrical_theta')
('all', 'particle_velocity_cylindrical_z')
('all', 'particle_velocity_magnitude')
('all', 'particle_velocity_relative')
('all', 'particle_velocity_relative_x')
('all', 'particle_velocity_relative_y')
('all', 'particle_velocity_relative_z')
('all', 'particle_velocity_spherical_phi')
('all', 'particle_velocity_spherical_radius')
('all', 'particle_velocity_spherical_theta')
('all', 'particle_velocity_x')
('all', 'particle_velocity_y')
('all', 'particle_velocity_z')
('all', 'relative_particle_position')
('all', 'relative_particle_position_x')
('all', 'relative_particle_position_y')
('all', 'relative_particle_position_z')
('all', 'relative_particle_velocity')
('all', 'relative_particle_velocity_x')
('all', 'relative_particle_velocity_y')
('all', 'relative_particle_velocity_z')
I tried the 'extra_fields_x' but none of them match with the dimensions of time. Any help is appreciated and thanks. _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
I think it’s being read in RAMSES output format. I checked for a couple of outputs and matches with the extra_field_1 parameter. Although, a confirmation of this would be assuring. On Tue, 14 May 2019 at 10:41 PM, Matthew Turk <matthewturk@gmail.com> wrote:
I'm not sure with RAMSES, and that might be a better question for Corentin, but if we can figure out which field corresponds to the age we can move on from there.
On Tue, May 14, 2019 at 3:39 PM Vadlamani Samhitha <vadlamani.samhitha@gmail.com> wrote:
I see. How do I check what units are these fields in since all of them
are dimensionless? Is the default code units seconds?
On Tue, 14 May 2019 at 5:40 PM, Matthew Turk <matthewturk@gmail.com>
wrote:
Hi,
Do the *values* in the "extra_fields" match? If so, what is likely happening is the fields are found, but unknown, and we need to specify the dimensions in the load.
On Tue, May 14, 2019 at 7:38 AM Vadlamani Samhitha <vadlamani.samhitha@gmail.com> wrote:
Hi,
Following the commit (https://github.com/yt-project/yt/pull/2259), I
am unable to access the field 'particle_age' which I was able to do before. The list of fields I currently have for my RAMSES data is:
('all', 'mesh_id')
('all', 'particle_angular_momentum')
('all', 'particle_angular_momentum_magnitude')
('all', 'particle_angular_momentum_x')
('all', 'particle_angular_momentum_y')
('all', 'particle_angular_momentum_z')
('all', 'particle_cylindrical_velocity_theta')
('all', 'particle_cylindrical_velocity_z')
('all', 'particle_extra_field_1')
('all', 'particle_extra_field_2')
('all', 'particle_extra_field_3')
('all', 'particle_extra_field_4')
('all', 'particle_extra_field_5')
('all', 'particle_identity')
('all', 'particle_index')
('all', 'particle_mass')
('all', 'particle_ones')
('all', 'particle_position')
('all', 'particle_position_cylindrical_radius')
('all', 'particle_position_cylindrical_theta')
('all', 'particle_position_cylindrical_z')
('all', 'particle_position_relative')
('all', 'particle_position_relative_x')
('all', 'particle_position_relative_y')
('all', 'particle_position_relative_z')
('all', 'particle_position_spherical_phi')
('all', 'particle_position_spherical_radius')
('all', 'particle_position_spherical_theta')
('all', 'particle_position_x')
('all', 'particle_position_y')
('all', 'particle_position_z')
('all', 'particle_radial_velocity')
('all', 'particle_radius')
('all', 'particle_refinement_level')
('all', 'particle_specific_angular_momentum')
('all', 'particle_specific_angular_momentum_x')
('all', 'particle_specific_angular_momentum_y')
('all', 'particle_specific_angular_momentum_z')
('all', 'particle_spherical_position_phi')
('all', 'particle_spherical_position_radius')
('all', 'particle_spherical_position_theta')
('all', 'particle_spherical_velocity_phi')
('all', 'particle_spherical_velocity_radius')
('all', 'particle_spherical_velocity_theta')
('all', 'particle_velocity')
('all', 'particle_velocity_cylindrical_radius')
('all', 'particle_velocity_cylindrical_theta')
('all', 'particle_velocity_cylindrical_z')
('all', 'particle_velocity_magnitude')
('all', 'particle_velocity_relative')
('all', 'particle_velocity_relative_x')
('all', 'particle_velocity_relative_y')
('all', 'particle_velocity_relative_z')
('all', 'particle_velocity_spherical_phi')
('all', 'particle_velocity_spherical_radius')
('all', 'particle_velocity_spherical_theta')
('all', 'particle_velocity_x')
('all', 'particle_velocity_y')
('all', 'particle_velocity_z')
('all', 'relative_particle_position')
('all', 'relative_particle_position_x')
('all', 'relative_particle_position_y')
('all', 'relative_particle_position_z')
('all', 'relative_particle_velocity')
('all', 'relative_particle_velocity_x')
('all', 'relative_particle_velocity_y')
('all', 'relative_particle_velocity_z')
I tried the 'extra_fields_x' but none of them match with the dimensions of time. Any help is appreciated and thanks. _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
Hi, This is due to a backward incompatible change in the way yt handles "extra fields" (particle age, metallicity, ...). The new behavior is to teach yt which field is which at load time. This is documented here http://yt-project.org/doc/examining/loading_data.html#adding-custom-particle... but don't hesitate to ask questions If that's not clear. CC On 14 May 2019 22:40:18 CEST, Matthew Turk <matthewturk@gmail.com> wrote:
I'm not sure with RAMSES, and that might be a better question for Corentin, but if we can figure out which field corresponds to the age we can move on from there.
On Tue, May 14, 2019 at 3:39 PM Vadlamani Samhitha <vadlamani.samhitha@gmail.com> wrote:
I see. How do I check what units are these fields in since all of
them are dimensionless? Is the default code units seconds?
On Tue, 14 May 2019 at 5:40 PM, Matthew Turk <matthewturk@gmail.com>
wrote:
Hi,
Do the *values* in the "extra_fields" match? If so, what is likely happening is the fields are found, but unknown, and we need to
specify
the dimensions in the load.
On Tue, May 14, 2019 at 7:38 AM Vadlamani Samhitha <vadlamani.samhitha@gmail.com> wrote:
Hi,
Following the commit (https://github.com/yt-project/yt/pull/2259),
I am unable to access the field 'particle_age' which I was able to do before. The list of fields I currently have for my RAMSES data is:
('all', 'mesh_id')
('all', 'particle_angular_momentum')
('all', 'particle_angular_momentum_magnitude')
('all', 'particle_angular_momentum_x')
('all', 'particle_angular_momentum_y')
('all', 'particle_angular_momentum_z')
('all', 'particle_cylindrical_velocity_theta')
('all', 'particle_cylindrical_velocity_z')
('all', 'particle_extra_field_1')
('all', 'particle_extra_field_2')
('all', 'particle_extra_field_3')
('all', 'particle_extra_field_4')
('all', 'particle_extra_field_5')
('all', 'particle_identity')
('all', 'particle_index')
('all', 'particle_mass')
('all', 'particle_ones')
('all', 'particle_position')
('all', 'particle_position_cylindrical_radius')
('all', 'particle_position_cylindrical_theta')
('all', 'particle_position_cylindrical_z')
('all', 'particle_position_relative')
('all', 'particle_position_relative_x')
('all', 'particle_position_relative_y')
('all', 'particle_position_relative_z')
('all', 'particle_position_spherical_phi')
('all', 'particle_position_spherical_radius')
('all', 'particle_position_spherical_theta')
('all', 'particle_position_x')
('all', 'particle_position_y')
('all', 'particle_position_z')
('all', 'particle_radial_velocity')
('all', 'particle_radius')
('all', 'particle_refinement_level')
('all', 'particle_specific_angular_momentum')
('all', 'particle_specific_angular_momentum_x')
('all', 'particle_specific_angular_momentum_y')
('all', 'particle_specific_angular_momentum_z')
('all', 'particle_spherical_position_phi')
('all', 'particle_spherical_position_radius')
('all', 'particle_spherical_position_theta')
('all', 'particle_spherical_velocity_phi')
('all', 'particle_spherical_velocity_radius')
('all', 'particle_spherical_velocity_theta')
('all', 'particle_velocity')
('all', 'particle_velocity_cylindrical_radius')
('all', 'particle_velocity_cylindrical_theta')
('all', 'particle_velocity_cylindrical_z')
('all', 'particle_velocity_magnitude')
('all', 'particle_velocity_relative')
('all', 'particle_velocity_relative_x')
('all', 'particle_velocity_relative_y')
('all', 'particle_velocity_relative_z')
('all', 'particle_velocity_spherical_phi')
('all', 'particle_velocity_spherical_radius')
('all', 'particle_velocity_spherical_theta')
('all', 'particle_velocity_x')
('all', 'particle_velocity_y')
('all', 'particle_velocity_z')
('all', 'relative_particle_position')
('all', 'relative_particle_position_x')
('all', 'relative_particle_position_y')
('all', 'relative_particle_position_z')
('all', 'relative_particle_velocity')
('all', 'relative_particle_velocity_x')
('all', 'relative_particle_velocity_y')
('all', 'relative_particle_velocity_z')
I tried the 'extra_fields_x' but none of them match with the dimensions of time. Any help is appreciated and thanks. _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
participants (3)
-
Corentin Cadiou
-
Matthew Turk
-
Vadlamani Samhitha