[yt-users] Cylindrical VTK data
John ZuHone
jzuhone at gmail.com
Wed Jun 17 20:20:33 PDT 2015
Hi Elizabeth,
Sorry it's not working... I _thought_ that Athena cylindrical was working, but we're not testing it, so perhaps we broke it at some point.
Is there any chance that you can post the dataset somewhere so we can have a look at it, like Dropbox or Google drive? Send me private mail at jzuhone at gmail.com if you don't want everyone to have it.
I'm headed to sleep but I will try to have a look at it tomorrow.
Best,
John
John ZuHone
Kavli Center for Astrophysics and Space Research
Massachusetts Institute of Technology
77 Massachusetts Ave., 37-582G
Cambridge, MA 02139
(w) 617-253-2354
(m) 781-708-5004
jzuhone at space.mit.edu
jzuhone at gmail.com
http://www.jzuhone.com
> On Jun 17, 2015, at 10:58 PM, Elizabeth Tasker <tasker at astro1.sci.hokudai.ac.jp> wrote:
>
> Hi everyone,
>
> We have a file created with Fargo 3D that’s been exported to Athena VTK format. When we try and load this into yt 3.0, we hit the error:
>
>
> In [1]: ds = yt.load("gasdens1000.vtk")
> ---------------------------------------------------------------------------
> KeyError Traceback (most recent call last)
> /home/kanagawa/work/yt-x86_64/src/yt-hg/scripts/iyt in <module>()
> ----> 1 ds = yt.load("gasdens1000.vtk")
>
> /home/kanagawa/work/yt-x86_64/src/yt-hg/yt/convenience.pyc in load(*args, **kwargs)
> 78 if c._is_valid(*args, **kwargs): candidates.append(n)
> 79 if len(candidates) == 1:
> ---> 80 return output_type_registry[candidates[0]](*args, **kwargs)
> 81 if len(candidates) == 0:
> 82 if ytcfg.get("yt", "enzo_db") != '' \
>
> /home/kanagawa/work/yt-x86_64/src/yt-hg/yt/frontends/athena/data_structures.pyc in __init__(self, filename, dataset_type, storage_filename, parameters)
> 358 parameters = {}
> 359 self.specified_parameters = parameters
> --> 360 Dataset.__init__(self, filename, dataset_type)
> 361 self.filename = filename
> 362 if storage_filename is None:
>
> /home/kanagawa/work/yt-x86_64/src/yt-hg/yt/data_objects/static_output.pyc in __init__(self, filename, dataset_type, file_style)
> 178
> 179 self._create_unit_registry()
> --> 180 self._parse_parameter_file()
> 181 self.set_units()
> 182 self._setup_coordinate_handler()
>
> /home/kanagawa/work/yt-x86_64/src/yt-hg/yt/frontends/athena/data_structures.pyc in _parse_parameter_file(self)
> 409 line = self._handle.readline()
> 410
> --> 411 self.domain_left_edge = grid['left_edge']
> 412 mylog.info("Temporarily setting domain_right_edge = -domain_left_edge."+
> 413 " This will be corrected automatically if it is not the case.")
>
> KeyError: ‘left_edge'
>
>
>
> I’m guessing this is because the data set is in polar coordinates? Is that right? I’ve seen that yt can handle polars in FLASH but does it need to be explicitly FLASH data?
>
> Thanks very much,
>
> Elizabeth
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150617/fac68d16/attachment.html>
More information about the yt-users
mailing list