Jim Wagner
2016-08-26 04:58:10 UTC
Greetings, NUG -
I have a rather large set of data from a third party (US Forest Service and a major university). It is meteorological data taken at 30 minute intervals for a whole year and I have several of these to analyze. It is csv data and each record (line) begins with a year field (eg, 2015 - thats fine), a month field (eg, 1 to 12 - thats fine), then a day field which is the day number within the year (1 to 365 or 366 - thats NOT fine).
I am trying to turn this into a date object but the “Day of year” property of a date object is read-only.
I have to do this conversion for every line in the file, so execution time IS important.
Does anyone have a suggestion about how to handle this? ParseDate() does not seem helpful, here.
Many thanks
Jim
James Wagner
Oregon Research Electronics
https://sites.google.com/site/oregonresearchelectronics/home
_______________________________________________
Unsubscribe by sending a message to:
<nug-leave
I have a rather large set of data from a third party (US Forest Service and a major university). It is meteorological data taken at 30 minute intervals for a whole year and I have several of these to analyze. It is csv data and each record (line) begins with a year field (eg, 2015 - thats fine), a month field (eg, 1 to 12 - thats fine), then a day field which is the day number within the year (1 to 365 or 366 - thats NOT fine).
I am trying to turn this into a date object but the “Day of year” property of a date object is read-only.
I have to do this conversion for every line in the file, so execution time IS important.
Does anyone have a suggestion about how to handle this? ParseDate() does not seem helpful, here.
Many thanks
Jim
James Wagner
Oregon Research Electronics
https://sites.google.com/site/oregonresearchelectronics/home
_______________________________________________
Unsubscribe by sending a message to:
<nug-leave