Hi,
I got two more question about loading files. I don’t think I can find the answer on yt website, so here I am.
First thing is when I try to load in snapshot files (my data is a OWLS data), it always tells me some fields already exists. What is that meaning? it also tell s override it by setting force_override=True. What thing will I override? I put force_override=True to ds.load(), it doesn’t recognise it. So where should I put it?
P001 yt : [WARNING ] 2015-01-20 16:02:43,268 Field ('gas', 'C_density') already exists. To override use force_override=True.
P003 yt : [WARNING ] 2015-01-20 16:02:43,268 Field ('gas', 'Fe_number_density') already exists. To override use force_override=True.
P003 yt : [WARNING ] 2015-01-20 16:02:43,268 Field ('deposit', 'PartType0_smoothed_Fe_density') already exists. To override use force_override=True.
P001 yt : [WARNING ] 2015-01-20 16:02:43,268 Field ('deposit', 'PartType0_smoothed_C_mass') already exists. To override use force_override=True.
P001 yt : [WARNING ] 2015-01-20 16:02:43,269 Field ('gas', 'C_mass') already exists. To override use force_override=True.
P001 yt : [WARNING ] 2015-01-20 16:02:43,269 Field ('deposit', 'PartType0_smoothed_N_number_density') already exists. To override use force_override=True.
P003 yt : [WARNING ] 2015-01-20 16:02:43,270 Field ('gas', 'Fe_density') already exists. To override use force_override=True.
P003 yt : [WARNING ] 2015-01-20 16:02:43,270 Field ('deposit', 'PartType0_smoothed_Fe_mass') already exists. To override use force_override=True.
P001 yt : [WARNING ] 2015-01-20 16:02:43,270 Field ('gas', 'N_number_density') already exists. To override use force_override=True.
Ps. It’s not about parallel computation. When I run the script with one process, it also gives me those warnings.
Second thing is when I try to load subhalo files, it cannot load in PartTypeN data. ds.field_list and ds.derived_field_list don’t show those PartTypeN fields. I think those fields are added by the people who run the simulation, not from original OWLS data. So how to load in those fields?
Ps. Actually, I have question three again about the parallel computation, but I am eager to find out the answers to these two. So I post my question now :<
Thanks a lot!
Cheers,
Yuxiang