Self-supervised Classification of Weather Systems Based on Spatiotemporal Contrastive Learning