diff --git a/nes/nc_projections/points_nes.py b/nes/nc_projections/points_nes.py index e7374c01ce3e133e1cb223c6332c29bd654b1d93..3c0769f47ccea9d481438d57e0d81dc48e1fc8c8 100644 --- a/nes/nc_projections/points_nes.py +++ b/nes/nc_projections/points_nes.py @@ -206,14 +206,6 @@ class PointsNes(Nes): lat.set_collective(True) lat[:] = self._lat['data'] - # LATITUDES BOUNDS - if self._lat_bnds is not None: - lat_bnds_var = netcdf.createVariable('lat_bnds', np.float64, self._var_dim + ('spatial_nv',), - zlib=self.zip_lvl, complevel=self.zip_lvl) - if self.size > 1: - lat_bnds_var.set_collective(True) - lat_bnds_var[:] = self._lat_bnds[:] - # LONGITUDES lon = netcdf.createVariable('lon', np.float64, self._lon_dim, zlib=self.zip_lvl > 0, complevel=self.zip_lvl) @@ -227,14 +219,6 @@ class PointsNes(Nes): lon.set_collective(True) lon[:] = self._lon['data'] - # LONGITUDES BOUNDS - if self._lon_bnds is not None: - lon_bnds_var = netcdf.createVariable('lon_bnds', np.float64, self._var_dim + ('spatial_nv',), - zlib=self.zip_lvl, complevel=self.zip_lvl) - if self.size > 1: - lon_bnds_var.set_collective(True) - lon_bnds_var[:] = self._lon_bnds[:] - return None def _get_coordinate_values(self, coordinate_info, coordinate_axis): diff --git a/nes/nc_projections/points_nes_ghost.py b/nes/nc_projections/points_nes_ghost.py index d5361ae2b3f79e019736ce2c45272b7fce082e26..4c66a0183e75c3176d599aa88e1d0cf09372c569 100644 --- a/nes/nc_projections/points_nes_ghost.py +++ b/nes/nc_projections/points_nes_ghost.py @@ -203,14 +203,6 @@ class PointsNesGHOST(PointsNes): lat.set_collective(True) lat[:] = self._lat['data'] - # LATITUDES BOUNDS - if self._lat_bnds is not None: - lat_bnds_var = netcdf.createVariable('lat_bnds', np.float64, self._var_dim + ('spatial_nv',), - zlib=self.zip_lvl, complevel=self.zip_lvl) - if self.size > 1: - lat_bnds_var.set_collective(True) - lat_bnds_var[:] = self._lat_bnds[:] - # LONGITUDES lon = netcdf.createVariable('longitude', np.float64, self._lon_dim, zlib=self.zip_lvl > 0, complevel=self.zip_lvl) @@ -224,14 +216,6 @@ class PointsNesGHOST(PointsNes): lon.set_collective(True) lon[:] = self._lon['data'] - # LONGITUDES BOUNDS - if self._lon_bnds is not None: - lon_bnds_var = netcdf.createVariable('lon_bnds', np.float64, self._var_dim + ('spatial_nv',), - zlib=self.zip_lvl, complevel=self.zip_lvl) - if self.size > 1: - lon_bnds_var.set_collective(True) - lon_bnds_var[:] = self._lon_bnds[:] - def erase_flags(self): first_time_idx = self.get_time_id(self.hours_start, first=True)