yt.fields.field_exceptions module

Field-related exceptions.

exception yt.fields.field_exceptions.FieldUnitsError[source]

Bases: Exception

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception yt.fields.field_exceptions.NeedsConfiguration(parameter, value)[source]

Bases: yt.fields.field_exceptions.ValidationException

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception yt.fields.field_exceptions.NeedsDataField(missing_fields)[source]

Bases: yt.fields.field_exceptions.ValidationException

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception yt.fields.field_exceptions.NeedsGridType(ghost_zones=0, fields=None)[source]

Bases: yt.fields.field_exceptions.ValidationException

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception yt.fields.field_exceptions.NeedsOriginalGrid[source]

Bases: yt.fields.field_exceptions.NeedsGridType

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception yt.fields.field_exceptions.NeedsParameter(missing_parameters)[source]

Bases: yt.fields.field_exceptions.ValidationException

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception yt.fields.field_exceptions.NeedsProperty(missing_properties)[source]

Bases: yt.fields.field_exceptions.ValidationException

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception yt.fields.field_exceptions.ValidationException[source]

Bases: Exception

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.