yt.utilities.exceptions module

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: Exception

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: Exception

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTAmbiguousDataType(filename, candidates)[source]

Bases: YTUnidentifiedDataType

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTArrayTooLargeToDisplay(size, max_size)[source]

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTBooleanObjectsWrongDataset[source]

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

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: YTException

add_note()

Exception.add_note(note) – add a note to the exception

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: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTConfigurationError[source]

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTCoordinateNotImplemented[source]

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTFieldNotFound

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

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: YTException

add_note()

Exception.add_note(note) – add a note to the exception

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: YTException

add_note()

Exception.add_note(note) – add a note to the 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: YTException

add_note()

Exception.add_note(note) – add a note to the exception

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: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTException[source]

Bases: Exception

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

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: YTException

add_note()

Exception.add_note(note) – add a note to the exception

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: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTFileNotParseable(fname, line)[source]

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTHubRegisterError[source]

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTIllDefinedAMRData[source]

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the 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: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTIllDefinedParticleData[source]

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

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: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

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: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

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: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTModuleRemoved(name, new_home=None, info=None)[source]

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the 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: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTNoAnswerNameSpecified(message=None)[source]

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTNonIndexedDataContainer(cont)[source]

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTNotInsideNotebook[source]

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

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: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTParticleOutputFormatNotImplemented[source]

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTProfileDataShape(field1, shape1, field2, shape2)[source]

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the 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: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTSceneFieldNotFound[source]

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

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: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTTooParallel[source]

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTUnidentifiedDataType(filename, *args, **kwargs)[source]

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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

Bases: YTException

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception yt.utilities.exceptions.YTUnsupportedPlotCallback(callback: str, plot_type: str)[source]

Bases: YTPlotCallbackError

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

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