[snap] remove endianess check
This commit is contained in:
@@ -399,6 +399,7 @@ class SnapshotProcessor(HDF5Container):
|
||||
self.num,
|
||||
order=self.params.pymses.order,
|
||||
verbose=self.params.pymses.verbose,
|
||||
check_endianness=False,
|
||||
)
|
||||
self._amr = self._ro.amr_source(self.params.pymses.variables)
|
||||
self._part = self._ro.particle_source(self.params.pymses.part_variables)
|
||||
@@ -1614,10 +1615,10 @@ class SnapshotProcessor(HDF5Container):
|
||||
"vy": "unit_velocity",
|
||||
"vz": "unit_velocity",
|
||||
"rot_period": "unit_time",
|
||||
"lx": {"unit_mass" : 1, "unit_length" : 2, "unit_time" : -1},
|
||||
"ly": {"unit_mass" : 1, "unit_length" : 2, "unit_time" : -1},
|
||||
"lz": {"unit_mass" : 1, "unit_length" : 2, "unit_time" : -1},
|
||||
"acc_rate": {"unit_mass" : 1, "unit_time" : -1},
|
||||
"lx": {"unit_mass": 1, "unit_length": 2, "unit_time": -1},
|
||||
"ly": {"unit_mass": 1, "unit_length": 2, "unit_time": -1},
|
||||
"lz": {"unit_mass": 1, "unit_length": 2, "unit_time": -1},
|
||||
"acc_rate": {"unit_mass": 1, "unit_time": -1},
|
||||
"acc_lum": U.none,
|
||||
"age": U.year,
|
||||
"int_lum": U.none,
|
||||
@@ -1627,8 +1628,8 @@ class SnapshotProcessor(HDF5Container):
|
||||
"tform": "unit_time",
|
||||
"del_mass": U.Msun,
|
||||
"rho_gas": "unit_density",
|
||||
"cs**2": {"unit_velocity" : 2},
|
||||
"etherm": {"unit_mass" : 1, "unit_velocity" : 2},
|
||||
"cs**2": {"unit_velocity": 2},
|
||||
"etherm": {"unit_mass": 1, "unit_velocity": 2},
|
||||
"vx_gas": "unit_velocity",
|
||||
"vy_gas": "unit_velocity",
|
||||
"vz_gas": "unit_velocity",
|
||||
|
||||
Reference in New Issue
Block a user