Insert size 1 dimensions from the field’s domain into its data array in place.
All size 1 dimensions which are not already spanned by the field’s data array are inserted.
Returns : | None |
---|
Examples
>>> print f
Data : air_temperature(time, latitude, longitude)
Cell methods : time: mean
Dimensions : time(1) = [15] days since 1860-1-1
: latitude(73) = [-90, ..., 90] degrees_north
: longitude(96) = [0, ..., 356.25] degrees_east
: height(1) = [2] m
Auxiliary coords:
>>> f.unsqueeze()
>>> print f
Data : air_temperature(height, time, latitude, longitude)
Cell methods : time: mean
Dimensions : time(1) = [15] days since 1860-1-1
: latitude(73) = [-90, ..., 90] degrees_north
: longitude(96) = [0, ..., 356.25] degrees_east
: height(1) = [2] m
Auxiliary coords: