lavpizzo

Searching for Temporally Close Files

Discussion created by lavpizzo on Jun 15, 2012
Latest reply on Jun 26, 2012 by lavpizzo
Hello,

I am trying to search a directory external to the workspace (and its subdirectories), say "c:\root\subdir" for a shapefile that's middle 4-11 characters (representing a date YYYYMMDD) are closest (temporally - YYYYMMDD) to the first 8 characters (also representing a date YYYYMMDD) of another shapefile within the workspace. In the end, I would like to perform an intersection on these two shapefiles. I know how to perform the intersect in python, but I am unsure as to how to search for the two matching files.


Any help is greatly appreciated!

Outcomes