Short answer is it depends. What is the format of the date-time data in your resulting CSV file? Is it straight date and time but in GMT, eg '24-Jan-2023 18:25' or does it have some sort of timezone indicator embedded eg '24-Jan-2023 18:25 GMT' or is an epoch timestamp eg '1674548700'? WeeWX does not recognise timezones but the python datetime calls used may support GMT. I will need to look at your data and the wee_import date-time parsing routines to see what is possible.
Gary On Thursday, 19 January 2023 at 08:41:35 UTC+10 Wayne wrote: > I am looking into the process for converting my Davis weather archive > files to be imported into weewx. If I'm not mistaken, Davis WeatherLink > stores the timestamps in local time in the .wlk files. Accordingly, the > application wlkReader creates a csv file also in the same local time > format. > > The import config file used by the utility wee-import provides an option > raw_datetime_format for defining the text date/time format in the csv input > file. Although I don't see it explicitly discussed in the Utilities Guide, > is there a format code which can be use in this option which applies a UTC > offset conversion to the supplied local time? If so can you give an example > of its usage? Otherwise the only other option I see is to manually convert > the times in the input csv files to UTC prior to importing. I'm sure I am > not the first user to encounter this issue! My thanks in advance. > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/15226f71-27a9-4444-a715-1d8fdc747e09n%40googlegroups.com.
