atlas::field::FieldCreatorArraySpec class

Field creator using array::ArrayShape parametrisation.

FieldImpl* field = Field::create(
     Config
       ("creator","ArraySpec")                // ArraySpec FieldCreator
       ("shape",array::make_shape(100,3))     // Rank 2 field with indexing [100][3]
       ("datatype",array::DataType::real64()) // Field internal data type
     );

Base classes

class FieldCreator
Base class for creating new fields based on Parametrisation.

Constructors, destructors, conversion operators

FieldCreatorArraySpec()
FieldCreatorArraySpec(const eckit::Parametrisation&)

Public functions

auto createField(const eckit::Parametrisation&) const -> FieldImpl* virtual