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
166 stars 36 forks source link

Error in visualize RAINC, RAINNC and QRAIN on GIS4WRF #137

Closed dhiegosales closed 5 years ago

dhiegosales commented 5 years ago

Describe the bug After simulation is possible to see some vaariables in the output, but the RAINC, RAINNC and QRAIN does not appear outputs. In the first moment I thought that there was no rain ion the simulation, but I oppened the wrfout on the ncview and I could see the rain. I mean, tehere are values of rain in the WRF output arquive, but the plugin can not open it.

To Reproduce Steps to reproduce the behavior:

  1. Run a simulation with rain datas or open a wrf output arquive with this data.
  2. Click on the simulation tab and choose "visualize output" (it will open the view tab)
  3. Go to RAINC, RAINNC or QRAIN
  4. Try to see the simulation for each variable.
  5. The dominium keep black (no values) since there are values in the wrf output.

Expected behavior After simulation is exoected that when I click on the RAINC the plugin should be able to read the values tha exist in the WRF output

Screenshots First image: the plugin is not able to open the RAINC data from output

01 RAINC - GIS4WRF

Second image: I opened the RAINC data from output on the linux dispribtion (ncview) 02 - RAINC - e-WRF

Operating System Information (please complete the following information):

Additional context

dmey commented 5 years ago

Thanks for the report --would you be able to share a file that show that issue?

dhiegosales commented 5 years ago

The arquive is 190mb. What is the best way to share it?

dmey commented 5 years ago

What is the size of the smallest domain output? We only need an output file with one or a few timestamps that shows this issue so that we don't have to run the case ourselves. If you don't have one already, can you just run the simulation to produce a couple of timestamps? You can directly attach the file by dragging and dropping it in this issue.

dhiegosales commented 5 years ago

10 minutes simulation.. five minutes steps.. I have tested and the same behave was observed. I can see the RAINC, RAINNC and QRAIN on the ncview in the ubuntu linux and I could not open the same variables on the GIS4WRF.

The arquive is zipped

wrfout_d01_2019-04-08_06_00_00.zip

dmey commented 5 years ago

I think this is just a visualisation issue. I was able to display the data:

image

Can you please try to recompute the histogram? Right click on the layer and click on Properties then

image

Let me know if this does the job, then we can see if/how to handle these cases better...

dhiegosales commented 5 years ago

I have tried it but I got the same behave

1) recalculing histogram

01 Recalculate

2) Additionally I have tried it. Configuration of minimum and maximum values.. as real..

02 Recalculate2

3) The some behave was observed. I have tried re-install the plugin as well.. But It continues...

03 Same behave
dmey commented 5 years ago

On 3.6.2 I was able to reproduce the issue you had with recomputing the histogram however I was able to set the max to 0.1 (remember to click apply) to make those pixels show up.

image

Can you try this first?

dmey commented 5 years ago

Closing as no response from user.

selamib commented 2 years ago

I have the same issue. I am using QGIS 3.14.16. Everything runs well but there are no rain outputs. Did someone find a way to show them up?

dhiegosales commented 2 years ago

Selamibe the problem was just the visualisation. In fact there was a values on each pixel but the Qgis was not showing me. In order to see the values you can check the histogram and identify the minimum and maximum values available in output file. Than you can set it up in the visualisation field in Qgis. Don't forget to set up colors in order to see correctly the outputs. But actually I don't used the Qgis to analyze datas. I exported the output file to R and in the Rstudio I created a program to see and analyze datas.

selamib commented 2 years ago

Okay I will try to solve it with Rstudio like you. Thank you

sakine3731 commented 1 year ago

Selamibe the problem was just the visualisation. In fact there was a values on each pixel but the Qgis was not showing me. In order to see the values you can check the histogram and identify the minimum and maximum values available in output file. Than you can set it up in the visualisation field in Qgis. Don't forget to set up colors in order to see correctly the outputs. But actually I don't used the Qgis to analyze datas. I exported the output file to R and in the Rstudio I created a program to see and analyze datas.

Hi I have the same issue. Unfortunately, I failed to visualize the RAINC map in Linux with ncview May you share the program code with me? thank you best regards [my email: sakine.koohi3731@gmail.com]