python script to extract a particular feature type instances for some time period