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

WRD Domains (Grid) layers not visible #196

Closed ToninoTarsi closed 3 years ago

ToninoTarsi commented 3 years ago

After creating my domain I can not see the WRF Domains (Grid) layers. They are present in the TOC but with an exclamation mark that popups this message

`Python code needs to be executed, but it uses code from module 'gis4wrf.core', whereas the current policy is to trust only code from modules defined in the GDAL_VRT_PYTHON_TRUSTED_MODULES configuration option, which is currently unset. If you trust the code in '

PROJCS["unknown",GEOGCS["unknown",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["latitude_of_origin",43.05],PARAMETER["central_meridian",12.78],PARAMETER["standard_parallel_1",43.18],PARAMETER["standard_parallel_2",43.18],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH]] -6.4296748713728746e+04, 2.0000000000000000e+03, 0.0000000000000000e+00, 7.0002384019436446e+04, 0.0000000000000000e+00, -2.0000000000000000e+03 Python gis4wrf.core.gdal_checkerboard_pixelfunction

', you can add module 'gis4wrf.core' to GDAL_VRT_PYTHON_TRUSTED_MODULES (or set the GDAL_VRT_ENABLE_PYTHON configuration option to YES).`

Any hint to solve it. Thanks for this very useful tool. T.

ToninoTarsi commented 3 years ago

As the popup say I solved using :

set GDAL_VRT_ENABLE_PYTHON=YES qgis

Thanks