public bool Convert(GridData grid, double degPerCellX, double degPerCellY) { grid.CalculateResolution(degPerCellX, degPerCellY, out int countX, out int countY); return(Convert(grid, countX, countY)); }