<div dir="ltr">Hi Everyone,<div><br></div><div style>I'm trying to load a 2D BoxLib file into yt. It looks like it is using the same code as the Orion frontend and it fails with the following error:</div><div style><br>
</div><div style><div>/home/mc/Downloads/yt/yt-x86_64/src/yt-hg/yt/data_objects/static_output.pyc in hierarchy(self)</div><div>    191                 raise RuntimeError("You should not instantiate StaticOutput.")</div>
<div>    192             self._instantiated_hierarchy = self._hierarchy_class(</div><div>--> 193                 self, data_style=self.data_style)</div><div>    194         return self._instantiated_hierarchy</div><div>
    195     h = hierarchy  # alias</div><div><br></div><div>/home/mc/Downloads/yt/yt-x86_64/src/yt-hg/yt/frontends/orion/data_structures.py in __init__(self, pf, data_style)</div><div>    119         self.data_style = data_style</div>
<div>    120 </div><div>--> 121         self.readGlobalHeader(header_filename,self.parameter_file.paranoid_read) # also sets up the grid objects</div><div>    122         self.__cache_endianness(self.levels[-1].grids[-1])</div>
<div>    123         AMRHierarchy.__init__(self,pf, self.data_style)</div><div><br></div><div>/home/mc/Downloads/yt/yt-x86_64/src/yt-hg/yt/frontends/orion/data_structures.py in readGlobalHeader(self, filename, paranoid_read)</div>
<div>    194         self.dimension = int(self.__global_header_lines[counter])</div><div>    195         if self.dimension != 3:</div><div><b>--> 196             raise RunTimeError("Orion must be in 3D to use yt.")</b></div>
<div>    197         counter += 1</div><div>    198         self.Time = float(self.__global_header_lines[counter])</div><div><br></div><div style>Has anyone managed to load 2D Orion files into yt?</div><div style><br></div>
<div style>Thanks,</div><div style>Mani</div></div></div>