Voilà. It is hacky as fuck! It also took me significantly less time to get it to this point than it would have to run through even one of the GEOROC precompiled files manually.
There is still a lot of (necessarily) manual work for me to do with actually getting useful information out, and there are A Lot of things I could plausibly do to improve this code -- including, for instance, setting myself up to deal with all the vast range of different fucking delimiters GEOROC uses -- but hey! I did the thing! and it took me one (1) day to get from "okay I've set up a file with some comments about the eventual structure" to "it more-or-less works"!
it is indeed python2.7 and i am not fixing that tonight.
There is still a lot of (necessarily) manual work for me to do with actually getting useful information out, and there are A Lot of things I could plausibly do to improve this code -- including, for instance, setting myself up to deal with all the vast range of different fucking delimiters GEOROC uses -- but hey! I did the thing! and it took me one (1) day to get from "okay I've set up a file with some comments about the eventual structure" to "it more-or-less works"!
it is indeed python2.7 and i am not fixing that tonight.
(no subject)
Date: 2021-12-16 11:29 pm (UTC)(no subject)
Date: 2021-12-17 04:15 am (UTC)(no subject)
Date: 2021-12-17 08:31 am (UTC):D <3
(no subject)
Date: 2021-12-16 11:35 pm (UTC)intereString. Alex. Alex.
Only one note for tonight: because you reassign cleanedRefs for every value of “filename in files”, I think refs-out.csv will only contain references for the last file you look at. That seems unlikely to be the intended behaviour?
(no subject)
Date: 2021-12-17 12:09 am (UTC)(annoyingly I kept trying to type it interestRing, which is less funny)
refs-out will indeed only contain references for last file I looked at; "unfucking the file names so they actually reflect the input file names" is on the list of things to do After I Have Slept...
(no subject)
Date: 2021-12-17 01:28 am (UTC)(no subject)
Date: 2021-12-17 03:35 pm (UTC)