<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
{font-family:Menlo;
panose-1:2 11 6 9 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Aptos",sans-serif;
mso-ligatures:standardcontextual;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Aptos",sans-serif;
color:windowtext;}
p.p1, li.p1, div.p1
{mso-style-name:p1;
margin:0cm;
font-size:8.5pt;
font-family:Menlo;
color:black;}
p.p2, li.p2, div.p2
{mso-style-name:p2;
margin:0cm;
font-size:8.5pt;
font-family:Menlo;
color:black;}
span.s1
{mso-style-name:s1;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:11.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="en-MX" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt;mso-ligatures:none"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#212529;background:white">Hello
</span><span lang="ES" style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#212529;background:white">flash users</span><span style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#212529;background:white">!
</span><span lang="ES" style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#212529;background:white"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES" style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#212529;background:white"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#212529;background:white">I am using yt to analyze simulations performed with the latest version of FLASH4.7, and everything works fine. However, I
</span><span lang="EN-US" style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#212529;background:white">would like to check out some old files performed with FLASH2.5. I
</span><span style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#212529;background:white">am not able to load
</span><span lang="EN-US" style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#212529;background:white">these FLASH2.5 files with yt</span><span style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#212529;background:white">.
</span><span lang="EN-US" style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#212529;background:white">Below I am attaching the traceback with the error. Does anyone know what the problem might be? Thank you!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#212529;background:white"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#212529;background:white"><o:p> </o:p></span></p>
<p class="p1"><span class="s1">yt : [INFO </span><span class="apple-converted-space">
</span><span class="s1">] 2024-08-14 11:03:29,105 Particle file found: test_hdf5_chk_2396</span><o:p></o:p></p>
<p class="p2"><o:p> </o:p></p>
<p class="p2"><o:p> </o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">---------------------------------------------------------------------------</span><o:p></o:p></p>
<p class="p2"><o:p> </o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">TypeError
</span><span class="apple-converted-space"> </span>
<span class="s1">Traceback (most recent call last)</span><o:p></o:p></p>
<p class="p2"><o:p> </o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">Cell In[1], line 2</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">1 import yt</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">----> 2 ds=yt.load("/Users/novita/Desktop/test_hdf5_chk_2396")</span><o:p></o:p></p>
<p class="p2"><o:p> </o:p></p>
<p class="p2"><o:p> </o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">File ~/Library/Python/3.12/lib/python/site-packages/yt/_maintenance/deprecation.py:69, in future_positional_only.<locals>.outer.<locals>.inner(*args, **kwargs)</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">60
</span><span class="apple-converted-space"> </span><span class="s1">value = kwargs[name]</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">61
</span><span class="apple-converted-space"> </span><span class="s1">issue_deprecation_warning(</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">62
</span><span class="apple-converted-space"> </span><span class="s1">f"Using the {name!r} argument as keyword (on position {no}) "</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">63
</span><span class="apple-converted-space"> </span><span class="s1">"is deprecated. "</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">(...)</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">67
</span><span class="apple-converted-space"> </span><span class="s1">**depr_kwargs,</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">68
</span><span class="apple-converted-space"> </span><span class="s1">)</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">---> 69 return func(*args, **kwargs)</span><o:p></o:p></p>
<p class="p2"><o:p> </o:p></p>
<p class="p2"><o:p> </o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">File ~/Library/Python/3.12/lib/python/site-packages/yt/loaders.py:144, in load(fn, hint, *args, **kwargs)</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">136
</span><span class="apple-converted-space"> </span><span class="s1">if missing := cls._missing_load_requirements():</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">137
</span><span class="apple-converted-space"> </span><span class="s1">warnings.warn(</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">138
</span><span class="apple-converted-space"> </span><span class="s1">f"This dataset appears to be of type {cls.__name__}, "</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">139
</span><span class="apple-converted-space"> </span><span class="s1">"but the following requirements are currently missing: "</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">(...)</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">142
</span><span class="apple-converted-space"> </span><span class="s1">stacklevel=3,</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">143
</span><span class="apple-converted-space"> </span><span class="s1">)</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">--> 144
</span><span class="apple-converted-space"> </span><span class="s1">return cls(fn, *args, **kwargs)</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">146 if len(candidates) > 1:</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">147
</span><span class="apple-converted-space"> </span><span class="s1">raise YTAmbiguousDataType(_input_fn, candidates)</span><o:p></o:p></p>
<p class="p2"><o:p> </o:p></p>
<p class="p2"><o:p> </o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">File ~/Library/Python/3.12/lib/python/site-packages/yt/frontends/flash/data_structures.py:206, in FLASHDataset.__init__(self, filename, dataset_type, storage_filename, particle_filename,
units_override, unit_system, default_species_fields)</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">204 # Check if the particle file has the same time</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">205 if self._particle_handle != self._handle:</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">--> 206
</span><span class="apple-converted-space"> </span><span class="s1">part_time = self._particle_handle.handle.get("real scalars")[0][1]</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">207
</span><span class="apple-converted-space"> </span><span class="s1">plot_time = self._handle.handle.get("real scalars")[0][1]</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">208
</span><span class="apple-converted-space"> </span><span class="s1">if not np.isclose(part_time, plot_time):</span><o:p></o:p></p>
<p class="p2"><o:p> </o:p></p>
<p class="p2"><o:p> </o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">TypeError: 'NoneType' object is not subscriptable</span><span lang="ES"><o:p></o:p></span></p>
</div>
</body>
</html>