GIS4WRF / gis4wrf

QGIS toolkit 🧰 for pre- and post-processing 🔨, visualizing 🔍, and running simulations 💻 in the Weather Research and Forecasting (WRF) model 🌀
https://gis4wrf.github.io
MIT License
159 stars 36 forks source link

Fix nml editor non-string options #232

Closed letmaik closed 2 years ago

letmaik commented 2 years ago

This fixes a regression introduced in https://github.com/GIS4WRF/gis4wrf/pull/219 when switching from YAML to JSON for the NML schemas. YAML supports boolean and integer type keys in a map and the conversion to JSON made them strings. The PR parses the strings according to the (item)type of the variable. This fixes NML editor errors and info texts.