Closed agstephens closed 3 years ago
A new method of working back on the split would work, the files will always have :
Daily: <YYYY>-<MM>-<DD>-<observed_variable>-<value_significance>
Sub daily : <YYYY>-<MM>-<DD>-<HH:MM>-<observed_variable>-<value_significance>
MONTHLY : <YYYY>-<MM>-<observed_variable>-<value_significance>
Implemented a fix in: b7c21d1dc5d6d8ece7ed0e6a68de0fcb0abb9df0
My code splits on the hyphen, so you are right, I might need to rerun everything.
I currently do this:
primary_id, record_number = x['observation_id'].split('-')[:2]
So, I would convert this as follows:
What is the foolproof method of breaking it up?
Will that do the job?