diff --git a/cfdm/read_write/netcdf/netcdfwrite.py b/cfdm/read_write/netcdf/netcdfwrite.py index 6be81cd75..c8c6503dc 100644 --- a/cfdm/read_write/netcdf/netcdfwrite.py +++ b/cfdm/read_write/netcdf/netcdfwrite.py @@ -693,8 +693,7 @@ def _write_dimension_coordinate(self, f, key, coord, ncdim, coordinates): ncdim = ncvar # Create a new dimension - unlimited = self.implementation.nc_is_unlimited_axis(f, axis) - + unlimited = self._unlimited(f, axis) self._write_dimension(ncdim, f, axis, unlimited=unlimited) ncdimensions = self._netcdf_dimensions(f, key, coord) @@ -3547,9 +3546,7 @@ def _write_field_or_domain( ncdim = self._netcdf_name(ncdim) - unlimited = self.implementation.nc_is_unlimited_axis( - f, axis - ) + unlimited = self._unlimited(f, axis) self._write_dimension( ncdim, f, axis, unlimited=unlimited ) @@ -4123,9 +4120,11 @@ def _unlimited(self, field, axis): :Parameters: - field: Field construct + field: `Field` or `Domain` axis: `str` + Domain axis construct identifier, + e.g. ``'domainaxis1'``. :Returns: