yt.utilities.exceptions module

This is a library of yt-defined exceptions

exception yt.utilities.exceptions.EnzoTestOutputFileNonExistent(filename)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.InvalidSimulationTimeSeries(message)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.MissingParameter(ds, parameter)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.NoStoppingCondition(ds)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTAxesNotOrthogonalError(axes)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTBooleanObjectError(bad_object)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTBooleanObjectsWrongDataset[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTBoundsDefinitionError(message, bounds)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTCannotParseFieldDisplayName(field_name, display_name, mathtext_error)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTCannotParseUnitDisplayName(field_name, unit_name, mathtext_error)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTCloudError(path)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTCommandRequiresModule(module)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTCoordinateNotImplemented(message=None, ds=None)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTCouldNotGenerateField(fname, ds)[source]

Bases: yt.utilities.exceptions.YTFieldNotFound

args
with_traceback()

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

exception yt.utilities.exceptions.YTDataSelectorNotImplemented(class_name)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTDataTypeUnsupported(this, supported)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTDimensionalityError(wrong, right)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTDomainOverflow(mi, ma, dle, dre)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTDuplicateFieldInProfile(field, new_spec, old_spec)[source]

Bases: Exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTElementTypeNotRecognized(dim, num_nodes)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTEllipsoidOrdering(ds, A, B, C)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTEquivalentDimsError(old_units, new_units, base)[source]

Bases: yt.utilities.exceptions.YTUnitOperationError

args
with_traceback()

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

exception yt.utilities.exceptions.YTException(message=None, ds=None)[source]

Bases: Exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTFieldNotFound(fname, ds)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTFieldNotParseable(field)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTFieldTypeNotFound(ftype, ds=None)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTFieldUnitError(field_info, returned_units)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTFieldUnitParseError(field_info)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTGDFAlreadyExists(filename)[source]

Bases: Exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTGDFUnknownGeometry(geometry)[source]

Bases: Exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTGeometryNotSupported(geom)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTHubRegisterError(message=None, ds=None)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTIllDefinedAMR(level, axis)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTIllDefinedBounds(lb, ub)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTIllDefinedCutRegion(conditions)[source]

Bases: Exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTIllDefinedFilter(filter, s1, s2)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTIllDefinedParticleFilter(filter, missing)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTIllDefinedProfile(bin_fields, fields, weight_field, is_pfield)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTInconsistentGridFieldShape(shapes)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTInconsistentGridFieldShapeGridDims(shapes, grid_dims)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTInconsistentParticleFieldShape(ptype, shapes)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTIntDomainOverflow(dims, dd)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTInvalidFieldType(fields)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTInvalidPositionArray(shape, dimensions)[source]

Bases: Exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTInvalidShaderType(source)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTInvalidUnitEquivalence(equiv, unit1, unit2)[source]

Bases: Exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTInvalidWidthError(width)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTIterableUnitCoercionError(quantity_list)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTMixedCutRegion(conditions, field)[source]

Bases: Exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTNoAPIKey(service, config_name)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTNoDataInObjectError(obj)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTNoFilenamesMatchPattern(pattern)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTNoOldAnswer(path)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTNotInsideNotebook(message=None, ds=None)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTObjectNotImplemented(ds, obj_name)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTOutputNotIdentified(args, kwargs)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTParticleDepositionNotImplemented(class_name)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTPixelizeError(message)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTPlotCallbackError(callback, error)[source]

Bases: Exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTRockstarMultiMassNotSupported(mi, ma, ptype)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTSceneFieldNotFound(message=None, ds=None)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTSimulationNotIdentified(sim_type)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTSpatialFieldUnitError(field)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTSphereTooSmall(ds, radius, smallest_cell)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTTooManyVertices(nv, fn)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTTooParallel(message=None, ds=None)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTUfuncUnitError(ufunc, unit1, unit2)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTUnitConversionError(unit1, dimension1, unit2, dimension2)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTUnitNotRecognized(unit)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTUnitOperationError(operation, unit1, unit2=None)[source]

Bases: yt.utilities.exceptions.YTException, ValueError

args
with_traceback()

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

exception yt.utilities.exceptions.YTUnitsNotReducible(unit, units_base)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTUnknownUniformKind(kind)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

exception yt.utilities.exceptions.YTUnknownUniformSize(size_spec)[source]

Bases: yt.utilities.exceptions.YTException

args
with_traceback()

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

yt.utilities.exceptions.screen_one_element_list(lis)[source]