it extends from the san bernardino mountains in the west to the rockies in the east , and from the northern border of mexico in the south to the ice lands in the north ( at about the same latitude as sacramento , california ) .