in3Utils.geoTrans.getMeshXY¶
- getMeshXY(rasterDict, cellSizeNew=None)[source]¶
Get x and y vectors for mesh with given number of rows and columns, lowerleftcenter and cellSize
- Parameters
rasterDict (dict) – ‘rasterData’ : 2D numpy array of data ‘header’: class with info on ncols, nrows, csz, xllcenter, yllcenter, noDataValue
- Returns
x, y (1D numpy arrays) – vector of x and y values for mesh center coordinates
xExtent, yExtent (float) – extent of mesh from first cell center to last cell center in x/y