set_stnids

set_stnids(gpt, ids)

Creates a new Geopoints with all the station id in gpt replaced by ids.

Parameters
  • gpt (Geopoints) – input geopoints

  • ids (list of str) – station ids to be written into gpt

Return type

Geopoints

If ids is shorter than the geopoints count then only the first values that have a corresponding value in ids are changed.

Warning

set_stnids() only works for Geopoints with ‘ncols’ type.