A system to provide early warnings of earthquakes such as the one that shook California¡¯s wine country this week is planned and ready to go, but two years after the scientific work finished, the funding is still being lined up.

California passed a law last year to start the system but did not appropriate the money needed to build it.

A system to cover California, Washington and Oregon would cost $38 million, according to the U.S. Geological Survey.