Issue #1010: Covering Grid fails on fields requiring ValidateSpatial (yt_analysis/yt)
New issue 1010: Covering Grid fails on fields requiring ValidateSpatial https://bitbucket.org/yt_analysis/yt/issue/1010/covering-grid-fails-on-field... J.S. Oishi: Attempting to access a field that requires derivatives in a Covering Grid gives the error below. I've attached a simple script that reproduces the problem with the MHDSloshing test dataset. It includes the field definitions. ``` #!python jj = data1['CurrentDensityMagnitude'] File "/home/oishij/build/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 325, in __getitem__ self.get_data(key) File "/home/oishij/build/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 3758, in get_data self._generate_field(field) File "/home/oishij/build/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 3789, in _generate_field self.pf.field_info[field].check_available(self) File "/home/oishij/build/yt-x86_64/src/yt-hg/yt/data_objects/field_info_container.py", line 356, in check_available validator(data) File "/home/oishij/build/yt-x86_64/src/yt-hg/yt/data_objects/field_info_container.py", line 486, in __call__ raise NeedsGridType(self.ghost_zones,self.fields) yt.data_objects.field_info_container.NeedsGridType: (1, ['Bx', 'By', 'Bz']) ``` Responsible: MatthewTurk _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
participants (1)
-
J.S. Oishi