This function is useful for validating station names and identifying any unmatched
or misspelled entries.
If try_synonyms = TRUE, unmatched station names are also compared
against the SYNONYM_NAMES column in the station database, splitting
multiple synonyms separated by <or>.
The function first checks if a station file path is provided via the
station_file argument. If not, it looks for the
NODC_CONFIG environment variable. This variable can point to a folder
where the NODC (Swedish National Oceanographic Data Center) configuration and station file
are stored, typically including:
If NODC_CONFIG is set and the folder exists, the function will use
station.txt from that location. Otherwise, it falls back to the
bundled station.zip included in the SHARK4R package.