Spatial temperature correction with a vision transformer
Using a vision transformer to correct synthetic temperature maps at finer resolution.
What I did
I built a vision-transformer demo for spatial correction and downscaling.
Result: The code and demo page show the workflow and synthetic outputs.
Tools
- Python
- PyTorch
- Vision transformer
- Spatial downscaling
These synthetic temperature maps are not validated heatwave forecasts or tests on observed climate records.
Project gallery
Synthetic demonstration figures; these do not show field performance. 4 images. Select an image to view it full size.
Technical details
Independent portfolio demonstration
A coarse temperature grid cannot show the same spatial detail as a finer grid.
- Create synthetic temperature maps.
- Convert an 8×8 input grid to a 32×32 output grid.
- Inspect the corrected maps.



