Pratiman Patel, 20 April 2022
2 min read.Let’s try to convert a GeoTIFF to WRF Pre-Processing System (WPS).
We will be using GIS4WRF
for conversion. For more information about the plugin, please refer to https://gis4wrf.github.io/documentation/.
GIS4WRF
dock from Plugins
> GIS4WRF
> GIS4WRF
in QGIS.Datasets
> Process
.Layers
Dock to be converted.Convert active layer to WPS binary
.Yes
else No
.Layer
> Add Layer
> Add WPS Binary Layer
This may happen to the float files. A work around is to convert the files to the 4 decimal place.
Raster
> Raster Calculator
to multiply the raster by 10,000.Raser
> Conversion
> Translate (Convert Format)
to change the raster Output data type
to UInt16
.index
in a text editor.Add following line in the last of the index
file:
scale_factor = 1e-04