SpatialTransLog#

class caf.space.metadata.SpatialTransLog(*, zone_shapefile, lower_shapefile, date)[source]#

Bases: BaseConfig

Output log of a spatial translation.

Mainly used for the lower translations used in weighted translations.

Parameters:
  • zone_shapefile (Path to the primary zone shapefile used in the)

  • to. (this metadata corresponds)

  • lower_shapefile (Path to the lower shapefile used in the translation)

  • to.

  • date (The date this translation took place.)

Attributes

model_computed_fields

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_extra

Get extra fields set during validation.

model_fields

model_fields_set

Returns the set of fields that have been explicitly set on this model instance.

zone_shapefile

lower_shapefile

date

Methods

Attributes Documentation

model_computed_fields = {}#
model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_extra#

Get extra fields set during validation.

Returns:

A dictionary of extra fields, or None if config.extra is not set to “allow”.

model_fields = {'date': FieldInfo(annotation=datetime, required=True), 'lower_shapefile': FieldInfo(annotation=Path, required=True), 'zone_shapefile': FieldInfo(annotation=Path, required=True)}#
model_fields_set#

Returns the set of fields that have been explicitly set on this model instance.

Returns:
A set of strings representing the fields that have been set,

i.e. that were not filled from defaults.

zone_shapefile: Path[source]#
lower_shapefile: Path[source]#
date: datetime.datetime[source]#