diff --git a/cfdm/read_write/netcdf/netcdfwrite.py b/cfdm/read_write/netcdf/netcdfwrite.py index 6be81cd75..515636df9 100644 --- a/cfdm/read_write/netcdf/netcdfwrite.py +++ b/cfdm/read_write/netcdf/netcdfwrite.py @@ -693,7 +693,8 @@ 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._nc_is_unlimited_axis(f, axis) +# unlimited = self.implementation.nc_is_unlimited_axis(f, axis) self._write_dimension(ncdim, f, axis, unlimited=unlimited) @@ -3547,9 +3548,7 @@ def _write_field_or_domain( ncdim = self._netcdf_name(ncdim) - unlimited = self.implementation.nc_is_unlimited_axis( - f, axis - ) + unlimited = self._nc_is_unlimited_axis(f, axis) self._write_dimension( ncdim, f, axis, unlimited=unlimited ) @@ -4116,14 +4115,14 @@ def _create_vertical_datum(self, ref, coord_key): g["grid_mapping_refs"].append(new_grid_mapping) - def _unlimited(self, field, axis): + def _nc_is_unlimited_axis(self, field, axis): """Whether an axis is unlimited. .. versionadded:: (cfdm) 1.7.0 :Parameters: - field: Field construct + field: `Field` or `Domain` axis: `str`