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.

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.

Image viewer

100%