diff --git a/MES_Wind/frmMain.cs b/MES_Wind/frmMain.cs index 3061656d036d9490b5373bb63676340d64a54f25..0188189b771132b563801c1d9064c9691ccf523c 100644 --- a/MES_Wind/frmMain.cs +++ b/MES_Wind/frmMain.cs @@ -132,7 +132,6 @@ namespace MES_Wind WindStressPRM.Matrix<WindStressPRM.PrognosticCell> prognosticMatrix = new WindStressPRM.Matrix<WindStressPRM.PrognosticCell>(); prognosticMatrix.Cells = new WindStressPRM.PrognosticCell[ccountPrognostic, rcountPrognostic]; prognosticMatrix.Size = new WindStressPRM.CellSize(uRasterLayer.DataSet.CellWidth, uRasterLayer.DataSet.CellHeight); - prognosticMatrix.AffineCoefficients = uRasterLayer.Bounds.AffineCoefficients; // fill cells of prognostic matrix for (int i = 0; i < rcountPrognostic; i++) { @@ -161,7 +160,6 @@ namespace MES_Wind WindStressPRM.Matrix<WindStressPRM.ClimateCell> climateMatrix = new WindStressPRM.Matrix<WindStressPRM.ClimateCell>(); climateMatrix.Cells = new WindStressPRM.ClimateCell[columnCountClim, rowCountClim]; climateMatrix.Size = new WindStressPRM.CellSize(clim5RasterLayer.DataSet.CellWidth, clim5RasterLayer.DataSet.CellHeight); - climateMatrix.AffineCoefficients = clim5RasterLayer.Bounds.AffineCoefficients; // fill cells of climate matrix for (int i = 0; i < rowCountClim; i++) { diff --git a/WindStressPRM/Utils/Matrix.cs b/WindStressPRM/Utils/Matrix.cs index 343ab9f8e5cd3b5bae916acb1da10133e6c38594..12fd947bf794373f5253f57a4d8a9b18cf0a6565 100644 --- a/WindStressPRM/Utils/Matrix.cs +++ b/WindStressPRM/Utils/Matrix.cs @@ -40,10 +40,6 @@ namespace WindStressPRM return new Index(iRow, iCol); } /// <summary> - /// AffineCoefficients for matrix from raster projection - /// </summary> - public double[] AffineCoefficients { get; set; } - /// <summary> /// Size of cell. In meters /// </summary> public CellSize Size { get; set; }