<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Jiale,</p>
    <p>It seems the working directory is not <span
style="color: rgb(0, 0, 0); font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">properly
        set</span><span
style="color: rgb(0, 0, 0); font-family: Gilroy; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">.</span></p>
    <p>yt.load('sedov_forced_hdf5_plt_cnt_0000') ->
      yt.load('filedir/sedov_forced_hdf5_plt_cnt_0000')</p>
    <p>filedir is your data location.</p>
    <p>and I suggest running python with Jupyter notebook or
      spyder/pycharm, such IDE<br>
    </p>
    <p>Hope this help</p>
    <p>Best <br>
    </p>
    <p>Xu<br>
    </p>
    <div class="moz-cite-prefix">在 2024/3/1 11:07, 郑佳乐 写道:<br>
    </div>
    <blockquote type="cite"
cite="mid:4635537f.5756.18df7fae40d.Coremail.zhengjl1103@shu.edu.cn">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <style>p {margin:0 0 14px 0}.default-font-1709262432252 {font-size: 14px;font-family: 宋体, arial, Verdana, sans-serif}</style>
      <div class="default-font-1709262432252">Dear all:<br>
        <p> I tried several times loading hdf5 data in yt, but all
          failed. <span style="white-space:normal;">I am using </span><span
            style="white-space:normal;">linux ubuntu.</span> 
        </p>
        <p> Error is as follows:
        </p>
        <p> <strong>layoneu@layoneu:~$ python</strong><br>
        </p>
        <p> <strong>Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC
            11.4.0] on linux<br>
            Type "help", "copyright", "credits" or "license" for more
            information.<br>
            >>> import yt<br>
            >>> ds = yt.load('sedov_forced_hdf5_plt_cnt_0000')<br>
/home/layoneu/.local/lib/python3.10/site-packages/yt/sample_data/api.py:149:
            UserWarning: Storage directory from yt config doesn't exist
            (currently set to '/does/not/exist'). Current working
            directory will be used instead.<br>
              warn(<br>
            Traceback (most recent call last):<br>
              File "<stdin>", line 1, in <module><br>
              File
"/home/layoneu/.local/lib/python3.10/site-packages/yt/_maintenance/deprecation.py",
            line 69, in inner<br>
                return func(*args, **kwargs)<br>
              File
            "/home/layoneu/.local/lib/python3.10/site-packages/yt/loaders.py",
            line 111, in load<br>
                fn = str(lookup_on_disk_data(fn))<br>
              File
"/home/layoneu/.local/lib/python3.10/site-packages/yt/sample_data/api.py",
            line 186, in lookup_on_disk_data<br>
                raise FileNotFoundError(err_msg)<br>
            FileNotFoundError: No such file or directory:
            'sedov_forced_hdf5_plt_cnt_0000'.<br>
            >>> </strong>
        </p>
        I cannot fix this error due to inproficiency in FLASH use, any
        help would be highly appreciated!<br>
        Best regards<br>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
flash-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:flash-users@flash.rochester.edu">flash-users@flash.rochester.edu</a>

For list info, including unsubscribe:
<a class="moz-txt-link-freetext" href="https://flash.rochester.edu/mailman/listinfo/flash-users">https://flash.rochester.edu/mailman/listinfo/flash-users</a>
</pre>
    </blockquote>
  </body>
</html>