On Thu, 14 Jan 2021 01:17:05 +0100 deloptes <deloptes@xxxxxxxxx> wrote: > J Leslie Turriff wrote: > > > Mapping to Canadian provinces wouldn't be too hard; where can I get the > > list of stations? Don't know about other countries; you'd have to ask > > people from those places for help. > > https://tgftp.nws.noaa.gov/data/nsd_cccc.txt > > https://mirror.git.trinitydesktop.org/gitea/TDE/tdetoys/src/branch/issue/9/kweather/kweather/data/nsd_cccc.txt > > $ grep Canada nsd_cccc.txt > > Can you create a simple mapping ( station_ID state_ID) and review the > state_ids below, please? > > [CA] > name=Canada > states=AB BC MB NB NF NS NT ON QC SK YK The list of provinces/territories is correct, but there are ~700 Canadian weather stations on the list, and some of them are going to be difficult to place. None of them use the "state" field, although some of them annotate the "city" field with a province. Some may have to be tracked down using the latitude and longitude given. For example: CYUY;--;---;Rouyn Airport;;Canada;4;48-12N;078-50W;;;301;; That's presumably a general aviation airport serving Rouyn-Noranda, QC, but I only know that because I've been through the town and was aware it was in close proximity to CYVO in Val D'Or, which allowed me to double-check the coordinates. There are several thousand people for whom CYUY is going to be their nearest weather station, though, so it doesn't seem right to leave it out. E. Liddell ____________________________________________________ tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx