polaris.remap.MappingFileStep.dst_from_points

MappingFileStep.dst_from_points(filename, mesh_name, lon_var='lon', lat_var='lat')[source]

Set the destination grid from a file with a collection of points.

Parameters:
  • filename (str) – A file containing the latitude-longitude grid

  • mesh_name (str) – The name of the point collection

  • lon_var (str, optional) – The name of the longitude coordinate in the file

  • lat_var (str, optional) – The name of the latitude coordinate in the file