script to use the span selector with nwis data