set_stnids
- set_stnids(gpt, ids)
Creates a new
Geopoints
with all the station id ingpt
replaced byids
.- Parameters
gpt (
Geopoints
) – input geopointsids (list of str) – station ids to be written into
gpt
- Return type
If
ids
is shorter than the geopoints count then only the first values that have a corresponding value inids
are changed.Warning
set_stnids()
only works forGeopoints
with ‘ncols’ type.