ILAMB.ilamblib.CellAreas¶
- ILAMB.ilamblib.CellAreas(lat, lon, lat_bnds=None, lon_bnds=None)[source]¶
Given arrays of latitude and longitude, return cell areas in square meters.
- Parameters
lat (numpy.ndarray) – a 1D array of latitudes which represent cell centroids
lon (numpy.ndarray) – a 1D array of longitudes which represent cell centroids
- Returns
areas – a 2D array of cell areas in [m2]
- Return type
numpy.ndarray