trying to remove obspy and map dependencies