pyremap.descriptor.LatLonGridDescriptor.to_scrip
- LatLonGridDescriptor.to_scrip(scrip_filename, expand_dist=None, expand_factor=None)[source]
Given a lat-lon grid file, create a SCRIP file based on the grid.
- Parameters:
scrip_filename (str) – The path to which the SCRIP file should be written
expand_dist (float or numpy.ndarray, optional) – A distance in meters to expand each grid cell outward from the center. If a
numpy.ndarray
, one value per cell.expand_factor (float or numpy.ndarray, optional) – A factor by which to expand each grid cell outward from the center. If a
numpy.ndarray
, one value per cell.