pyremap.descriptor.ProjectionGridDescriptor.to_scrip
- ProjectionGridDescriptor.to_scrip(scrip_filename, expand_dist=None, expand_factor=None)[source]
Create a SCRIP file based on the grid and projection.
- 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.