Skip to content
Snippets Groups Projects
Commit 6b8148f7 authored by Антон Кудряшов's avatar Антон Кудряшов
Browse files

- removed affine Coefficients

parent 77df24fe
Branches
No related tags found
No related merge requests found
......@@ -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++)
{
......
......@@ -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; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment