cf.Field.finalize

Field.finalize(chunksize=None)

Finalize a newly created field.

It is essential that this is carried out on every new field to ensure that methods and functions of fields work correctly. Finalization entails:

  • Expanding scalar coordinate and cell measures to 1-d.
  • Setting the direction of the space’s dimensions.
  • Conforming the space’s internal dimension names.
  • Partitioning the data arrays for LAMA functionality.
Parameters :
chunksize : int, optional

Set the maximum size in bytes of sub-arrays for data storage and processing. By default the size used by the CHUNKSIZE function is used.

Returns :

None

Examples

>>> f.finalize()
>>> f.finalize(2**30)

Previous topic

cf.Field.getprop

Next topic

cf.Field.hasprop

This Page