Project

EarthSciAST

The EarthSciML Abstract Syntax Tree format: schema, operators, coupling, and five language bindings.

Contents

This is the documentation for the older version v0.15.1. For the latest release, see v0.17.0.

unsupported_mapping_error

Stable error · Flatten

Tier: stable · Kind: error · Topic: Flatten

JuliaTypeScriptPythonRustGo
UnsupportedMappingErrornot exportedUnsupportedMappingErrornot exportednot exported

Julia

struct UnsupportedMappingError <: FlattenError
UnsupportedMappingError(code::String, mapping_type::String)
UnsupportedMappingError(code, mapping_type)
UnsupportedMappingError(mapping_type)
UnsupportedMappingError

Raised when an Interface requests a dimension_mapping type or regridding strategy that is not supported by the current library tier (§4.7.6). The mapping_type field carries the offending type or strategy name (e.g. "slice", "project", "regrid", or a specific regridding method like "cubic_spline"). Matches the Rust FlattenError::UnsupportedMapping variant and the Python UnsupportedMappingError exception for cross-language error-name parity.

Source

TypeScript

TypeScript does not export this error.

Python

class UnsupportedMappingError(FlattenError)

A dimension-promotion mapping is not supported by this implementation tier.

Core-tier libraries (the Python tier) only implement broadcast and identity mappings; slice, project, and regrid raise this error — see spec §4.7.6.

Source

Rust

Rust does not export this error.

Go

Go does not export this error.