grids.core.GenericGrid.fill_values#

property GenericGrid.fill_values: Dict[str, float]#

Dictionary of default fill values for each axis.

The fill_values are used when evaluating coordinate-dependent functions with only a subset of axes specified. In such cases, any axes not explicitly provided are implicitly filled using the values defined in this dictionary. This allows consistent evaluation of expressions or coordinate mappings in reduced-dimensional contexts.

For example, when slicing or projecting a higher-dimensional field along a subset of axes, fill_values provide default values for the omitted dimensions.

By default, the fill_values are the lower corner of the bounding box.

Returns:

A copy of the internal fill values dictionary, where each key is an axis name and each value is the corresponding default fill value used in partial evaluations.

Return type:

dict of str, float